On Thu, May 20, 2010 at 06:00:19PM -0700, Ulf Zimmermann wrote: > We are setting up 2 new EL5 U4 machines to replace our current database > servers running our demo environment. We use 3Par SANs and their snap clone > options. The current production system we snap clone from is EL4 U5 with > ocfs2 1.2.9, the new servers have ocfs2 1.4.3 installed. Part of the refresh > process is to run fsck.ocfs2 on the volume to recover, but right now as I am > trying to run it on our 700GB volume it shows a virtual memory size of > 21.9GB, resident of 10GB and it is killing the machine with swapping (24GB > physical memory). > > Can anyone enlighten what is going on?
How big are your filesystems? Can we get the output of debugfs.ocfs2 -R 'stats' /dev/xxx? Recent fsck.ocfs2 knows how to build its own I/O cache for significant speed improvements. It only tries to get as much cache as the filesystem actually needs, and no more than half of system memory. That's why I'm asking for your filesystem size - I'm guessing you have more than 12GB of used space on the filesystem, so fsck.ocfs2 is trying to grab that much cache. Joel -- "In the room the women come and go Talking of Michaelangelo." Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127 _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users