1833804 Members
2613 Online
110063 Solutions
New Discussion

NFS version

 
SOLVED
Go to solution
Camel_1
Valued Contributor

NFS version

Hi there,

How can I force the nfs client to mount the FS in ver 3. I found some file system are mounted on ver 2 and some are mounted ver 3, even thought they are exported from the same server.

Thanks,

Simon
5 REPLIES 5
Bernhard Mueller
Honored Contributor

Re: NFS version

Simon

if your clients are on HP-UX 11.x you can use to option "vers=3" for the nfs mount.

see man mount_nfs

on other client OSs you would need to check the appropriate man page or similar.

Regards,
Bernhard
Steven E. Protter
Exalted Contributor

Re: NFS version

This thread may contain the answer.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=93726

If you force the NFS version as this user tried, take not of the fact that V2 may be requird for certain mounts.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeff Schussele
Honored Contributor

Re: NFS version

Hi Simon,

Use

mount -F nfs -o vers=3 hostname:/path/to/dir /mnt_point

You should also make sure the server is not "forcing" a version 2 export as it will override the client request. Also some servers may not support ver 3 - especially if they're old & not up to date on patches.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Camel_1
Valued Contributor

Re: NFS version

thanks guys ...

forgot to mention before, those NFS are mounted during the HA package start, not automount, how can I force them to mount on ver 3.

Thanks again.

Simon
Sanjay_6
Honored Contributor
Solution

Re: NFS version

Hi simon,

Even if the filesystems are mounted using a HA package, you are still using the mount command to mount the filesystem if it is defined in Customer_defined_run_cmds. If it is so, you can use -o vers=3 with the mount command to mount the filesystem using ver 3.

Hope this helps.

Regds