[LU-602] Add fsck.lustre to lustre package Created: 17/Aug/11  Updated: 03/Mar/16  Resolved: 03/Mar/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Won't Fix Votes: 0
Labels: None

Story Points: 2
Rank (Obsolete): 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).


Generated at Sat Feb 10 01:08:39 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.