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.

Is it possible to change the IP address of a OST? MDS?<br />

Change the UUID?<br />

The IP address of any node can be changed, as long as the rest of the machines in the<br />

cluster are updated to reflect the new location. Even if you used hostnames in the<br />

xml config file, you need to regenerate the configuration logs on your metadata<br />

server.<br />

It is also possible to change the UUID, but unfortunately it is not very easy as two<br />

binary files would need editing.<br />

How do I set striping on a file?<br />

To stripe a file across OSTs with stripesize of blocks per stripe, run:<br />

lfs setstripe <br />

<br />

This creates "new_filename" (which must not already exist).<br />

We strongly recommend that the stripe_size value be 1MB or larger (size in bytes).<br />

Best performance is seen with one or two stripes per file unless it is a file that has<br />

shared IO from a large number of clients, when the maximum number of stripes is<br />

best (pass -1 as the stripe count to get maximum striping).<br />

The stripe_offset (OST index which holds the first stripe, subsequent stripes are<br />

created on sequential stripes) should be "-1" which means allocate stripes in a roundrobin<br />

manner. Abusing the stripe_offset value leads to uneven usage of the OSTs and<br />

premature filesystem usage.<br />

Most users want to use:<br />

lfs setstripe 2097152 -1 N<br />

Or use system-wide default stripe size:<br />

lfs setstripe 0 -1 N<br />

You may want to make a simple wrapper script that only accepts the <br />

parameter. Usage info via "lfs help setstripe".<br />

D-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!