How to check if mounted trough nfs server is down

Sergei Giritch sergei at fleetchek.com
Mon Jun 21 00:02:19 UTC 2004


Thanks a lot Jyce!

I'll make use of it.


Best Regards,

Sergei Giritch

Web System Administrator

Fleetchek.com

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Jyce
Sent: Sunday, June 20, 2004 9:56 AM
To: General Red Hat Linux discussion list
Subject: Re: How to check if mounted trough nfs server is down

ping -c 2 IP
[$? -ne 0] && exit 1
do what you want....


> Hello Everybody!
> 
>  
> 
> How to check if mounted through NFS server is freezes or down.
> 
> Server mounted to backup directory
> 
> When I'm trying to list files on the mounted server process dives me an
> error after few minutes.
> 
> These few minutes are not acceptable for me. Is there any way to check
> quickly if server is down?
> 
> ls /mnt/backup
> 
> ls: /mnt/backup/: Input/output error
> 
>  
> 
> Best Regards,
> 
> Sergei Giritch
> 
> Web System Administrator
> 
> Fleetchek.com
> 
>  
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list