1 |
I have this weird problem where a filesystem (Ext4) refuses to mount |
2 |
automatically after something like a power loss or forced shutdown. |
3 |
|
4 |
The fstab entry for it is: |
5 |
|
6 |
LABEL=Data /mnt/Data ext4 defaults,relatime,exec 0 2 |
7 |
|
8 |
During boot, this is what OpenRC tells me: |
9 |
|
10 |
Root: clean, 805088/6553600 files, 9129899/26214400 blocks |
11 |
Data: recovering journal |
12 |
Data: clean, 364344/61546496 files, 137312260/246156800 blocks [ ok ] |
13 |
* Mounting local filesystems ... [ ok ] |
14 |
* Remounting root filesystem read/write ... [ ok ] |
15 |
* Remounting filesystems ... [ ok ] |
16 |
* Updating /etc/mtab ... [ ok ] |
17 |
|
18 |
If I reboot the system again, then all works fine and the FS is mounted |
19 |
automatically. So this is a one-time thingy, happening only on the first |
20 |
boot after an unclean power-off. |
21 |
|
22 |
It would seem that I've stumbled across an OpenRC bug? There's no errors |
23 |
anywhere to be seem. According to the log output above, everything |
24 |
should be fine. I suspect that the "recovering journal" step is what |
25 |
causes this, but I don't know why. |
26 |
|
27 |
Anyone else encountered this? |