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.

32.5.8 Fast e2fsck Using the uninit_bg Feature<br />

The uninit_bg feature helps improve e2fsck time by keeping a high watermark of<br />

used inodes for each group. Block and inode bitmaps can be left uninitialized ondisk.<br />

These bitmaps are tracked by flags in the group descriptor to avoid reading or<br />

scanning them at e2fsck time. Checksums of group descriptors are maintained to<br />

make sure that corruption of group descriptor flags does not cause uninit_bg to<br />

operate incorrectly.<br />

To enable uninit_bg on a new filesystem:<br />

$ mke2fs -O uninit_bg /dev/XXX<br />

To enable uninit_bg on an existing filesystem:<br />

$ tune2fs -O uninit_bg /dev/XXX<br />

$ e2fsck -fy /dev/XXX<br />

Note – Expect many "checksum incorrect" messages.<br />

To disable uninit_bg:<br />

$ tune2fs -O ^uninit_bg /dev/XXX<br />

$ e2fsck -fy /dev/XXX<br />

Note – Expect many "checksum incorrect" messages.<br />

Note – The uninit_bg feature is enabled, by default, with mkfs.lustre.<br />

This feature was called "uninit_groups" in earlier <strong>Lustre</strong>-e2fsprogs releases. For<br />

compatibility, it is still supported by tune2fs.<br />

32-22 <strong>Lustre</strong> 1.7 <strong>Operations</strong> <strong>Manual</strong> • August 2008

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

Saved successfully!

Ooh no, something went wrong!