fsck fails after du

Started by bad_aptitude, 2013/05/28, 05:56:54

Previous topic - Next topic

bad_aptitude

After a du today my boot sequence stops at the fsck. My root file system is set to "read only" and the system suggests that I do a "manual" fsck.
If I press "ctrl D" to continue the system  just shuts down. If I enter the repair shell by entering the root password and run fsck I just get the BTRFS help menu.
My root file system is BTRFS.
Running older kernels doesn't help. Is there a way pass this impasse?

timc

It is a bug. You need to edit your fstab so that it does not try to fsck your root filesystem. I will post more info as I can gather it.

Tim

timc

#2

timc

To mount the root filesystem as rw during bootup:

mount -o remount,rw /

Tim

bad_aptitude

Thanks Tim.
I have a separate BTRFS LVM for /home so I had to edit fstab for it too.

I wonder when it will be fixed?

timc

Quote from: "bad_aptitude"Thanks Tim.

...

I wonder when it will be fixed?

I'm not sure, but I saw some discussion of it in the btrfs mail list a week or so ago.

Tim

bad_aptitude

I wonder IF it should be fixed? ;)
According to: https://btrfs.wiki.kernel.org/index.php/FAQ
and I quote:
"Traditional filesystems need to run their respective fsck utility in case the filesystem was not unmounted cleanly and the log needs to be replayed before mount. This is not needed for btrfs. You should set fs_passno to 0."