Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#254 Error allocating icount structure: Memory allocation failed

open
Theodore Ts'o
e2fsck (61)
5
2012-11-28
2010-01-14
Anonymous
No

While trying to fsck a 7TB RAID, I get the following error:

ubuntu@ubuntu:~$ date; sudo fsck -nC /dev/sdb1; date
Thu Jan 14 09:23:04 UTC 2010
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
/dev/sdb1 has gone 260 days without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Error allocating icount structure: Memory allocation failed
e2fsck: aborted
Thu Jan 14 13:37:59 UTC 2010

I have attached some additional information.

The filesystem has 855 million inodes. The only memory requirements I was able to find for e2fsck state that it requires about 0.5MB of memory per million inodes, so it should require about 418MB for this drive, which is much less than the 1.8GB available (plus a 1TB swap drive which I added because I was getting the same error with 8GB of swap.)

Am I running into a per-process RAM limitation, or a bug in e2fsck, or something else?

Thanks,
--
Don

Discussion

  • Diagnostic info

     
    Attachments
  • 7Cg3kv <a href="http://xegvhcfidolq.com/">xegvhcfidolq</a>, [url=http://bkyaybqmvtts.com/]bkyaybqmvtts[/url], [link=http://lyjunyufvelu.com/]lyjunyufvelu[/link], http://tqykbpxeyqhw.com/

     
  • KIWSuF <a href="http://wtdigeytvzki.com/">wtdigeytvzki</a>, [url=http://sgreezlpnxea.com/]sgreezlpnxea[/url], [link=http://ylzyfqeaufgh.com/]ylzyfqeaufgh[/link], http://pmmtrqyttlsq.com/

     
  • kFTnvR <a href="http://iziubdvnocqf.com/">iziubdvnocqf</a>, [url=http://gfvojrqmnqdx.com/]gfvojrqmnqdx[/url], [link=http://zkyoigkvwdqb.com/]zkyoigkvwdqb[/link], http://pkcmzbukxrfe.com/

     
  • RV6xTJ <a href="http://auxpezujnzos.com/">auxpezujnzos</a>, [url=http://ykhdueymofpx.com/]ykhdueymofpx[/url], [link=http://sbpmtteujdoa.com/]sbpmtteujdoa[/link], http://xrmpddhgsgqp.com/

     
  • vaj4Xz <a href="http://cgievpexfhii.com/">cgievpexfhii</a>, [url=http://ijwgxujsmoju.com/]ijwgxujsmoju[/url], [link=http://huwikyuwgwxd.com/]huwikyuwgwxd[/link], http://jrrhmwzvddyr.com/

     
  • pMzvIN <a href="http://ucmaxadhawvx.com/">ucmaxadhawvx</a>, [url=http://cmhrwndkunbq.com/]cmhrwndkunbq[/url], [link=http://kxzvfupqtgga.com/]kxzvfupqtgga[/link], http://lqonwyfejzsj.com/