Creating NFS exports
To add an NFS export, use the mmnfs export add command.
- If the directory to be exported does not exist, create the directory by issuing the following
commands:
mmcrfileset fs01 fileset --inode-space=new
mmlinkfileset fs01 fileset -J /gpfs/fs01/fileset
For more information, see mmcrfileset command and mmlinkfileset command.Note: An independent fileset is recommended for NFS exports. - Adjust the ownership and permissions of the folder as required.
Use the GPFS ACLs with mmgetacl and mmputacl to set the correct ownership and the access permission.
Additional options can be set during the export creation. For more information about supported options, see mmnfs command.
- Create the NFS export by using the following
command:
mmnfs export add /gpfs/fs01/fileset -c "*(Access_Type=RW)"
Note: NFS service restarts after the first export creation. - To export the fileset fset_1 to specific set of hosts that fall in the 255.255.0.0 subnet, issue
the following
command:
mmnfs export add /gpfs/fs01/fset_1 --client "10.1.0.0/16(Access_Type=RW)"
- To export the fileset fset_2 to specific set of hosts that fall in the 255.255.255.0 subnet,
issue the following command:
mmnfs export add /gpfs/fs01/fset_2 --client "10.1.1.0/24(Access_Type=RW)"
Note:The directory can be exported with multiple client sections. The sequence of client definitions does matter and the first match determines the effective access.
For more information about client definitions and how to order them, see the mmnfs command
GUI navigation
To work with this function in the GUI, log on to the IBM Storage Scale GUI and select .