Re: e2fsck on ext3 is 10x slower than ext2

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

 



On Mar 04, 2003  00:12 +0000, Tim Baverstock wrote:
> I'm using Debian. Is this a Redhat-only list, or is it only hosted by RedHat?

It is open to all ext3 users.

> I notice that the fsck takes a good ten times longer than under ext2, to 
> perform the cleanly unmounted check. (On the occasion where I did unmount 
> dirtily, the journals played back and things came up swiftly - huzzah.)

It is almost impossible that this is the case and/or the cause of the
slowdown (although of course you must be having _some_ problem, and
finding the cause of it is of course welcome).  Aside from doing the
journal recovery (which should only take a few seconds), e2fsck doesn't
do anything differently for ext2 and ext3.  This is because the on-disk
layout of the two filesystems is identical aside from ext3 having an
extra inode for the journal.

If you are really curious, you could always try timing "e2fsck -f <dev>",
then removing the journal via "tune2fs -O ^has_journal" and re-running
"e2fsck -f <dev>" to see if it makes a difference.  Don't forget to
re-enable journaling with "tune2fs -O has_journal" when finished.

> I also notice that I can see .journal files, despite /proc/mounts showing 
> ext3 for all my disc-based filing systems.

I believe that if you update to a newer e2fsprogs, it will "hide" your
.journal files if you run e2fsck on them while unmounted.  This means
that the .journal files will be gone on all except the root filesystem.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/



_______________________________________________

Ext3-users@redhat.com
https://listman.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux