Bug#1009122: systemd-quotacheck : does not work on root file system
Michael Biebl
biebl at debian.org
Thu Apr 7 17:06:02 BST 2022
Am 07.04.22 um 17:37 schrieb Laurent Bonnaud:
> 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.
>
Hm, ok. Is this error message from systemd-quotacheck from the initramfs
or from the real system?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220407/c3f3a98e/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list