From owner-freebsd-stable@FreeBSD.ORG Wed May 6 10:06:02 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAF1810656B3 for ; Wed, 6 May 2009 10:06:02 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (core.byshenk.net [62.58.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id 46F618FC20 for ; Wed, 6 May 2009 10:06:02 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from core.byshenk.net (localhost.aoes.com [127.0.0.1]) by core.byshenk.net (8.14.3/8.14.3) with ESMTP id n46A608P038737; Wed, 6 May 2009 12:06:00 +0200 (CEST) (envelope-from byshenknet@core.byshenk.net) Received: (from byshenknet@localhost) by core.byshenk.net (8.14.3/8.14.3/Submit) id n46A60FP038736; Wed, 6 May 2009 12:06:00 +0200 (CEST) (envelope-from byshenknet) Date: Wed, 6 May 2009 12:06:00 +0200 From: Greg Byshenk To: Helmut Schneider Message-ID: <20090506100559.GP1550@core.byshenk.net> References: <4A015725.3050603@ksu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on core.byshenk.net Cc: freebsd-stable@freebsd.org Subject: Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 10:06:03 -0000 On Wed, May 06, 2009 at 11:50:11AM +0200, Helmut Schneider wrote: > Marat N.Afanasyev wrote: > >Helmut Schneider wrote: > >>after upgrading a few systems yesterday from 7.1-RELEASE to 7.2-RELEASE > >>on one machine I got the error above. The problem was that > >> > >>- I was unable to cope with it but booting from a live CD. > >>- the message appeared ~ 1000 times and then the kernel paniced. > >> > >>After fsck'ing / with the help of the live CD I rebooted the machine but > >>now I got the same problem with /home. > >> > >>How can I avoid such issues (except of not letting the machine crash)? Is > >>there a way to boot at least to single user mode and then run fsck (I was > >>at home, far away from the machine, not funny)? > There is no 'login' when / cannot be mounted... > > >fsck it. if you have another machine in there, you can try to make a > >serial console. or install a ip-kvm extender ;) > > I do have such thing (IBM Blade Center) but I'm looking for something to > avoid the situation above. Something that lets me at least boot into single > user mode. If you had access to the console (I'm guessing you did in order to use the live CD), did you try booting into single-user from the beastie menu? IME, failure to fsck the / menu should drop automatically to single-user at the console, but if this fails, then you should be able to choose single-user boot from the menu, which will then not try to run fsck or mount / rw. From there you should be able to fsck and remount /, as well as /home or anything else. This will fail if there is something horribly wrong with /, causing a failure even when / is mounted ro, but then there may be no good solution. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL