23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

25.3 lfs setstripe – Setting File Layouts<br />

Use the lfs setstripe command to create new files with a specific file layout<br />

(stripe pattern) configuration.<br />

lfs setstripe [--size|-s stripe-size] [--count|-c stripe-cnt]<br />

[--index|-i start-ost] <br />

stripe-size<br />

If you pass a stripe-size of 0, the filesystem’s default stripe size is used. Otherwise,<br />

the stripe-size must be a multiple of 64 KB.<br />

stripe-start<br />

If you pass a starting-ost of -1, a random first OST is chosen. Otherwise, the file<br />

starts on the specified OST index, starting at zero (0).<br />

stripe-count<br />

If you pass a stripe-count of 0, the filesystem’s default number of OSTs is used. A<br />

stripe-count of -1 means that all available OSTs should be used.<br />

Note – If you pass a starting-ost of 0 and a stripe-count of 1, all files are written to<br />

OST #0, until space is exhausted. This is probably not what you meant to do. If you<br />

only want to adjust the stripe-count and keep the other parameters at their default<br />

settings, do not specify any of the other parameters:<br />

lfs setstripe -c <br />

25-6 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!