Details
-
Bug
-
Resolution: Fixed
-
Major
-
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
- is related to
-
LU-15658 Interop sanity-flr test_0b test_0c test_0e test_0f: verify pool failed != flash
-
- Resolved
-
-
LU-14480 Setting specific OST's under pool failed with error message "invalid argument"
-
- Resolved
-
-
LUDOC-511 Add documentation for special/reserved pool name "ignore", "none and "inherit"
-
- Resolved
-