Artificial intelligent assistant

Striping a directory in lustre What exactly happens when a directory has a default layout in lustre? As far as I know, if a directory has a default layout then whatever striping parameters are set for the directory are applied to the files created in that directory (unless mentioned explicitly). However, I tried for it but could not see that. I mentioned the stripe count for directory=2 (`lfs setstripe -c 2 /mnt/lustre/directory`), and created the file inside it using `lfs setstripe /mnt/lustre/directory/file1` but when I do `lfs getstripe /mnt/lustre/directory/file1` I could see stripe count=1. Why is it so?

Did you try creating a file without using `lfs setstripe` (e.g. `touch /mnt/lustre/directory/file1`)? When I tried creating a file inside striped directory using touch command it worked as expected (`getstripe` command returned `lmm_stripe_count: 2` value).

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 4bc8753110711423663feaa5cb0bcb2b