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 ]

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?


Reply via email to