ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Verifying NFS Mounts
Considering NFS Mount Points (Mounted Mount Points I mean) the following file
displays the currently mounted NFS mounts or does it display what we get by executing:
Purpose / Problem: I want to check (by stating each mount point (NFS only) to verify if it is working/available or not). Since I have N number of servers where N number of mount points are found on "/" and I see them in the output of:
as well as of:
I want to prepare a list of such NFS mount points found on each server so that I can further verify them.
From my experience, only attempting to access an apparently mounted file or directory will reveal whether the mount is alive. This will usually result in a long delay while the connection times out, if the mount is not alive. I'm not aware of any other mechanism to determine the 'aliveness'.
So, I guess I misunderstood what you mean by 'available'. I took it to mean that the NFS connection is alive and communicating; ie the server is serving (since you specifially mention NFS mounts). I don't think the mountpoint command tells you anything about the health of the connection.