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.

28.3 Filefrag<br />

The e2fsprogs package contains the filefrag tool which reports the extent of file<br />

fragmentation.<br />

Synopsis<br />

filefrag [ -belsv ] [ files... ]<br />

Description<br />

The filefrag utility reports the extent of fragmentation in a given file. Initially,<br />

filefrag attempts to obtain extent information using FIEMAP ioctl, which is efficient<br />

and fast. If FIEMAP is not supported, then filefrag uses FIBMAP.<br />

Note – <strong>Lustre</strong> only supports FIEMAP ioctl. FIBMAP ioctl is not supported.<br />

In default mode 1 , filefrag returns the number of physically discontiguous extents in<br />

the file. In extent or verbose mode, each extent is printed with details. For <strong>Lustre</strong>, the<br />

extents are printed in device offset order, not logical offset order.<br />

1. The default mode is faster than the verbose/extent mode.<br />

Chapter 28 User Utilities (man1) 28-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!