rootfs fsck check - too early?

Adam Gołębiowski adamg w biomerieux.pl
Czw, 12 Kwi 2007, 19:08:23 CEST


Hi,

in rc.sysint (rev 8223, may differ in your case) near line 300, we are
doing a fsck for rootfs:

        if [ -z "$fastboot" -a "$_ROOTFS_TYPE" != "nfs" -a "$_ROOTFS_TYPE" != "romfs" -a "$_ROOTFS_PASSNO" != 0 ]; then
                show "Checking root filesystem"; started
                initlog -c "fsck -C -T -a $fsckoptions /"


Isn't it too early? Akcyza - with rootfs on lvm built on top of soft
raid5 - was down for a few hours today after power failure, and the
bootup process stoped on the abovementioned fsck due to reiserfsck
complaining about missing /dev/sys/rootfs device. 

We are assembling soft raid a little bit later (line 550). Shouldn't we
move fsck there? 

If not, do you have any ideas why it did not boot?

Adam

-- 
 http://www.mysza.eu.org/ | Everybody needs someone sure, someone true,
   PLD Linux developer    | Everybody needs some solid rock, I know I do.


Więcej informacji o liście dyskusyjnej pld-rc-scripts