<div>We've got a server that uses lvm2 to handle a mysql volume.  When the server had 2gb of memory, taking a snapshot for backups was perfectly smooth.  When we added 2gb of memory more (total of 4gb), we started getting fatal errors:
</div>
<div> </div>
<div>[root@edge1 ~]# lvcreate -L500M -s -n mysqlbk /dev/edge/mysql<br>  device-mapper ioctl cmd 9 failed: Cannot allocate memory<br>  Couldn't load device 'edge-mysqlbk'.<br>  Problem reactivating origin mysql<br> </div>

<div>and dmesg showed:</div>
<div>device-mapper: Unable to allocate hash table space<br>device-mapper: error adding target to table</div>
<div> </div>
<div>This was with all services stopped, so nothing should have been using any of the 4gb of memory.</div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div>Thanks,<br clear="all"><br>-- <br>Jon Coulter<br><a href="mailto:ledjon@ledjon.com">ledjon@ledjon.com</a> </div>