From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 20:31:56 2003 Return-Path: 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 4B1BD37B401; Sat, 28 Jun 2003 20:31:56 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E1E543FA3; Sat, 28 Jun 2003 20:31:55 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h5T3Vsk04403; Sat, 28 Jun 2003 20:31:54 -0700 From: Kent Stewart To: manee , freebsd-questions@freebsd.org Date: Sat, 28 Jun 2003 20:31:53 -0700 User-Agent: KMail/1.5.2 References: <20030629021709.16663.qmail@web21504.mail.yahoo.com> In-Reply-To: <20030629021709.16663.qmail@web21504.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306282031.53808.kstewart@owt.com> cc: freebsd-stable@freebsd.org Subject: Re: hard disk error , run fsck manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 03:31:56 -0000 On Saturday 28 June 2003 07:17 pm, manee wrote: > hi sirs, > > i face problem of hard disk error because of the power > downed during using the machine. > > once the power is coming, my machine stuck at > > file system is still dirty please run fsck manually. > > the partion that is dirty is /dev/ad0s2g, a home > partion one. i did run fsck /dev/ad0s2g several times > but still get the same message. > > what i decided to do was that to edit /etc/fstab and > put read only option for /dev/ad0s2g and exited a > single mode. i got a message said that /home was not > dismount, as you see in the attachment. > > up to this point, only root that can log in. my > question is that are there any method to recover an > fsck error during boot time? > > please cc to me since i do not a member of the list. > You need to do something like "fsck -y" from single user mode. The fs has to be unmounted to fix it. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html