mount NFS export

PHOTO EMBED

Sun Aug 14 2022 12:26:26 GMT+0000 (Coordinated Universal Time)

Saved by @daredevil

#Create a mount point on the Centos machine to mount the mktg-export directory export on the cluster. Mount the export: Run the 
mount marketing:/gen-purpose /mnt/gen-purpose 

#You will use the NFS alias you created earlier (gen-purpose).Note:  If DNS were not configured, you can use an IP address that is in the marketing IP address pool configured on the cluster. Without using DNS and without using an NFS alias, the command may look like 
mount 192.168.3.33:/ifs/marketing/mktg-export /mnt/gen-purpose

#Verify the mount:
mount | grep marketing command.

#On the Centos SSH connection, run the whoami command to verify you are user root.
#Create an empty file named test by running the
touch /mnt/gen-purpose/test command.Run the

ls -l /mnt/gen-purpose #The user and group is not root as the root of the Centos client is squashed to user nfsnobody.Return to the cluster CLI, at the boston-1 prompt, run the
ls -l /ifs/marketing/mktg-export #and note that root is squashed as nobody.

#The root user of the Centos client is a trusted root for the cluster. Change the root squash for the client.
isi nfs exports list --zone marketing #get the export ID.
#Add root client:
isi nfs exports modify <ID> --zone marketing --root-clients 192.168.3.3 command. 
#Verify:
isi nfs exports view <ID> --zone marketing
#Replace the <ID> field with the export ID. Notice that 192.168.3.3 has been added as a root client. This is the Centos client where user root is trusted. 
content_copyCOPY