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

pool_list by path incorrectly prints path as pool prefix

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Lustre 2.10.0, Lustre 2.12.2
    • 3
    • 9223372036854775807

    Description

      The lfs/lctl pool_list command incorrectly re-uses the path as pool prefix when printing pools, e.g. with a fresh llmount:

       

      [root@vm0 ~]# lctl pool_new lustre.foo
      lfs Pool lustre.foo created
      
      [root@vm0 ~]# lctl pool_list /mnt/lustre
      Pools from /mnt/lustre:
      /mnt/lustre.foo
      

      /mnt/lustre.foo is not a valid pool name and scripts looking at this output to use directly with lfs setstripe -p will now fail

      On old 2.7 at least, this would correctly print lustre.foo instead

       
      The fix is very much straightforward, I'll submit something right away.

      Attachments

        Issue Links

          Activity

            [LU-12473] pool_list by path incorrectly prints path as pool prefix
            pjones Peter Jones made changes -
            Reporter Original: Dominique Martinet [ martinetd ] New: CEA [ cealustre ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.13.0 [ 14290 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-10 [ JFC-10 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12521 [ LU-12521 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to JFC-10 [ JFC-10 ]
            mdiep Minh Diep made changes -
            Labels New: patch
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Dominique Martinet [ martinetd ]
            martinetd Dominique Martinet (Inactive) created issue -

            People

              martinetd Dominique Martinet (Inactive)
              cealustre CEA
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: