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

add 'tunefs.lustre --replace' to allow OST to be skip MGS registration

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.14.0, Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      If an new target filesystem is not formatted with "mkfs.lustre --replace" for some reason (e.g. existing scripts/framework to format the filesystem), then it would be useful to have a "tunefs.lustre --replace" option to reset the OST config, label, etc. so that it can be re-added to the filesystem without trying to register with the MGS again. Otherwise, the OST will try to re-register with the MGS because LDD_F_VIRGIN is set at mount time and fail.

      It looks like this is almost possible with the existing code, but if it is then it isn't documented in tunefs.lustre.8 man page.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: