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 
<[email protected]> 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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to