From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 20:58:36 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 BE03816A417 for ; Wed, 25 Jul 2007 20:58:36 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 91F6113C459 for ; Wed, 25 Jul 2007 20:58:36 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7B8B5519D9 for ; Wed, 25 Jul 2007 16:58:35 -0400 (EDT) Date: Wed, 25 Jul 2007 21:58:33 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070725215833.58b47a22@gumby.homeunix.com.> In-Reply-To: <460a65190bb88ed0676417e1033dd160@szalbot.homedns.org> References: <460a65190bb88ed0676417e1033dd160@szalbot.homedns.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: fsck to fix HD problem 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: Wed, 25 Jul 2007 20:58:36 -0000 On Wed, 25 Jul 2007 07:50:38 +0200 Zbigniew Szalbot wrote: > > Hello, > > >> so I decided to use fsck to check my HD. I ran it > >> in the foreground mode with the -y flag. It gives me the below > >> information. My question is - should I worry (it is more a home > >> machine than a real server) and if yes, how can I fix the problem? > > . . . > > > > To do anything more than merely report problems > > you should drop into single-user mode, unmount > > everything except root (hopefully. If it gets angry, > > reboot into single-user mode.) and run fsck (as is > > or with the -y flag if you feel daring.) on the filesystems > > in question. > > Is the single-user mode necessary. As it is a family machine I know > when I am the only one using it. > The fsck output was the normal stuff you see if you pull-out the plug (if you're lucky). Did you check if the background fsck was still running? In practice you rarely need to do do a manual check - most reboots can be handled by a background check, and most cases where it can't are spotted during the initial foreground check and done in the foreground. Just watch the console for unexpected softupdate inconsistencies. If you run fsck with -y, you might as well set "fsck_y_enable=yes" in rc.conf and have it done automatically if the initial preen fails.