D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] file system has gone read only



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Keasley wrote:
|
| I suspect the first thing you should do is back up the data in your
| ~ asap, and run fsck on that partition, it might be you harddrive
| going bad, or just having too many errors.
|
| Otherwise it might just be a problem in /etc/fstab or a permissions
| issue, better to be safe than sorry though, eh?

The usual cause is not reading the boot messages carefully enough ;)

The root partition is mounted read-only, then remounted if all is
well. I have had Redhat pause during boot, and me continue without
properly following the instructions on screen, resulting in a
read-only partition.

This also happens if you have forgot the root passwd and need to
hack the shadow file, as some of the emergency boots drop you in a
root shell with the root disk read only - remount is your friend (or
just boot from a Live CD which is probably easier).

Of course your comments on fsck apply. This usually happens if the
disk has failed fsck, and needs some manual intervention, which
might be a bad disk, or poorly timed hitting of the off button.

Also some filesystems these days have a quick journal replay, and a
proper fsck which actually checks things, make sure you get a proper
check.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBUc46GFXfHI9FVgYRAsh4AJ0avm4PpPAoxzuPlqmPwsuCk2kSXQCfWJ7R
dCCTflM7t4WzIeFbXSbmeFk=
=xGeT
-----END PGP SIGNATURE-----

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly