From owner-freebsd-questions@FreeBSD.ORG Mon May 23 14:50:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E067216A41C for ; Mon, 23 May 2005 14:50:14 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (mail.goinet.com [208.207.72.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF4F43D48 for ; Mon, 23 May 2005 14:50:14 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (localhost.goinet.com [127.0.0.1]) by mail.goinet.com (8.13.1/8.13.1) with ESMTP id j4NEo8xW076708; Mon, 23 May 2005 09:50:08 -0500 (CDT) (envelope-from tshadwick@goinet.com) Received: from localhost (tshadwick@localhost) by mail.goinet.com (8.13.1/8.13.1/Submit) with ESMTP id j4NEo4Nf076687; Mon, 23 May 2005 09:50:06 -0500 (CDT) (envelope-from tshadwick@goinet.com) X-Authentication-Warning: mail.goinet.com: tshadwick owned process doing -bs Date: Mon, 23 May 2005 09:50:04 -0500 (CDT) From: Tony Shadwick To: Grant Peel In-Reply-To: <000701c55f34$d08c2230$6601a8c0@GRANT> Message-ID: <20050523094900.R47072@mail.goinet.com> References: <000701c55f34$d08c2230$6601a8c0@GRANT> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mail.goinet.com X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: nfs check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 14:50:15 -0000 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" >