From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 17:50:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915A616A417 for ; Thu, 6 Dec 2007 17:50:58 +0000 (UTC) (envelope-from rramsdell@livedatagroup.com) Received: from mail1.livedatagroup.com (mail1.livedatagroup.com [216.154.205.166]) by mx1.freebsd.org (Postfix) with ESMTP id 5497813C442 for ; Thu, 6 Dec 2007 17:50:58 +0000 (UTC) (envelope-from rramsdell@livedatagroup.com) Received: from localhost (localhost [127.0.0.1]) by mail1.livedatagroup.com (Postfix) with ESMTP id 4ED63102DBC for ; Thu, 6 Dec 2007 12:50:57 -0500 (EST) Received: from mail1.livedatagroup.com ([192.168.3.224]) by localhost (mail1.livedatagroup.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18371-07 for ; Thu, 6 Dec 2007 12:50:56 -0500 (EST) Received: from [192.168.2.132] (gw.livedatagroup.com [205.242.255.66]) by mail1.livedatagroup.com (Postfix) with ESMTP id 92DB4102D41 for ; Thu, 6 Dec 2007 12:50:56 -0500 (EST) Message-ID: <4758367F.8090402@livedatagroup.com> Date: Thu, 06 Dec 2007 12:50:55 -0500 From: Randy Ramsdell User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: freebsd-questions References: <4758180C.4060208@livedatagroup.com> <47582282.2080104@unsane.co.uk> <4758266E.6040704@livedatagroup.com> <18264.12909.267833.160257@jerusalem.litteratus.org> In-Reply-To: <18264.12909.267833.160257@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at livedatagroup.com Subject: Re: Freebsd filesystem ( hard reboot ) 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: Thu, 06 Dec 2007 17:50:58 -0000 Robert Huff wrote: > Randy Ramsdell writes: > >> > What is the value of background_fsck in /etc/rc.conf ? >> > >> This isn't set. Was is supposed to be? So far, I have only >> installed applications we need. And everything seem fine except >> the reboot issue. >> > > I'm going to jump in here. > Based on what you've said, it sounds like: > > the system was running > there was power outage, the system did not have a UPS > when the system rebooted, fsck complained but nothing was done > about the errors > > Let me clarify. All our servers are on UPSes, however the power outage outlasted the UPSes. That is why I stated prolonged power outage. Fsck did complain, but everything was fixed as I sat there and dealt with it. We do not want to deal with it in an offsite location and that is why this thread. > IF THAT'S TRUE ... > ... then the "seems" in your description is applicable, > and should be a red flag. > Get someone to the system, reboot it into single user mode, and > run (and re-run) fsck until it runs without error. (Answer 'y' to > all prompts.) This should be done whenever the file system is not > shutdown cleanly. > The filesystem is fine. Our set up just does not recover gracefully on hard reboots. > (And consider a UPS, even it it only keeps the system alive for > the few minutes necessary for a clean shutdown.) > > Is a dirty file system causing the reboots? No. a power prolonged power failure caused the last shutdown. > Possibly; wiser > heads than mine would have to lay out scearios. But it may also be > responsible for other damage, more subtle but equally unpleasant. A > fix is available. Use it. > I understand this will not be easy, and I sympathize. Balance > that pain against the small but non-trivial chance to catastrophic > data loss, and choose wisely. > > > > Robert Huff > Thanks for the reply. I think I will just set the rc.conf variable to answer "Y" to fsck questions unless there is a better way. A side note, this system has been hard shutdown two times and each time required intervention. We also use several Linux system ( reiserfs and ext3 ) and raely do I have to interact with the systems on reboot. There is a differnce and I am in the fisrt stages trying to understand this. PS. I am confused about why so many people are replying to the list and my personal e-mail. This one was sent to me only. Others were sent to me and the list. Actually, every other reply. Is this normal for the list as I am new as of today?