On Wednesday 14 May 2014 20:29:46 Nikos Chantziaras wrote:
> I have this weird problem where a filesystem (Ext4) refuses to mount
> automatically after something like a power loss or forced shutdown.
> 
> The fstab entry for it is:
> 
>    LABEL=Data /mnt/Data ext4 defaults,relatime,exec 0 2
> 
> During boot, this is what OpenRC tells me:
> 
>    Root: clean, 805088/6553600 files, 9129899/26214400 blocks
>    Data: recovering journal
>    Data: clean, 364344/61546496 files, 137312260/246156800 blocks  [ ok ]
>    * Mounting local filesystems ...                                [ ok ]
>    * Remounting root filesystem read/write ...                     [ ok ]
>    * Remounting filesystems ...                                    [ ok ]
>    * Updating /etc/mtab ...                                        [ ok ]

It doesn't show that it failed to mount /

What does syslog show?


> If I reboot the system again, then all works fine and the FS is mounted
> automatically. So this is a one-time thingy, happening only on the first
> boot after an unclean power-off.
> 
> It would seem that I've stumbled across an OpenRC bug? There's no errors
> anywhere to be seem. According to the log output above, everything
> should be fine. I suspect that the "recovering journal" step is what
> causes this, but I don't know why.
> 
> Anyone else encountered this?

I don't know why your system does this.  I have had a few forced shutdowns 
with root on ext4 and the system mounts / after it recovers and cleans messed 
up inodes.

However this is how fstab looks in my case:

/dev/sda7               /               ext4            noatime         0 1


Could your problem be related to your relatime mount option?

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to