You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the problem that a f2fs filesystem together with systemd (and an installed fsck.f2fs) will endlessly reboot. (systemd/systemd#15106)
The fsck.f2fs tool behaves different to the ext variants, and does not seem to support the -a switch,
and fails on a mounted device (by default). ie. it would not help calling fsck from the initramfs either.
fsck tools seem wildy different, but systemd assumes some basic uniformity
the root filesystem is f2fs, mounted read-only from the initrd.
Systemd will endlessly reboot the system as the fsck attempt fails.
The systemd-fsck tool will end up calling fsck.f2fs with the parameter below,
and will fail as this device is mounted (tries to open it in exclusive mode).
$ fsck.f2fs -a /dev/mmcblk0p5; echo $?
Info: Fix the reported corruption.
Info: Mounted device!
Info: Check FS only on RO mounted device
Error: Failed to open the device!
255
A workaround would be to force or skip the check
fsck.f2fs -a -f /dev/mmcblk0p5; echo $?
Info: Fix the reported corruption.
.....
Done: 0.232165 secs
0
The text was updated successfully, but these errors were encountered:
Hello,
I have the problem that a f2fs filesystem together with systemd (and an installed fsck.f2fs) will endlessly reboot. (systemd/systemd#15106)
The fsck.f2fs tool behaves different to the ext variants, and does not seem to support the -a switch,
and fails on a mounted device (by default). ie. it would not help calling fsck from the initramfs either.
fsck tools seem wildy different, but systemd assumes some basic uniformity
systemd version the issue has been seen with
the root filesystem is f2fs, mounted read-only from the initrd.
Systemd will endlessly reboot the system as the fsck attempt fails.
The systemd-fsck tool will end up calling fsck.f2fs with the parameter below,
and will fail as this device is mounted (tries to open it in exclusive mode).
A workaround would be to force or skip the check
The text was updated successfully, but these errors were encountered: