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

Unable to create file without a pool with a pool define on the parent or on the fs root.

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.16.0, Lustre 2.15.4
    • None
    • None
    • 2.12.8 LTS/ 2.15
    • 3
    • 9223372036854775807

    Description

      The user need to have a way to force file creation without a pool to select specific OSTs (lfs setstripe --ost) or to use all the OST for the stripe's selections.
      The patch https://review.whamcloud.com/41815 remove the pool from the layout when a ostlist is supplied (lfs setstripe --ost) , but this behavior will be changed with LU-15658.

      Reproducer:

      # lfs setstripe -p ost0 testdir/
      # lfs setstripe -p ''  testdir/testfile              
      # lfs setstripe -p none  testdir/testfile2           
      # lfs setstripe -c2  testdir/testfile3
      # lfs getstripe -p testdir/* 
      ost0                                             
                                                       
      ost0                                             
                                                       
      ost0                                             
      
      

      On 2.12.8:

      # lfs setstripe -p ost0 testdir/
      # lfs setstripe --ost 1,0  testdir/testfile1              
      lfs setstripe: setstripe error for 'testdir/testfile1': Invalid argument
      # lfs setstripe --ost 0,1  testdir/testfile2  
      # lfs getstripe -p testdir/testfile2
      ost0            
                                       
      

      EINVAL is returned because MDT only check if the first OST index is in the pool (see the LU-14480).

      Attachments

        Issue Links

          Activity

            [LU-15707] Unable to create file without a pool with a pool define on the parent or on the fs root.

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49477/
            Subject: LU-15707 lod: force creation of a component without a pool
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: fab54100cb822e8b471b0df92ce24f41bd0fd94c

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49477/ Subject: LU-15707 lod: force creation of a component without a pool Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: fab54100cb822e8b471b0df92ce24f41bd0fd94c

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49477
            Subject: LU-15707 lod: force creation of a component without a pool
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 0ee7744c64de673631f3391e2bacb5e6fdad3c87

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49477 Subject: LU-15707 lod: force creation of a component without a pool Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 0ee7744c64de673631f3391e2bacb5e6fdad3c87

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49476
            Subject: LU-15707 lod: force creation of a component without a pool
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: d1faa2a5552faf85b2de0f4d9e6d02b99abb2844

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49476 Subject: LU-15707 lod: force creation of a component without a pool Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: d1faa2a5552faf85b2de0f4d9e6d02b99abb2844
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/46955/
            Subject: LU-15707 lod: force creation of a component without a pool
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6b69d22e4cb738f4f9ff5454a6f9ae17a3a2d6fa

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/46955/ Subject: LU-15707 lod: force creation of a component without a pool Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6b69d22e4cb738f4f9ff5454a6f9ae17a3a2d6fa

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46955
            Subject: LU-15707 lod: force creation of a component without a pool
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4aaaf47b8e61ebb78e74073c0a83bd65d249bc9f

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46955 Subject: LU-15707 lod: force creation of a component without a pool Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4aaaf47b8e61ebb78e74073c0a83bd65d249bc9f

            People

              eaujames Etienne Aujames
              eaujames Etienne Aujames
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: