OpenVZ Forum


Home » General » Support » LVM support inside a container
icon5.gif  LVM support inside a container [message #32641] Thu, 21 August 2008 15:02 Go to previous message
ebastien is currently offline  ebastien
Messages: 1
Registered: August 2008
Junior Member
Hello,
In a container running MySQL, I would like to store the data files on a LVM volume for easy backup through LVM snapshots.
I tried giving all "capabilities" to the container and exporting devices /dev/lvm and /dev/mapper/control, but without success. I always get the error "No program "blablabla" found for your current version of LVM", which means that something is still missing...
It is of course possible to create the LVM volumes on the HN and then "mount bind" to the CT but it makes the setup complex to handle for automated MySQL backup tools. My preferred setup would be to delegate all the snapshot stuff to the container.
Has anybody already succeeded in running LVM in a container ? The only post I found on this subject was dealing with LVM for the root fs of the CT, which was not possible.

Emmanuel
 
Read Message icon5.gif
Read Message
Previous Topic: HELP! can not find "which" command in VPS
Next Topic: VZMIGRATE not work ssh <> 22
Goto Forum:
  


Current Time: Sun Jul 14 17:52:15 GMT 2024

Total time taken to generate the page: 0.02320 seconds