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.

Options<br />

The options and descriptions for the filefrag utility are listed below.<br />

Option<br />

Description<br />

-b<br />

Uses the 1024-byte blocksize for the output. By default, this blocksize is used by<br />

<strong>Lustre</strong>, since OSTs may use different block sizes.<br />

-e<br />

Uses the extent mode when printing the output.<br />

-l<br />

Displays extents in LUN offset order.<br />

-s<br />

Synchronizes the file before requesting the mapping.<br />

--v<br />

Uses the verbose mode when checking file fragmentation.<br />

Examples<br />

Lists default output.<br />

$ filefrag /mnt/lustre/foo<br />

/mnt/lustre/foo: 6 extents found<br />

Lists verbose output in extent format.<br />

$ filefrag -ve /mnt/lustre/foo<br />

Checking /mnt/lustre/foo<br />

Filesystem type is: bd00bd0<br />

Filesystem cylinder groups is approximately 5<br />

File size of /mnt/lustre/foo is 157286400 (153600 blocks)<br />

ext:device_logical:start..end physical: start..end:length: device:flags:<br />

0: 0.. 49151: 212992.. 262144: 49152: 0: remote<br />

1: 49152.. 73727: 270336.. 294912: 24576: 0: remote<br />

2: 73728.. 76799: 24576.. 27648: 3072: 0: remote<br />

3: 0.. 57343: 196608.. 253952: 57344: 1: remote<br />

4: 57344.. 65535: 139264.. 147456: 8192: 1: remote<br />

5: 65536.. 76799: 163840.. 175104: 11264: 1: remote<br />

/mnt/lustre/foo: 6 extents found<br />

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