ChrisFranklin2

updated

9 years ago

0

1090

April 3rd, 2017 01:00

Mounting NFS4 with shortname

Hi,

So trying to get NFSv4 export mounted on a customers Linux client but having no luck as such in terms of how the customer wishes to mount the export.

VNX config:

server_export Customer_VDM -P nfs -name ncdv -option nfsv4only /nonprod/ncdv

[user@VNX044-CS0 ~]$ server_export Customer_VDM

Customer_VDM :

export "/nonprod/ncdv" name="/ncdv" nfsv4only

The directory structure has a mountpoint called nonprod mounted on a filesystem of the same name.  No export for the root.

We create a mountpoint called ncdv as per the above and export it assuming the customer can mount it as /ncdv as we set the name.

[root@chrisnfs mnt]# showmount -e 100.64.17.193

Export list for 100.64.17.193:

/nonprod/ncdv (everyone)

/ncdv         (everyone)

When we use nfsv3 we can specify mount vnx:/ncdv /mnt/nfs or mount vnx:/nonprod/ncdv /mnt/nfs and both work.

When we use nfsv4 we can only mount using vnx:/nonprod/ncdv as it gives an error stating the file or directory doesn't existing when specifying mount vnx:/ncdv

Any ideas on what i need to do either on the client or vnx side?