[linux-lvm] "Cannot allocate memory" creating VGDA

Paul Warren pdw at ex-parrot.com
Sat Oct 16 14:40:45 UTC 2004

On Sat, Oct 16, 2004 at 02:09:29PM +0100, Alasdair G Kergon wrote:
> On Sat, Oct 16, 2004 at 11:05:47AM +0100, Paul Warren wrote:
> > lvcreate -- ERROR "Cannot allocate memory" creating VGDA for
> > "/dev/mainvg/rootsnapshot" in kernel
> > Any ideas on this one?
> Ensure the LVM1 part of your kernel is fully patched (there
> was a memory over-allocation bug IIRC, but I forget the details).
> Try using larger chunk sizes.

Varying the chunk size doesn't seem to help.  This appears to be the
HIGHMEM issue that has come up on the list before.  If we recompile the
kernel without HIGHMEM support, it works OK (apart from the
unavailability of 3/4 of the RAM).

We're running 2.4.27 - are there patches beyond that?

Has anyone had any success with getting snapshots to work on a machine
with > 1GB RAM?



More information about the linux-lvm mailing list