[LU-15707] Unable to create file without a pool with a pool define on the parent or on the fs root. Created: 30/Mar/22 Updated: 13/Nov/23 Resolved: 13/Dec/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Etienne Aujames | Assignee: | Etienne Aujames |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
2.12.8 LTS/ 2.15 |
||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 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. 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 |
| Comments |
| Comment by Gerrit Updater [ 30/Mar/22 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46955 |
| Comment by Gerrit Updater [ 13/Dec/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/46955/ |
| Comment by Peter Jones [ 13/Dec/22 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 21/Dec/22 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49476 |
| Comment by Gerrit Updater [ 21/Dec/22 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49477 |
| Comment by Gerrit Updater [ 13/Nov/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49477/ |