Adding and removing NFS storage
Add external NFS storage to Integrated Analytics System.
Before you begin
About this task
Adding NFS storage
To add NFS, you need to log in to
node0101 from the command prompt.
Note:
- The NFS server that you provide must allow the IAS access. If you choose
Selection 1, ensure that your system is on theAuthorizedClientslist. - You can specify your custom mount point using the last available selection after the auto-detected mounts. However, it is recommended to enable showmount as there is no guarantee that the custom mounts will work.
storage_setup -e nfs
See /var/log/appliance/platform/xcat/setup_storage.log to watch its progress.
Please enter name or IP addr of nfs server you wish to add:
Server:cs-nfs.svl.ibm.com
Selection Path AuthorizedClients
[1]:/mnt/V0/sailfish 9.70.207.52,9.70.207.51,9.70.207.50
[2]:/mnt/V0/cs-mount1 (everyone)
[3]:/mnt/V0/cs-mount2 (everyone)
[4]:/mnt/V0/cs-mount3 (everyone)
[5]:/mnt/V0/cs-mount4 (everyone)
[6]:/mnt/V0/releases (everyone)
[7]:<Enter custom directory>
Please enter the number associated with the path to the share you wish to add:
Selection:1
/mnt/V0/sailfish
Adding share to fstab...
Please enter a shortname for this share.
Shortname:nfsShare1
Unique Name provided
Writing to fstab on all nodes
Done
Setting folder+permission structure for external storage...
Done
Preparing to mount nfs on all nodes...
Done
Performing actual mount operation...
Done
Setup complete, If there is no more storage to manage, issue apstop and then apstart to refresh storage to the container....Note: If
you choose to include a custom directory, make sure to add "/ " to the end of the file name. For
example,
/path/to/directory/ .Removing NFS storage
To remove
NFS, you need to log in to node0101 from the command prompt.
When logged in, type the command:
storage_setup -d nfs
See /var/log/appliance/platform/xcat/setup_storage.log to watch its progress.
Validating system is stopped before storage shared with container can be removed...
Done
Selecting share to remove ...
List of current nfs shares added to fstab:
[1]:/opt/ibm/appliance/storage/head/platform/external_mnt/NFS/nfsShare1
Please enter the number associated with the path to the share you wish to remove:
Selection:1
/opt/ibm/appliance/storage/head/platform/external_mnt/NFS/nfsShare1
Done
Unmounting NFS on node...
Removing share from fstab...
Done
Removal complete. If done managing storage, start the system software by running apstart....