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.

In most cases, running e2fsck -fp $device will fix most types of corruption.<br />

The e2fsck program has been used for many years and has been tested with a<br />

huge number of different corruption scenarios. If you suspect serious corruption,<br />

or do not expect e2fsck to fix the problem, then consider running a manual check,<br />

e2fsck -f $device. The limitation of the manual check is that it is interactive<br />

and can be quite lengthy if there are a lot of problems.<br />

How do I clean up a device with lctl?<br />

1. Run:<br />

lconf --cleanup --force<br />

2. If that does not work, then start lctl (if it is not already started).<br />

3. Then starting with the highest-numbered device and working backward, clean<br />

up each device.<br />

root# clctl<br />

lctl> cfg_device ost003_s1_client<br />

lctl> cleanup force<br />

lctl> detach<br />

lctl> cfg_device OSS<br />

lctl> cleanup force<br />

lctl> detach<br />

lctl> cfg_device ost003_s1<br />

lctl> cleanup force<br />

lctl> detach<br />

At this point, you should be possible to unload the <strong>Lustre</strong> modules.<br />

What is the default block size for <strong>Lustre</strong>?<br />

The on-disk block size for <strong>Lustre</strong> is 4 KB (same as ext3). Nevertheless, <strong>Lustre</strong> goes<br />

to great lengths to do 1 MB reads and writes to the disk, as large requests are a<br />

key to getting very high performance.<br />

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