[gentoo-user] unable to check root filesystem
my system doesn't boot correctly. it keeps hanging because checkroot complains not being able to check the root fs. when I mount / readonly by hand: # mount | grep hda3 /dev/hda3 on / type reiserfs (rw,noatime,notail) / is mounted readwrite. # mount -o remount,ro / I mount it readonly. # mount | grep hda3 /dev/hda3 on / type reiserfs (rw,noatime,notail) Why tells mount / is still mounted rw? # touch /test touch: cannot touch /test: Read-only file system So it is really mounted readonly. But fsck thinks different: # fsck -C -a -f / fsck 1.34 (25-Jul-2003) Reiserfs super block in block 16 on 0x303 of format 3.6 with standard journal Blocks (total/free): 257040/227239 by 4096 bytes Filesystem is cleanly umounted Partition /dev/hda3 is mounted with write permissions, cannot check it # mount -o remount,rw / # touch /test # everything works execpt mount displays wrong information and it seems that fsck relies on mount's output... any hints? thx, christoph -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] unable to check root filesystem
On Fri, Feb 13, 2004 at 04:13:46PM +0100, Christoph Gysin wrote: > my system doesn't boot correctly. it keeps hanging because checkroot > complains not being able to check the root fs. > > when I mount / readonly by hand: > > # mount | grep hda3 > /dev/hda3 on / type reiserfs (rw,noatime,notail) > > / is mounted readwrite. > > # mount -o remount,ro / > > I mount it readonly. > > # mount | grep hda3 > /dev/hda3 on / type reiserfs (rw,noatime,notail) > > Why tells mount / is still mounted rw? Because this information comes from /etc/mtab which is on your root partition and cannot be updated because you just mounted it read-only. I don't know what would happen if you edited /etc/mtab before remounting / in read-only and changed to (ro,..). It would probably confuse the heck out of the system. It has been my experience that in order to check the root file system I've had to boot into single user mode. You also might be able to change runlevels from a console: $ init 1 Hope this helps, Mike -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] unable to check root filesystem
On Fri, 13 Feb 2004 16:13:46 +0100 Christoph Gysin <[EMAIL PROTECTED]> wrote: > my system doesn't boot correctly. it keeps hanging because checkroot > complains not being able to check the root fs. > [ rest snipped ] This won't help, but your experience only comfirms my decision never again to entrust data that I love to reiserfs. I know that almost everybody loves reiser, but I've experienced and read about too many failure scenarios. Good luck; maybe some of the reiser gurus can help you. -- Collins - Denver Area - Gentoo stable kernel 2.6.2-rc1 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] unable to check root filesystem
Collins Richey wrote: On Fri, 13 Feb 2004 16:13:46 +0100 Christoph Gysin <[EMAIL PROTECTED]> wrote: my system doesn't boot correctly. it keeps hanging because checkroot complains not being able to check the root fs. [ rest snipped ] This won't help, but your experience only comfirms my decision never again to entrust data that I love to reiserfs. I know that almost everybody loves reiser, but I've experienced and read about too many failure scenarios. Good luck; maybe some of the reiser gurus can help you. In effect, this would have happened with any FS, see Mike's post. I'm using reiser since >3 years without any trouble. -- [EMAIL PROTECTED] mailing list