[lustre-discuss] Question about PFL
Andreas Dilger
adilger at ddn.com
Mon May 12 20:34:38 PDT 2025
Having the actual file layouts would definitely help. There is one "normal" scenario where the PFL layout will be ignored, which is for files created with "open(O_APPEND)" (typically log files, or redirected output like "command >> file" ).
For performance and scalability reasons, the append-only files are by default 1-stripe files and do not specify a pool, though this is configurable via "mdd.*.append_stripe_count" and "mdd.*.append_pool".
Recently this has come up as a point of confusion with observant users, especially with the increasing usage of PFL and multiple pools in the same filesystem.
Two things we are looking to improve in this area (LU-17159):
- mark files that use the "append" layout with a flag so that they can be identified more easily (this would appear in "lfs getstripe output" and the man page)
- use only the first component of the PFL layout for the append files if no explicit append layout is configured. I think this would give more control to users, and be more "intuitive".
Feedback is welcome.
Cheers, Andreas
On May 12, 2025, at 06:51, Colin Faber via lustre-discuss <lustre-discuss at lists.lustre.org> wrote:
You don't mention the version. Also lfs getstripe of the parent directory and one of the files would be helpful as well
On Mon, May 12, 2025, 4:18 AM Noskov, Dr. Sergey via lustre-discuss <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>> wrote:
Hello everyone,
we have two PFL pools in the lustre.
We notice that there are files that are in the directory of pool1, but for some reason they belong to pool2.
Would that be possible that PFL does not always work?
With best regards
Sergey Noskov
_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20250513/b3b38595/attachment.htm>
More information about the lustre-discuss
mailing list