Skip to contentSkip to conversation

Suggested Kernel and LVM version for production storage

linux-lvm Yedidia Klein 2 participants 3 messages Aug 29, 2004 – Sep 5, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I'm using LVM2 on a FC2 based linux w/ the following versions:
Kernel (patched to LVM2 w/ snapshots) : 2.4.23

LVM version:                                                 2.00.15 (2004-04-19)
Library version:                                             1.00.14-ioctl (2004-04-06)
Driver version:                                               4.0.5

Sometimes I'm getting the following errors, and get all my LVM FileSystem Blocked .. (mean I can't access the files on these partitions and have to reboot for getting access again)

-----------------------------------------------------

   Aug 26 01:00:02 nazir kernel: device-mapper: 
                         Unable to allocate hash table space 
   -----------------------------------------------------
   Aug 26 01:00:02 nazir kernel: device-mapper:
                         error adding target to table 
   -----------------------------------------------------
   Aug 26 10:50:47 nazir kernel: device-mapper:
                         4.0.5-ioctl (2003-11-18) initialised:
                         [email protected] 
   -----------------------------------------------------

Any suggestion for a kernel/LVM version ?
Is anyone running a production system w/ LVM2 and snapshot ? if yes which versions ?

thanks,

--Yedidia

#1 lore raw
Quoted 6 lines · Yedidia Klein

Sometimes I'm getting the following errors, and get all my LVM FileSystem Blocked .. (mean I can't access the files on these partitions and have to reboot for getting access again)

   Aug 26 01:00:02 nazir kernel: device-mapper: 
                         Unable to allocate hash table space 

i.e. There wasn't enough memory available to set up the snapshot. What sizes: How big is the LV & snapshot?
What chunk size? [Try changing.]
Is there just one snapshot?
Check your memory usage.

Alasdair

Signature · 1 line
[email protected]
#2 lore raw
Quoted 9 lines · Alasdair G Kergon
Quoted 3 lines · Yedidia Klein

Sometimes I'm getting the following errors, and get all my LVM FileSystem Blocked .. (mean I can't access the files on these partitions and have to reboot for getting access again)

Quoted 8 lines
Quoted 4 lines
  Aug 26 01:00:02 nazir kernel: device-mapper: 
                        Unable to allocate hash table space 

i.e. There wasn't enough memory available to set up the snapshot. What sizes: How big is the LV & snapshot?

main partition is 500GB and I've two snapshots, weekly that is 100G and daily that is 60G

Quoted 4 lines

What chunk size? [Try changing.]

chunk is 8.00 KB (what is the suggested value ??)

Quoted 3 lines

Is there just one snapshot?

as I wrote there are two..

Quoted 3 lines

Check your memory usage.

my hardware memory is almost full 860/1000, but the swap isn't that used (it's now 3.3/2000) do the device mapper need more real mem ?? does it worth to increase the swap ?

tnx,

--Yedidia

Quoted 3 lines

Alasdair