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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.