23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Option<br />

Description<br />

help<br />

Provides brief help on various lfs arguments.<br />

exit/quit<br />

Quits the interactive lfs session.<br />

* The default stripe-size is 0. The default stripe-start is -1. Do NOT confuse them! If you set stripe-start to 0, all<br />

new file creations occur on OST 0 (seldom a good idea).<br />

† The file cannot exist prior to using setstripe. A directory must exist prior to using setstripe.<br />

‡ The old setquota interface is supported, but it may be removed in a future <strong>Lustre</strong> release.<br />

Examples<br />

$ lfs setstripe -s 128k -c 2 /mnt/lustre/file<br />

Creates a file striped on two OSTs with 128 KB on each stripe.<br />

$ lfs setstripe -d /mnt/lustre/dir<br />

Deletes a default stripe pattern on a given directory. New files will use the default<br />

striping pattern.<br />

$ lfs setstripe --pool my_pool /mnt/lustre/dir<br />

Associates a directory with the pool my_pool, so all new files and directories are<br />

created in the pool.<br />

$ lfs setstripe --pool my_pool -c 2 /mnt/lustre/file<br />

Creates a file striped on two OSTs from the pool my_pool<br />

$ lfs pool_list /mnt/lustre/<br />

Lists the pools defined for the mounted <strong>Lustre</strong> filesystem /mnt/lustre<br />

$ lfs pool_list my_fs.my_pool<br />

Lists the OSTs which are members of the pool my_pool in filesystem my_fs<br />

$ lfs getstripe -v /mnt/lustre/file1<br />

Lists the detailed object allocation of a given file.<br />

28-8 <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!