Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8217

Clarify interaction of lfsck_start -A and -M options

    XMLWordPrintable

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?

      Attachments

        Activity

          People

            yong.fan nasf (Inactive)
            ndauchy Nathan Dauchy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: