Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
Lustre 2.6.0, Lustre 2.5.1
-
None
-
13523
Description
Running LFSCK is not obvious, even for users like myself that know a lot about it.
Running lctl lfsck_start -A -M fsname-MDT0000 reports that LFSCK was started, but it only starts the OI Scrub when no "-t" options are specified. I think this is confusing even for LFSCK-knowledgeable people such as myself. It took Oleg and I a few minutes to figure out why LFSCK was not reporting any progress via lctl get_param mdd.*.lfsck* and repeated lfsck_start commands, and I think i would be much harder for normal users to figure out why their filesystem is not being checked. It is possible that users won't even know that the namespace and layout checks are not being run.
If no -t option is given, or -t all is given, then all of the known LFSCK checks should be run. If specific checks are listed such as -t namespace or -t layout then only those checks should be run. If -t scrub is given, then only the OI Scrub should be run as is currently the default.
Attachments
Issue Links
- is related to
-
LU-4888 LFSCK 5: fix older version of LFSCK to have scrub only mode
- Resolved