Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 09:50:04 -0500 (CDT)
From:      Tony Shadwick <tshadwick@goinet.com>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: nfs check
Message-ID:  <20050523094900.R47072@mail.goinet.com>
In-Reply-To: <000701c55f34$d08c2230$6601a8c0@GRANT>
References:  <000701c55f34$d08c2230$6601a8c0@GRANT>

next in thread | previous in thread | raw e-mail | index | archive | help
When it goes stale, what is your output from df?

If it's accurate (ie, missing, or somehow displays that the mount has 
otherwise gone stale), then a quick shell script grepping for that info in 
a conditional loop should do the trick.

Been a while since I've had any issues with NFS though.

Tony

On Sun, 22 May 2005, Grant Peel wrote:

> Hi all,
>
> I have a number of boxes that backup data to an nfs mount.
>
> A few times in the recent past, I have had the mount go stale for various 
> reasons which caused problems with the dumps.
>
> Does anyone have access to to (what I assume would be) a few lines of code 
> that would check to see if the the needed file system IS indeed mounted 
> before attemping the dump?
>
> -Grant
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050523094900.R47072>