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

Check the length of mdd append_pool name before setting it

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      There is currently the limit of 15 characters for a pool. However, when customer tried the following with 16 characters:

      # lctl set_param -P mdd.users*.append_pool="users_append_hdd"

      the command succeeded fine. But it removed the last character, what customer did not notice at first.

      # lctl get_param *.*.append*
      mdd.interact-MDT0000.append_pool=users_append_hdmdd.interact-MDT0000.append_stripe_count=1

      I will create a patch to fix it.

      Attachments

        Activity

          [LU-17713] Check the length of mdd append_pool name before setting it
          pjones Peter Jones added a comment -

          Merged for 2.16

          pjones Peter Jones added a comment - Merged for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54691/
          Subject: LU-17713 mdd: validate the length of mdd append_pool name
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 509a7cf9778968f796794c3743e62bc6b2a71592

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54691/ Subject: LU-17713 mdd: validate the length of mdd append_pool name Project: fs/lustre-release Branch: master Current Patch Set: Commit: 509a7cf9778968f796794c3743e62bc6b2a71592

          "Emoly Liu <emoly@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54691
          Subject: LU-17713 mdd: validate the length of mdd append_pool name
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 68024bb9b147bda08c3b891939e34a20ab4a6f13

          gerrit Gerrit Updater added a comment - "Emoly Liu <emoly@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54691 Subject: LU-17713 mdd: validate the length of mdd append_pool name Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 68024bb9b147bda08c3b891939e34a20ab4a6f13

          People

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: