linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* resize2fs: Memory allocation failed while trying to resize
@ 2013-08-28 15:29 Tim
  2013-08-29 16:04 ` Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Tim @ 2013-08-28 15:29 UTC (permalink / raw)
  To: linux-ext4

Hi,

I used resize2fs to do an online grow of from 8TB to 12TB and that worked fine.
now I'm trying to offline shrink back down to 8TB and resize2fs is
unable to do so.

Output:
resize2fs -M /dev/mapper/
crypt_left
resize2fs 1.42.5 (29-Jul-2012)
Resizing the filesystem on /dev/mapper/crypt_left to 1885633106 (4k) blocks.
resize2fs: Memory allocation failed while trying to resize
/dev/mapper/crypt_left
Please run 'e2fsck -fy /dev/mapper/crypt_left' to fix the filesystem
after the aborted resize operation.

I am using a raspberrypi so it's 32-bit and limited to 256MB and I
have 2x that in swap.

uname -a
Linux test 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux

I was watching top and never saw it use more that 53% of the RAM but I
may have missed the crucial moment.
(taken during a "e2fsck -fy ")
free
             total used free shared buffers cached
Mem: 237648 225440 12208 0 63240 11796
-/+ buffers/cache: 150404 87244
Swap: 475132 13444 461688

Please let me know if there is anything that would help solve this issue.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-29 23:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-28 15:29 resize2fs: Memory allocation failed while trying to resize Tim
2013-08-29 16:04 ` Eric Sandeen
2013-08-29 23:24   ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).