Creating SMB share
Use the following information to create an SMB share:
- Create the directory to be exported through SMB:
mmcrfileset fs01 fileset --inode-space=new mmlinkfileset fs01 fileset -J /gpfs/fs01/fileset mkdir /gpfs/fs01/fileset/smb
Note: IBM® recommends an independent fileset for SMB shares.Create a new independent fileset with these commands:mmcrfileset fs01 fileset --inode-space=new mmlinkfileset fs01 fileset -J /gpfs/fs01/fileset
If the directory to be exported does not exist, create the directory first by running the following command:mkdir /gpfs/fs01/fileset/smb"
- The recommended approach for managing access to the SMB share
is to manage the ACLs from a Windows client
machine. To change the ACLs from a Windows client,
change the owner of the share folder to a user ID that will be used
to make the ACL changes by running the following command:
chown 'DOMAIN\smbadmin' /gpfs/fs01/fileset/smb
- Create the actual SMB share on the existing directory:
mmsmb export add smbexport /gpfs/fs01/fileset/smb
Additional options can be set during share creation. For a list of all the supported SMB options, see the mmsmb command.
- Verify that the share has been created:
mmsmb export list
- Access the share from a Windows client using the user ID that has been previously made the owner of the folder.
- Right-click the folder in the Windows Explorer,
open the Security tab, click Advanced, and modify the
Access Control List as required.Note: An SMB share can only be created when the ACL setting of the underlying file system is -k nfsv4. In all other cases, mmsmb export create will fail with an error.
See Authorizing protocol users for details and limitations.
GUI navigation
To work with this function in the GUI, log on to the IBM Spectrum Scale GUI and select .