Operating System - HP-UX
1834155 Members
3081 Online
110064 Solutions
New Discussion

Re: problem with nfs mount

 
SOLVED
Go to solution
eran maor
Honored Contributor

problem with nfs mount

Seems that the 'mount -p' on HP-UX 11.0, with NFSv3 mounted disks, produce
invalid results, i.e. - it adds the string ",NFSv3" which is invalid:

itsth104 [614]#umount /mnt
itsth104 [615]#mount infs001:/disk01/sysmgr /mnt
itsth104 [616]# mount -p | grep nfs >> /etc/fstab
itsth104 [617]#umount /mnt
itsth104 [618]#mount /mnt
nfs mount: illegal file system specific option: NFSv3

usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
itsth104 [619]#grep nfs /etc/fstab
iln001:/usr/sysmgr /usr/sysmgr nfs
defaults 0 0
iln001:/usr/common /usr/common nfs
defaults 0 0
iln001:/usr/sysmgr /usr/sysmgr nfs defaults 0 0
iln001:/usr/common /usr/common nfs defaults 0 0
infs001:/disk01/sysmgr /mnt nfs defaults,NFSv3 0 0
itsth104 [620]#sed 's/,NFSv3//' /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol4 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol3 ... swap defaults 0 0
/dev/vg00/lvol5 /afs_cache hfs defaults 0 2
/dev/vg00/lvol6 /home vxfs delaylog 0 2
/dev/vg00/lvol7 /netbatch vxfs delaylog 0 2
/dev/vg00/lvol8 /opt vxfs delaylog 0 2
/dev/vg00/lvol9 /tmp vxfs delaylog 0 2
/dev/vg00/lvol10 /usr vxfs delaylog 0 2
/dev/vg00/lvol11 /var vxfs delaylog 0 2
iln001:/usr/sysmgr /usr/sysmgr nfs
defaults 0 0
iln001:/usr/common /usr/common nfs
defaults 0 0
/dev/vg01/lvol1 /ignite_area vxfs rw,suid,largefiles,delaylog,datainlog 0 2
iln001:/usr/sysmgr /usr/sysmgr nfs defaults 0 0
iln001:/usr/common /usr/common nfs defaults 0 0
infs001:/disk01/sysmgr /mnt nfs defaults 0 0
itsth104 [621]#grep nfs /etc/fstab
iln001:/usr/sysmgr /usr/sysmgr nfs
defaults 0 0
iln001:/usr/common /usr/common nfs
defaults 0 0
iln001:/usr/sysmgr /usr/sysmgr nfs defaults 0 0
iln001:/usr/common /usr/common nfs defaults 0 0
infs001:/disk01/sysmgr /mnt nfs defaults,NFSv3 0 0
itsth104 [622]#sed 's/,NFSv3//' /etc/fstab > /tmp/fstab
itsth104 [623]#cp -f /tmp/fstab /etc/fstab
itsth104 [624]#grep nfs /etc/fstab
iln001:/usr/sysmgr /usr/sysmgr nfs
defaults 0 0
love computers
1 REPLY 1
Brian Hackley
Honored Contributor
Solution

Re: problem with nfs mount

Eran,

This is a known bug recently reported to HP, which is Service Request #8606194648 Change Reqest #JAGad63856, reported against 11.0 and 11i. The workaround for now, is to edit the /etc/fstab as you noted.

Regards,
-> Brian Hackley

Ask me about telecommuting!