OpenVz on lvm

pjssms

New Member
Sep 6, 2014
1
0
1
hello,

I have a proxmox set for me but i got a local partition with a small ssd disk and a big lvm partition with 4 1 tb disks in raid 10,

i have moved a openvz for it in the meanwhile.

is possible to change the openvz from the local to the lvm partition ?
Is possible to delete and recreate the lvm partition as a local partition ?

How should i do it ?

Thank you,

Paulo Santos
 
Hi,
lvm-storage (as volumegroup) can only used for kvm-disks (logical volumes). OpenVZ-CTs need an filesystem (ext3/4).

But you can create an logical volume on your volumegroup, mount this through /etc/fstab and define this storage inside pve as usable for Containers.
Similiar to storage local (which is also an logical volume on the vg pve).

Udo
 
Hi,

But you can create an logical volume on your volumegroup, mount this through /etc/fstab and define this storage inside pve as usable for Containers.
Similiar to storage local (which is also an logical volume on the vg pve).

Udo

Could someone post the steps, or a link what steps to take?