Bug#1009122: systemd-quotacheck : does not work on root file system
Laurent Bonnaud
L.Bonnaud at laposte.net
Thu Apr 7 16:37:55 BST 2022
On 4/7/22 16:10, Michael Biebl wrote:
> I guess you'd have to use dracut instead of initramfs-tools then.
Thanks for the suggestion!
I tested dracut on another system and I still get a similar error:
# journalctl | grep quota
Apr 07 17:28:40 debian kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-13-amd64 root=/dev/mapper/debian--vg-root ro quotacheck.mode=force quiet
Apr 07 17:28:40 debian kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-13-amd64 root=/dev/mapper/debian--vg-root ro quotacheck.mode=force quiet
Apr 07 17:28:40 debian kernel: VFS: Disk quotas dquot_6.6.0
Apr 07 17:28:40 debian dracut-cmdline[130]: Using kernel command line parameters: rd.lvm.lv=debian-vg/root rd.lvm.lv=debian-vg/swap_1 resume=/dev/mapper/debian--vg-swap_1 root=/dev/mapper/debian--vg-root rootfstype=ext4 rootflags=rw,relatime,errors=remount-ro BOOT_IMAGE=/boot/vmlinuz-5.10.0-13-amd64 root=/dev/mapper/debian--vg-root ro quotacheck.mode=force quiet
Apr 07 17:28:41 debian kernel: EXT4-fs (dm-0): re-mounted. Opts: usrquota,errors=remount-ro
Apr 07 17:28:41 debian systemd[1]: systemd-quotacheck.service: Main process exited, code=exited, status=1/FAILURE
Apr 07 17:28:41 debian systemd[1]: systemd-quotacheck.service: Failed with result 'exit-code'.
Apr 07 17:28:41 debian systemd-quotacheck[487]: (quotacheck) failed with exit status 1.
Apr 07 17:28:41 debian systemd-quotacheck[490]: quotacheck: Cannot remount filesystem mounted on / read-only so counted values might not be right.
Apr 07 17:28:41 debian systemd-quotacheck[490]: Please stop all programs writing to filesystem or use -m flag to force checking.
--
Laurent.
More information about the Pkg-systemd-maintainers
mailing list