[PVE-User] OpenVZ container on LVM

James Mills james.mills at overthewire.com.au
Fri Nov 25 10:03:55 CET 2011


Hey Michal,

Could you provide mire details about your setup?
I'm wanting it do seething similar!

cheers
James

Sent from my iPad

On 25/11/2011, at 17:28, "Michał Szamocki" <mszamocki at cirrus.pl> wrote:

> Hello,
>
>> Multiple storages for OpenVZ container, no limit to /var/lib/vz anymore!!!
>
> VZDump has snapshot mode. It checks if container private directory is mounted Logical Volume, make LV snapshot and create tar from this snapshot. Nice feature.
>
> All my CT's are one separate LV's because I use DRBD in PRIMARY-PRIMARY mode to move CT's between HN's quickly. It also allows me to portion disk space more safely (now you have to count summary space of all CT's and compare witch storage size) and run fsck for each CT's. It WORKS.
>
> I vote for ability to create CT's on LVM storage. You made first step. Now you have to add some code to activate and mount LV before starting CT and umount-> deactivate after stopping CT. Maybe some hooks; for example, to run scripts to control DRBD?
>
>
> Greetings,
> Michał Szamocki
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user



More information about the pve-user mailing list