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

Add 'no_create' mount option to create new OSTs inactive

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • 9223372036854775807

    Description

      When adding new OSTs to an existing filesystem, it'd be nice to have a command line flag to be able to add them to the MGS in an inactive state so that they weren't used for allocation until the site was ready.

      (this should be a non-default flag so it doesn't break existing behaviour)

      Attachments

        Issue Links

          Activity

            [LU-12036] Add 'no_create' mount option to create new OSTs inactive

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37133
            Subject: LU-12036 ofd: add "no_precreate" mount option
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: ab889485b994814804059967a98f2da28590e956

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37133 Subject: LU-12036 ofd: add "no_precreate" mount option Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: ab889485b994814804059967a98f2da28590e956
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36716/
            Subject: LU-12036 ofd: add "no_precreate" mount option
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 416e67222b769df490a8be034ef987a596dd8dff

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36716/ Subject: LU-12036 ofd: add "no_precreate" mount option Project: fs/lustre-release Branch: master Current Patch Set: Commit: 416e67222b769df490a8be034ef987a596dd8dff

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36716
            Subject: LU-12036 ofd: add "nocreate" mount option
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 6de22b05b9881436fd4ec1d724758a69ba8673b0

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36716 Subject: LU-12036 ofd: add "nocreate" mount option Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6de22b05b9881436fd4ec1d724758a69ba8673b0
            adilger Andreas Dilger added a comment - - edited

            With the landing of LU-12025 it should be relatively straight forward to add a mount option (maybe "nocreate" or "disabled" or "deactivated" or similar) that sets ofd->ofd_no_precreate immediately at mount time so that the MDS will not use it. This should have a test that verifies a newly-added OST is not used (even if requested specifically) when mounted with this option.

            adilger Andreas Dilger added a comment - - edited With the landing of LU-12025 it should be relatively straight forward to add a mount option (maybe " nocreate " or " disabled " or " deactivated " or similar) that sets ofd->ofd_no_precreate immediately at mount time so that the MDS will not use it. This should have a test that verifies a newly-added OST is not used (even if requested specifically) when mounted with this option.

            People

              adilger Andreas Dilger
              Elwell Andrew Elwell
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: