Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 May 2009 14:14:34 +0400
From:      "Marat N.Afanasyev" <amarat@ksu.ru>
To:        Helmut Schneider <jumper99@gmx.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Message-ID:  <4A01630A.5080201@ksu.ru>
In-Reply-To: <gtrmgk$6fc$1@ger.gmane.org>
References:  <gtrjq3$u24$1@ger.gmane.org> <4A015725.3050603@ksu.ru> <gtrmgk$6fc$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms060105000103090100030306
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

Helmut Schneider wrote:
> 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.
> 

if you have an ip-kvm you can drop into single-user and fsck any disk 
you have. all you need to do is to choose 'single user' from 
beastie-menu. or start kernel with -s parameter

-- 
SY, Marat

--------------ms060105000103090100030306
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII8zCC
AtQwggI9oAMCAQICEHpsMo6nkbUVegxjAzzxYCkwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDQwMTE5MTUxOFoX
DTEwMDQwMTE5MTUxOFowPzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEcMBoG
CSqGSIb3DQEJARYNYW1hcmF0QGtzdS5ydTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBALqa7MfgjbsxmgpTOKxAN7w+cFViFA8NrULAARwVQJQJCnVRGf3i97EwNdLE8VTNniU4
ybS4gtLsy9gfNuuyPV2AJESpgrxaG+KZyHu1f6P4e31YBbnbtWVTUxZ3U/vWoL+BOAOI4S84
Cx834a4uYK75WhpZKd56qet5loyn9N1wBZNgCh9AwU31lA/Q0iCSKpEIxuhbElNXHNnqAlts
CtNXsKgsT8mP7QI52h0cBOPSZqvz++e/wruJGgKeCECqo8ftwwya3CYkH1lhH2Q1zeXwez1E
1+solM48odH+odn29ctmOqr3PzZfmBJyGFf5FagTKNia/ys48yBtVU/RXHsCAwEAAaMqMCgw
GAYDVR0RBBEwD4ENYW1hcmF0QGtzdS5ydTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUA
A4GBAG4Pj7KRSJ/M28KNynJOPCHg26L15S9OfQ+ckMaPPDRAejtdlUdCgkoyD9d1Du/amAk6
A3NcY2I/MsFW2vSonQfU+7cJZiyuhfw7wQlOovCx7USw1dmF6u3Elj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NgQw3uoL4kR54ZDvSZNQ+95IhGAFVc5RIixrQP2XehXp0c
TAlb47otEXzLrVVZm49IcveMg/8awllk0mNOeB+4XqcPx0my2IwRxSQBpRfornufQiK5nsmz
lhXcVbRfo2iN/YPE0GbrtO4RFqYX6lq9oIWz+W8AAAAAAAA=
--------------ms060105000103090100030306--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A01630A.5080201>