Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2009 11:50:11 +0200
From:      "Helmut Schneider" <jumper99@gmx.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Message-ID:  <gtrmgk$6fc$1@ger.gmane.org>
References:  <gtrjq3$u24$1@ger.gmane.org> <4A015725.3050603@ksu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Marat N.Afanasyev <amarat@ksu.ru> 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 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gtrmgk$6fc$1>