Re: e2fsck with millions of files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Aug 31, 2010, at 9:14 AM, Sean Carolan <scarolan@xxxxxxxxx> wrote:

> I have a large (1.5TB) partition with millions of files on it.  e2fsck has been running nearly 12 hours and is still on "Checking directory structure".  Any tips for speeding this along?

Disable fsck for that file system then google for online/delayed/background fsck script.

The script will take an LVM snapshot and fsck the snapshot and only if it finds a problem with the snapshot will it email the operator and set the file system to be fsck'ed on the next reboot. When it finishes it deletes the snapshot.

This will allow your system to come up right away. Performance will decline during this, but it's better than inaccessible.

-Ross

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux