[Lustre-discuss] How to estimate the time for e2fsck on OST

Adam adam at sharcnet.ca
Sat Sep 5 06:26:47 PDT 2009


Thanks for the advice everyone. I updated to e2fsprogs-1.41.6.sun1 (much
better for clearing that MMP block, and I'm sure there are other
benefits) and re-ran e2fsck. With the e2fsprogs-1.40.11.sun1 version of
e2fsck and ltrace resulted in a seg-fault, but with the new version the
ltrace shows that e2fsck isn't doing anything other then consuming CPU.

I'm ready to repave the OST unless anyone has any ideas. I mean, if
e2fsck fails... what's left to do?

Thanks,
Adam 

On Fri, 2009-09-04 at 09:44 -0400, Adam wrote:
> What if there *are* serious file-system problems? We're half-way into
> CPU hour 7 of our e2fsck run on a 8TB OST with ~274 million inodes:
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 
> ##### root      25   0 15.1g 1.1g  772 R  100 57.4 472:07.67 e2fsck
> 
> If it finishes within my lifetime I'll post how long it takes.
> 
> Thanks,
> Adam
> 
> On Wed, 2009-07-29 at 04:35 -0600, Andreas Dilger wrote:
> > On Jul 29, 2009  15:16 +0800, huangql wrote:
> > > We want to run e2fsck on OSTs to finish them. However, as to the
> > > running time, we should estimate how long it takes to run e2fsck on
> > > OSTs. We hopefully to know what elements to affect the running time like
> > > the size of OST, the average size of files and so on. Can you give us
> > > the tips for it? And I hope to receive you email as soon as possible.
> > 
> > The variables in your question are numerous:
> > - size of the filesystem
> > - number of inodes
> > - number of allocated blocks
> > - distribution of the above on the disk
> > - speed of the disks
> > - speed of the CPU
> > - amount of RAM on server
> > 
> > Reasonable e2fsck times (without serious filesystem problems) might
> > take between 5 minutes and 2 hours.
> > 
> > Cheers, Andreas
> > --
> > Andreas Dilger
> > Sr. Staff Engineer, Lustre Group
> > Sun Microsystems of Canada, Inc.
> > 
> > _______________________________________________
> > Lustre-discuss mailing list
> > Lustre-discuss at lists.lustre.org
> > http://lists.lustre.org/mailman/listinfo/lustre-discuss
> 
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss




More information about the lustre-discuss mailing list