[linux-lvm] Error creating snapshot, "Cannot allocate memory"
jon+lvm at silicide.dk
Tue Dec 3 05:53:02 UTC 2002
"Heinz J . Mauelshagen" wrote:
> On Mon, Dec 02, 2002 at 02:32:23PM -0800, jheiss-linuxlvm at ofb.net wrote:
> > I have a volume group that is 1.4 TB, with a volume that is 400 GB.
> > I currently have three 50 GB snapshots of that volume. When I try
> > to create a fourth, I get the following error:
> > bash-2.05a# lvcreate -L 50G -s -n snap_home1_20021202 /dev/home/home1
> > lvcreate -- WARNING: the snapshot will be automatically disabled once it
> > gets full
> > lvcreate -- INFO: using default snapshot chunk size of 64 KB for
> > "/dev/home/snap_home1_20021202"
> > lvcreate -- ERROR "Cannot allocate memory" creating VGDA for
> > "/dev/home/snap_home1_20021202" in kernel
> You don't have enough kernel virtual memory to hold the snapshot exception
> table in core :(
> Install more RAM.
I've seen this error as well. In a machine with 1GB memory and the only
running were NFS and samba. Just how much memory does it need ?
> We have planned to reduce the amount of RAM needed to hold such tables
> in LVM2/device-mapper next year.
That would be nice.
More information about the linux-lvm