Re: 2GB memory limit running fsck on a +6TB device

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

 



On Jun 11, 2008  13:51 +0200, santi@xxxxxxxxxxxx wrote:
> On Wed, 11 Jun 2008 10:14:45 +0200, <santi@xxxxxxxxxxxx> wrote:
> 
> >> Because /var/cache/e2fsck is on the same disk spindle as the
> >> filesystem you are checking, you're probably getting killed on seeks.
> >> Moving /var/cache/e2fsck to another disk partition will help (or
> >> better yet, battery backed memory device), but the best thing you can
> >> do is get a 64-bit kernel and not need to use the auxiliary storage in
> >> the first place.
> > 
> > I'm trying a fast test with "mount tmpfs /var/cache/e2fsck -t tmpfs -o
> > size=2048M", but appears that will take a long time to complete too.. so
> > the next test will be with a 64-bit LiveCD :)
> 
> Note that putting '/var/cache/e2fsck' in a memory filesystem is aprox. 3
> times faster ;-)

...but, isn't the problem that you don't have enough RAM?  Using tdb+ramfs
isn't going to be faster than using the RAM directly.

I suspect that the only way you are going to check this filesystem efficiently
is to boot a 64-bit kernel (even just from a rescue disk), set up some swap
just in case, and run e2fsck from there.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.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