[lustre-discuss] Usage for lfs setstripe -o ost_indices

Mohr Jr, Richard Frank (Rick Mohr) rmohr at utk.edu
Fri Nov 9 08:28:09 PST 2018

> On Nov 8, 2018, at 11:44 AM, Ms. Megan Larko <dobsonunit at gmail.com> wrote:
> I have been attempting this command on a directory on a Lustre-2.10.4 storage from a Lustre 2.10.1 client and I fail with the following message:
> > lfs setstripe -c 4 -S 1m  -o 1,2-4 custTest/
> error on ioctl 0x4008669a for 'custTest' (3): Invalid argument
> error: setstripe: create striped file 'custTest' filed: Invalid argument

Do you get the same error if you try to run this on a file instead of a directory?  Also, don’t you typically need to add the “-d” option when setting stripe parameters for a directory?

Rick Mohr
Senior HPC System Administrator
National Institute for Computational Sciences

More information about the lustre-discuss mailing list