#293275 xfsprogs: no-op fsck.xfs doesn't allow to explicitly check with shutdown -F

Package:
xfsprogs
Source:
xfsprogs
Description:
Utilities for managing the XFS filesystem
Submitter:
Marc Haber
Date:
2021-02-04 22:33:05 UTC
Severity:
normal
Tags:
#293275#5
Date:
2005-02-02 06:48:55 UTC
From:
To:
Hi!

When I run shutdown -F, I expect my file systems to be checked on
bootup, regardless whether the file system is journaling or not. I
might have enountered strange fs behavior and would like to be sure.

This doesn't work with xfs since fsck.xfs is a no-op.

Please reconsider this decision, allowing explicit fsck during the
standard mechanisms.

Greetings
Marc

#293275#10
Date:
2005-02-02 09:45:10 UTC
From:
To:
I really wouldn't expect that, myself.

Run xfs_repair -n on just the specific filesystem then, not all,
and not during bootup.

There are of course other ways to achieve the same thing.  I don't
particularly like the idea of doing things like this on boot - it
is indiscriminately applied to all filesystems, which is problematic
as filesystem sizes increase (for any one filesystem).  The current
record, to give an idea, for one filesystem (many terabytes, & many
millions of inodes) was ~1 week to repair...

cheers.