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

DNE3: tunable to disable directory creation on MDT

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • Lustre 2.16.0
    • Lustre 2.14.0, Lustre 2.12.4
    • 9223372036854775807

      In order to allow draining an MDT for removal from the filesystem, or to disable it temporarily, it makes sense to add an "mdt.*.no_create" parameter on the MDT similar to "obdfilter.*.no_precreate" on the OST, and a matching mount option "-o no_create". The OS_STATE_NOPRECREATE" flag should be set in obd_statfs from the MDT to let clients/MDS know that it should be skipped.

      This should result in new stripes directories skipping the MDT during selection for "lfs mkdir -i -1", auto striping, etc.

            laisiyao Lai Siyao
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: