[linux-lvm] Error creating snapshot, "Cannot allocate memory"

Heinz J . Mauelshagen mauelshagen at sistina.com
Wed Dec 4 06:04:01 UTC 2002


On Tue, Dec 03, 2002 at 10:21:20AM -0800, Jason Heiss wrote:
> On Tue, Dec 03, 2002 at 12:52:35PM +0100, Jon Bendtsen wrote:
> > "Heinz J . Mauelshagen" wrote:
> > > 
> > > 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
> > processes
> > running were NFS and samba. Just how much memory does it need ?
> > 
> 
> Indeed, my server has 2 GB of RAM and 1 GB of swap, of which free
> reports only a few hundred MB in use.

Hmmm...

vmalloc() fails to allocate kernel virtual memory. That's why you get the
error. Could well be a constraint in vmalloc() in general or in the
Redhat kernel you use.
Have you tried using a 2.4.20 vanilla kernel and were able to reproduce this
(enough free RAM presumed).

> 
> Jason
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list