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.

32.5 New Utilities in <strong>Lustre</strong> <strong>1.6</strong><br />

This section describes new utilities available in <strong>Lustre</strong> <strong>1.6</strong>.<br />

32.5.1 lustre_rmmod.sh<br />

The lustre_rmmod.sh utility removes all <strong>Lustre</strong> and LNET modules (assuming no<br />

<strong>Lustre</strong> services are running). It is located in /usr/bin.<br />

Note – The lustre_rmmod.sh utility does not work if <strong>Lustre</strong> modules are being<br />

used or if you have manually run the lctl network up command.<br />

32.5.2 e2scan<br />

The e2scan utility is an ext2 filesystem-modified inode scan program. The e2scan<br />

program uses libext2fs to find inodes with ctime or mtime newer than a given time<br />

and prints out their pathname. Use e2scan to efficiently generate lists of files that<br />

have been modified. The e2scan tool is included in e2fsprogs, located at:<br />

http://downloads.clusterfs.com/public/tools/e2fsprogs/latest<br />

Synopsis<br />

e2scan [options] [-f file] block_device<br />

Description<br />

When invoked, the e2scan utility iterates all inodes on the block device, finds<br />

modified inodes, and prints their inode numbers. A similar iterator, using<br />

libext2fs(5), builds a table (called parent database) which lists the parent node for<br />

each inode. With a lookup function, you can reconstruct modified pathnames from<br />

root.<br />

Chapter 32 System Configuration Utilities (man8) 32-17

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

Saved successfully!

Ooh no, something went wrong!