From owner-freebsd-stable@FreeBSD.ORG Wed May 6 09:50:25 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 A5715106571B for ; Wed, 6 May 2009 09:50:25 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 612958FC08 for ; Wed, 6 May 2009 09:50:25 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M1dlg-0004E2-CM for freebsd-stable@freebsd.org; Wed, 06 May 2009 09:50:24 +0000 Received: from 91.205.197.96 ([91.205.197.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 09:50:24 +0000 Received: from jumper99 by 91.205.197.96 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 May 2009 09:50:24 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: "Helmut Schneider" Date: Wed, 6 May 2009 11:50:11 +0200 Lines: 38 Message-ID: References: <4A015725.3050603@ksu.ru> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91.205.197.96 X-MSMail-Priority: Normal X-Newsreader: vi with a tiny little GUI X-MimeOLE: Huh, what?! Sender: news 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 09:50:26 -0000 Marat N.Afanasyev wrote: > Helmut Schneider wrote: >> Hi, >> >> 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)? >> >> Thanks, Helmut >> > if there's a problem with home you can change > > PermitRoorLogin yes > > in /etc/ssh/sshd_config, restart sshd, login as root, unmount home and 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. -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn