1 |
On Wednesday 14 May 2014 22:29:46 Nikos Chantziaras wrote: |
2 |
> I have this weird problem where a filesystem (Ext4) refuses to mount |
3 |
> automatically after something like a power loss or forced shutdown. |
4 |
> |
5 |
> The fstab entry for it is: |
6 |
> |
7 |
> LABEL=Data /mnt/Data ext4 defaults,relatime,exec 0 2 |
8 |
> |
9 |
> During boot, this is what OpenRC tells me: |
10 |
> |
11 |
> Root: clean, 805088/6553600 files, 9129899/26214400 blocks |
12 |
> Data: recovering journal |
13 |
> Data: clean, 364344/61546496 files, 137312260/246156800 blocks [ ok ] |
14 |
> * Mounting local filesystems ... [ ok ] |
15 |
> * Remounting root filesystem read/write ... [ ok ] |
16 |
> * Remounting filesystems ... [ ok ] |
17 |
> * Updating /etc/mtab ... [ ok ] |
18 |
> |
19 |
> If I reboot the system again, then all works fine and the FS is mounted |
20 |
> automatically. So this is a one-time thingy, happening only on the first |
21 |
> boot after an unclean power-off. |
22 |
> |
23 |
> It would seem that I've stumbled across an OpenRC bug? There's no errors |
24 |
> anywhere to be seem. According to the log output above, everything |
25 |
> should be fine. I suspect that the "recovering journal" step is what |
26 |
> causes this, but I don't know why. |
27 |
> |
28 |
> Anyone else encountered this? |
29 |
|
30 |
No, I can't say I have. I do occasionally have to use the reset button to |
31 |
reboot (because the KDM shutdown process had hung), and the system just |
32 |
restarts as Mick says. |
33 |
|
34 |
This is my root fstab entry: |
35 |
|
36 |
/dev/md5 / ext4 relatime 1 1 |
37 |
|
38 |
The other partitions are similar except for being mounted from /dev/md7. |
39 |
|
40 |
-- |
41 |
Regards |
42 |
Peter |