Re: e2fsck running extremely slowly

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

 



On Sun, Jul 21, 2013 at 03:45:20PM -0700, H. Peter Anvin wrote:
> I have a large filesystem (14 TB) which suffered a RAID failure which
> seems to have corrupted some inodes.  Unfortunately as a result there
> are now a number of inodes with "false extents" which result in a very
> large number of multiply claimed blocks.
> 
> I have tried to run e2fsck on this filesystem, and it gets as far as
> phase 1D, at which point it starts running at a glacial pace.  After 48
> hours -- most of it sitting at 100% CPU executing no system calls at all
> -- it claims to have processed a single file out of almost 10000.

What I usually do when I is to look at the inodes that are corrupted
in phases 1b, and examine them using debugfs.  If they look insane,
nuke them using the debugfs clri command.

Yes, this is horribly manual.  The long term planned solution is that
the metadata checksum feature will allow us to determine the metadata
is corrupt, and then e2fsck will know which fs metadata it can trust,
and which it will have to discard.

				- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux