Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Lustre 2.10.0
-
None
-
3
-
9223372036854775807
Description
In current implementation of PFL component creation API, the setstripe options are inheritable, which means the next component will take all setstripe options appeared in previous components. This poses a problem that there is no way of creating a component with default options, unless it's in the first component in the lfs setstripe command.
Per discussion with Andreas, a new setstripe option --parent is required to explicitly indicate the component will use default stripe from parent.
Attachments
Issue Links
- is related to
-
LU-8998 Progressive File Layout (PFL)
-
- Resolved
-
I think we are discussing if it's right to introduce this option, but not when this option should be implemented (in PFL or FLR).
There are already too many options for 'lfs setstripe', let's try to use single 'config file' option to reduce command line inputs, but not introducing one for each individual use case. In your mirror creation case, I think user may use a pre-defined config file for the mirror component. One thing worth noting is that "system/dir default stripe size, count, offset" could be obsoleted soon, because all default layouts (for root or parent dir) will be a composite layout.