Red Hat Bugzilla – Bug 991584
Regression: systemd-fsck fails to check /usr at boot
Last modified: 2015-01-28 23:46:06 EST
Description of problem:
I've a system were /usr is a separate LVM volume, mounted "ro".
Since F-19, the regular filesystem check fails and now the mount count is way beyond the limit set with tune2fs.
Note that same setup on F-18 was working fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Having a system with separate /usr and F-19
Set the "Mount count" to "Maximum mount count"
The "Mount count" is increased by one and "journactl" has several entries like:
... systemd: Starting File System Check on /dev/Group/usr...
... lazy.lzy systemd-fsck: fsck failed with error code 8.
... lazy.lzy systemd-fsck: Ignoring error.
The "Mount count" should go back to 1, no errors in log.
Other filesystems seems to be unaffected.
$> systemctl status systemd-fsck@dev-Group-usr.service
systemd-fsck@dev-Group-usr.service - File System Check on /dev/Group/usr
Loaded: loaded (/usr/lib/systemd/system/systemd-fsck@.service; static)
Active: inactive (dead) since Fri 2013-08-02 19:59:52 CEST; 1h 13min ago
Main PID: 608 (code=exited, status=0/SUCCESS)
Aug 02 19:59:52 lazy.lzy systemd: Started File System Check on /dev/Group/usr.
$ man mount
mount has the following return codes (the bits can be ORed):
8 user interrupt
Can you attach the journal of such a boot?
# journalctl -ab -o short-monotonic > boot.log
Created attachment 784039 [details]
Boot log as requested
the "error 8" is from "fsck", not "mount".
The "fsck" man page says:
8 Operational error
Which I find quite... funny...
The log is attached, I hope it helps,
Created attachment 784071 [details]
Boot log as requested
Please do not compress stuff.
(In reply to Piergiorgio Sartor from comment #2)
> Created attachment 784039 [details]
> Boot log as requested
> Hi Harald,
> the "error 8" is from "fsck", not "mount".
> The "fsck" man page says:
> 8 Operational error
> Which I find quite... funny...
Doh.. stupid me :)
Can you boot with "rd.break" on the kernel command line?
This will drop you to a shell in the initramfs.
Please try to run fsck by hand on your /dev/Group/usr.
After that you can exit the shell and the boot should continue.
(In reply to Harald Hoyer from comment #5)
> Can you boot with "rd.break" on the kernel command line?
> This will drop you to a shell in the initramfs.
> Please try to run fsck by hand on your /dev/Group/usr.
> After that you can exit the shell and the boot should continue.
the "e2fsck" from the initramfs shell returns:
e2fsck 1.42.7 (21-Jan-2013)
/dev/mapper/Group-usr is mounted.
e2fsck: Cannot continue, aborting.
Which, by chance, is also error number 8...
It is correct, /usr is mounted already at that point (actually I even checked before running the "e2fsck" command).
Maybe some dependency on the "systemd" chain changed from F18 to F19?
Should be fixed in the next dracut version
it seems "dracut", in F-19, was not updated since long time.
Any chance to get this fix before F-20?
This message is a notice that Fedora 19 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 19. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 19 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.