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

2018-11-09 Thread Patrick Farrell
until they are written to.) If you instead use lfs setstripe -o to create a file, that should work. * Patrick From: lustre-discuss on behalf of "Ms. Megan Larko" Date: Friday, November 9, 2018 at 2:20 PM To: Lustre User Discussion Mailing List Subject: Re: [lustre-discuss] Usa

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

2018-11-09 Thread Ms. Megan Larko
Responding to A. Dilger (orig e-mail copied below) I am not sure what the overall objective is trying to achieve in specifically identifying to which OSTs to write; it was a question from one in our user community. I am not able to specify -o to an existing file. I have not tried to use the lustr

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

2018-11-09 Thread Andreas Dilger
This is https://jira.whamcloud.com/browse/LU-8417 "setstripe -o does not work on directories", which has not been implemented yet. That said, setting the default striping to specific OSTs on a directory is usually not the right thing to do. That will result in OST imbalance. Equivalent mechanis

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

2018-11-09 Thread Mohr Jr, Richard Frank (Rick Mohr)
> On Nov 9, 2018, at 11:28 AM, Mohr Jr, Richard Frank (Rick Mohr) > wrote: > > >> On Nov 8, 2018, at 11:44 AM, Ms. Megan Larko 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: >>>

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

2018-11-09 Thread Mohr Jr, Richard Frank (Rick Mohr)
> On Nov 8, 2018, at 11:44 AM, Ms. Megan Larko 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

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

2018-11-08 Thread Ms. Megan Larko
Greetings List! What is the correct invocation of specifying exact stripe layout in Lustre? I am attempting to use the --ost | -o option to lfs setstripe. The Lustre_Operations_Manual as of 16 May 2018 Section 38.1.3 indicates that --ost-index "option is used to specify the exact stripe layout o