All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Error creating snapshot, "Cannot allocate memory"
@ 2002-12-02 16:32 jheiss-linuxlvm
  2002-12-03  4:56 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 7+ messages in thread
From: jheiss-linuxlvm @ 2002-12-02 16:32 UTC (permalink / raw)
  To: linux-lvm

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

After some experimenting, I found that I could create a snapshot that
is 36 GB or smaller, but anything larger than 36 GB fails with the above
error.  The volume group has 386 GB free.

Any thoughts?  I looked through the changelog and mailing list archives
and couldn't find anything similar.

Other possibly useful bits of info:

OS:  Red Hat 7.3
kernel:  2.4.18-18.7.xsmp
LVM:  1.0.3-4  (Red Hat RPM)

Jason

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [linux-lvm] ERROR creating snapshot: "Cannot allocate memory"
@ 2003-12-03 16:22 Murthy Kambhampaty
  0 siblings, 0 replies; 7+ messages in thread
From: Murthy Kambhampaty @ 2003-12-03 16:22 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

While trying to snapshot a 335 GB LV (sdd1) on a machine with 12 GB of RAM,
and 67 GB of free space (sdc1), I get the following error:

lvcreate -s -l 21 -n snapshot /dev/VGdb01/LVdb
lvcreate -- WARNING: the snapshot will be automatically disabled once it
gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for
"/dev/VGdb01/snapshot"
lvcreate -- ERROR "Cannot allocate memory" creating VGDA for
"/dev/VGdb01/snapshot" in kernel

kernel is 2.4.21 (LVM 1.0.5+) with tools form
~redhat/contrib/lvm-1.0.5.src.rpm

Help

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [linux-lvm] ERROR creating snapshot: "Cannot allocate memory"
@ 2003-12-04 12:24 Little, Chris
  0 siblings, 0 replies; 7+ messages in thread
From: Little, Chris @ 2003-12-04 12:24 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

good luck getting help on snapshot.  i've posted a couple of times and
haven't gotten a response.  It's buggy and it corrupts data.  don't use it.

> -----Original Message-----
> From: Murthy Kambhampaty [mailto:murthy.kambhampaty@goeci.com]
> Sent: Wednesday, December 03, 2003 4:22 PM
> To: 'linux-lvm@sistina.com'
> Subject: [linux-lvm] ERROR creating snapshot: "Cannot allocate memory"
> 
> 
> While trying to snapshot a 335 GB LV (sdd1) on a machine with 
> 12 GB of RAM,
> and 67 GB of free space (sdc1), I get the following error:
> 
> lvcreate -s -l 21 -n snapshot /dev/VGdb01/LVdb
> lvcreate -- WARNING: the snapshot will be automatically 
> disabled once it
> gets full
> lvcreate -- INFO: using default snapshot chunk size of 64 KB for
> "/dev/VGdb01/snapshot"
> lvcreate -- ERROR "Cannot allocate memory" creating VGDA for
> "/dev/VGdb01/snapshot" in kernel
> 
> kernel is 2.4.21 (LVM 1.0.5+) with tools form
> ~redhat/contrib/lvm-1.0.5.src.rpm
> 
> Help
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

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

end of thread, other threads:[~2003-12-04 12:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02 16:32 [linux-lvm] Error creating snapshot, "Cannot allocate memory" jheiss-linuxlvm
2002-12-03  4:56 ` Heinz J . Mauelshagen
2002-12-03  5:53   ` Jon Bendtsen
2002-12-03 12:21     ` Jason Heiss
2002-12-04  6:04       ` Heinz J . Mauelshagen
  -- strict thread matches above, loose matches on Subject: below --
2003-12-03 16:22 [linux-lvm] ERROR creating snapshot: " Murthy Kambhampaty
2003-12-04 12:24 Little, Chris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.