- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to check NFS mount connectivity?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:37 AM
03-20-2006 08:37 AM
How to check NFS mount connectivity?
I have NFS mount point connecting to the NFS server. I noticed that such NFS link is not stable enough for production usage, I would like to write a cron job to monitor the connectivity of such NFS mount point.
How to check it? What kind of command is good for this verification?
And if the NFS connection is broken, how to set the "Timeout", because it may hang the process. For example, if the NFS link is dead, and I use "bdf" or "ll" command, it will hang that session.
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 08:52 AM
03-20-2006 08:52 AM
Re: How to check NFS mount connectivity?
Invoke as timeoutcmd.pl -u for usage but here's a quick example:
#!/usr/bin/sh
typeset -i STAT=0
timeoutcmd.pl -t 30 df -F nfs /xxx/yyy
STAT=${?}
if [[ ${STAT} -ne 0 ]]
then
echo "Df failed; status ${STAT}."
fi
This executes df -F nfs /xxx/yyy with a timeout of 30 seconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 09:04 AM
03-20-2006 09:04 AM
Re: How to check NFS mount connectivity?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 09:16 AM
03-20-2006 09:16 AM
Re: How to check NFS mount connectivity?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 09:22 AM
03-20-2006 09:22 AM