Odd LVM error...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've got a server w/ 4 gigs of ram in it (I'm running the SMP kernel, 
not bigmem due to latency in bigmem), and I've got a hardware raid 10 
set up, most of which is taken up by a LVM physical volume, and volume 
group.  I've created one logical volume that leaves some 8 gigs worth 
of free space, for which I am attempting to create a snapshot.  I'm 
getting a rather strange error, and not finding much help out on google 
and whatnot.  This is a Dual Xeon 2.4ghz w/ Hyperthreading, so the OS 
sees 4 cpus.

[root@xxxxxxxxx root]# lvcreate -c 4k --size 2048m --snapshot --name 
snap1 /dev/mysql/data
lvcreate -- WARNING: the snapshot will be automatically disabled once it 
gets full
lvcreate -- ERROR "Cannot allocate memory" creating VGDA for 
"/dev/mysql/snap1" in kernel


        total:    used:    free:  shared: buffers:  cached:
Mem:  3963469824 125816832 3837652992        0  8904704 42029056
Swap: 2146754560        0 2146754560
MemTotal:      3870576 kB
MemFree:       3747708 kB
MemShared:           0 kB
Buffers:          8696 kB
Cached:          41044 kB
SwapCached:          0 kB
Active:          74880 kB
ActiveAnon:      27476 kB
ActiveCache:     47404 kB
Inact_dirty:       684 kB
Inact_laundry:       0 kB
Inact_clean:      1652 kB
Inact_target:    15440 kB
HighTotal:     3014592 kB
HighFree:      2938496 kB
LowTotal:       855984 kB
LowFree:        809212 kB
SwapTotal:     2096440 kB
SwapFree:      2096440 kB


--- Volume group ---
VG Name               mysql
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                10
Cur LV                1
Open LV               1
MAX LV Size           255.99 GB
Max PV                256
Cur PV                1
Act PV                1
VG Size               78.93 GB
PE Size               4 MB
Total PE              20207
Alloc PE / Size       18432 / 72 GB
Free  PE / Size       1775 / 6.93 GB
VG UUID               rGhVdJ-yHEz-P9T9-f753-Cta8-2DKj-9uZXFY

[root@xxxxxxxxx root]# lvdisplay /dev/mysql/data
--- Logical volume ---
LV Name                /dev/mysql/data
VG Name                mysql
LV Write Access        read/write
LV Status              available
LV #                   1
# open                 1
LV Size                70 GB
Current LE             17920
Allocated LE           17920
Allocation             next free
Read ahead sectors     1024
Block device           58:0

So how is 4 gigs not enough ram?

[root@xxxxxxxxx root]# uname -a
Linux localhost.localdomain 2.4.20-18.9smp #1 SMP Thu May 29 06:55:05 
EDT 2003 i686 i686 i386 GNU/Linux

-- 
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (http://www.microwerks.net/~hugo/)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux