Operating System - HP-UX
1834143 Members
2295 Online
110064 Solutions
New Discussion

Re: verify nfs client mounts

 
Richard Pereira_1
Regular Advisor

verify nfs client mounts

Hi,

I need some basic ways to see if my nfs client is mounting its network mounts, is there a cmd line way to have it display the network mounts? like a showmount for the client end?

Thanks in adv,
Richard
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: verify nfs client mounts

df -F nfs

or

bdf -t nfs
If it ain't broke, I can fix that.
Rick Garland
Honored Contributor

Re: verify nfs client mounts

Using a bdf with no options will also show the NFS mounts. It will be in the list with all the other local mounts.

It would be fairly easy to decipher which is a NFS mount and which are local mounts.
Florian Heigl (new acc)
Honored Contributor

Re: verify nfs client mounts

mount -p | grep -i nfs | awk '{print $1}' should get You the nicest output (can be easily diffed against /etc/fstab), also it won't hang on stale mounts as bdf would.
yesterday I stood at the edge. Today I'm one step ahead.
Jim Keeble
Trusted Contributor

Re: verify nfs client mounts

nfsstat -m shows all the details regarding the client mounts, may be overkill for what you want.
Bill Hassell
Honored Contributor

Re: verify nfs client mounts

mount -v | grep "type nfs" will show the mounts as 1-liners. But it is important to note that once an NFS mountpoint goes stale (server problems, network problems, etc), bdf and df will hang and user logins will also hang. nfsstat should be used to find network problems and solve them immediately before the NFS mounts hang.


Bill Hassell, sysadmin