Details
-
Improvement
-
Resolution: Won't Fix
-
Minor
-
None
-
None
-
None
-
2
-
10354
Description
Add a fsck.lustre wrapper to the lustre package so that filesystems configured with a non-zero pass number in /etc/fstab are automatically checked on boot. The wrapper should verify that the device name is not that of a client (i.e. does not have ":/" in the middle) so that if lustre-ldiskfs is installed on the client it will not generate spurious failures and prevent the node from booting.
I also considered installing this as part of our patched e2fsprogs and lustre-ldiskfs, but when we have different back-end filesystems the fsck.lustre wrapper will need to determine what the backend filesystem type is (via "file" or similar) and execute the appropriate fsck.
{fstype}utility, if available. We can't have a single /sbin/fsck.lustre that is part of different lustre-backend-fs packages, since there may be multiple lustre-backend-fs packages installed at one time (e.g. lustre-ldiskfs and lustre-zfs and lustre-btrfs).