Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
Lustre 2.7.0
-
None
-
3
-
9223372036854775807
Description
Looking for clarification on the intent of the "-A" option to "lctl lfsck_start".
The helpt text says:
options: -M: device to start LFSCK/scrub on -A: start LFSCK on all MDT devices
Which implies that one should either run lfsck on just one OR all devices. Yet, it seems that specifying -M is still required:
service322 ~ # lctl lfsck_start -A Must specify device to start LFSCK.
So, I would guess that "-M" was never made non-mandatory in the arg parsing when -A was added. Or perhaps the help text is just misleading and all that is needed is a documentation update?
Should the -A and -M options be mutually-exclusive?
Under what circumstances would you NOT want to use -A? Should that just be the default, and then -M is optional to be more restrictive in lfsck operation, and no -A option is needed at all?