Details
-
Improvement
-
Resolution: Unresolved
-
Critical
-
Lustre 2.12.0, Lustre 2.13.0
-
9223372036854775807
Description
It is useful to enable newer features like PFL, DoM, and FLR at format time, so that users unfamiliar with Lustre can have a default filesystem configuration that is most useful. In particular, enabling PFL for new filesystems is desirable for new releases, and if the MDT is configured with a large amount of space per inode (using e.g. "--mkfsoptions='-i 65536'" for ldiskfs, or always for ZFS) then a DoM component could be added.
Some options for implementing this exist:
- after formatting the MDT, when it is mounted as type ldiskfs use "lfs setstripe" to generate an xattr and write it to the ROOT/ directory using setxattr() instead of ioctl(). Allowing mkfs.lustre to accept an arbitrary layout would be most flexible.
- have "pre-built" xattrs that are written to the ROOT/ directory at format time (either inside the kernel or from mkfs.lustre. This would likely handle most of the cases, and for expert users that know they want a different default, they can set it after mount.
I don't think that mounting the MDT as type lustre, and then mounting a local client and using "lfs setstripe" is practical.
Attachments
Issue Links
- is blocked by
-
LU-11656 "lfs getstripe" on directory does not show default root layout
- Resolved
- is related to
-
LU-7723 few tests in sanity.sh fail because of STRIPES_PER_OBJ=-1
- Open
-
LU-8154 Auster - move setstripe options to config variable.
- Resolved
-
LU-16904 initial test script to run sanity.sh and sanityn.sh with PFL layout
- Resolved
-
LU-13058 Intermediate component removal (PFL/SEL)
- Open
-
LU-14274 enhance racer/file_create.sh to set striping
- Resolved
- is related to
-
LU-10465 increase default stripe size to 4MB
- Resolved
-
LU-12390 allow custom filesystem layout for tests
- Resolved
-
LU-9324 sanity-pfl test 10 needs to reset the file system default layout
- Resolved