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.

To fix dangling inodes, lfsck creates new zero-length objects on the OSTs if the -c<br />

option is given. These files read back with binary zeros for the stripes that had<br />

objects recreated. Such files can also be read even without lfsck repair by using this<br />

command, run:<br />

$ dd if=/lustre/bad/file of=/new/file bs=4k conv=sync,noerror.<br />

Because it is rarely useful to have files with large holes in them, most users delete<br />

these files after reading them (if useful) and/or restoring them from backup.<br />

Note – You cannot write to the holes of such files without having lfsck recreate the<br />

objects. Generally, it is easier to delete these files and restore them from backup.<br />

To fix inodes with duplicate objects, lfsck copies the duplicate object to a new<br />

object, and assign that to one of the files if the -c option is given. One of the files<br />

will be okay, and one will likely contain garbage; lfsck cannot, by itself, tell which<br />

one is correct.<br />

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