*** This bug is a duplicate of bug 2171359 ***
https://bugs.launchpad.net/bugs/2171359
Agreed with the duplicate. I measured it and read the source: the exit 0 is
xfsprogs' design, not a bug. In service mode (the units set SERVICE_MODE=1)
xfs_scrub returns 0 when scrub setup fails, because "we haven't determined that
there's anything wrong with the filesystem" (scrub/xfs_scrub.c, tag v7.2.0);
every other error returns 1, so the unit does fail on a real problem. Run by
hand the same check exits 4.
The fix is the kernel option in LP: #2171359; the details are in my comment
there.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171360
Title:
xfs_scrub_all reports success when the kernel has no online scrub
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/2171360/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs