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

t-f is to be enhanced to create required number of pools on fs

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • Lustre 2.14.0
    • None
    • 9223372036854775807

    Description

      We are interested in running some tests on fs with the pools. The proposed enhancement allows to create $FS_NPOOLS number of pools containing $FS_POOL_NOSTS number of osts. If $FS_NPOOLS not set the number of pools created is $OSTCOUNT / $FS_POOL_NOSTS. Pools names are $FS_POOL based. Pools are not created if FS_POOL not set.
      Examples 1:
      FS_POOL=global OSTCOUNT=2
      lustre.global0
      OST lustre-OST0000_UUID
      OST lustre-OST0001_UUID
      Example 2:
      FS_POOL=global OSTCOUNT=6 FS_POOL_NOSTS=3
      lustre.global0
      OST lustre-OST0000_UUID
      OST lustre-OST0001_UUID
      OST lustre-OST0002_UUID
      lustre.global1
      OST lustre-OST0003_UUID
      OST lustre-OST0004_UUID
      OST lustre-OST0005_UUID
      Example 3:
      FS_POOL=p OSTCOUNT=5 KEEP_POOLS=true FS_NPOOLS=7 FS_POOL_NOSTS=3
      Pool: lustre.p0
      lustre-OST0000_UUID
      lustre-OST0001_UUID
      lustre-OST0002_UUID
      Pool: lustre.p1
      lustre-OST0003_UUID
      lustre-OST0004_UUID
      lustre-OST0000_UUID
      Pool: lustre.p2
      lustre-OST0001_UUID
      lustre-OST0002_UUID
      lustre-OST0003_UUID
      Pool: lustre.p3
      lustre-OST0004_UUID
      lustre-OST0000_UUID
      lustre-OST0001_UUID
      Pool: lustre.p4
      lustre-OST0002_UUID
      lustre-OST0003_UUID
      lustre-OST0004_UUID
      Pool: lustre.p5
      lustre-OST0000_UUID
      lustre-OST0001_UUID
      lustre-OST0002_UUID
      Pool: lustre.p6
      lustre-OST0003_UUID
      lustre-OST0004_UUID
      lustre-OST0000_UUID

      Patch adds the ability to remove all old pools at the start if DELETE_OLD_POOLS set to true (default is false) and the ability keep the new pools not deleted at the end if KEEP_POOLS set to true (default is false).

      Attachments

        Activity

          [LU-14755] t-f is to be enhanced to create required number of pools on fs
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43966/
          Subject: LU-14755 tests: create custom pools
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: cdebe1d8d356f72134a58dd0718298c9ba1b3d45

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43966/ Subject: LU-14755 tests: create custom pools Project: fs/lustre-release Branch: master Current Patch Set: Commit: cdebe1d8d356f72134a58dd0718298c9ba1b3d45

          Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/43966
          Subject: LU-14755 tests: create custom pools
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6ade9164fc5c791f075d5a48ce7a70af00f5fdde

          gerrit Gerrit Updater added a comment - Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/43966 Subject: LU-14755 tests: create custom pools Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6ade9164fc5c791f075d5a48ce7a70af00f5fdde

          People

            egryaznova Elena Gryaznova
            egryaznova Elena Gryaznova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: