new storage added, how to select it for new openvz vpses?

  • Thread starter Thread starter ataomega
  • Start date Start date
A

ataomega

Guest
Hello


new storage added to proxmox. how to create new openvz vpses on that? in creating of kvm vpses i can select the storage but in openvz no.


please help

thanks in advance
 
Hello


new storage added to proxmox. how to create new openvz vpses on that? in creating of kvm vpses i can select the storage but in openvz no.


please help

thanks in advance
Hi,
openvz need local storage (below /var/lib/vz). If you want to use your storage for openvz you need to expand the logical volume pve-data.
If you haven an additional partition, you can expand the pve-volume group with the partition and then expand the lv amd than the filesystem (on the fly).

Udo
 
thanks for your reply

but i cannt understand what you say, you told extend pve-volume group

proxmox configures LVM itselfs? is there LVM created for openvz? i run commands lvdisplay and vgdisplay but nothing
 
thanks for your reply

but i cannt understand what you say, you told extend pve-volume group

proxmox configures LVM itselfs? is there LVM created for openvz? i run commands lvdisplay and vgdisplay but nothing
Hi,
do you have a standard pve-installation? Or an own installation ontop of debian 5 (for proxmox beginners i'm suggest the standard installation)?

With the standard-installation vgdisplay should show the volumegroup pve and lvdisplay the lvs swap,root and data inside this vg.

Udo
 
unfortunately i installed it on debian 5

not installed from iso file.

what to do now?

if there isnt any solution, may i convert that openvz vps to kvm?
 
unfortunately i installed it on debian 5

not installed from iso file.

what to do now?

if there isnt any solution, may i convert that openvz vps to kvm?
Hi,
without lvm during debian installation it's not so easy to expand... Converting from openvz to kvm is perhaps also not so easy - an openvz-vm has not a full linux inside, because it's use the kernel from the host. You must migrate your services by hand - if the vm run's an mysql-server only it's easy. With more services it's more complexed.

And your io-performance is with openvz better (much better - depends on io- and cpu-power).

What's about backup the VM (on a safe place) and do an reinstallation of the proxmox-node with original iso - it's take only few minutes for the ground installation. After that, you can restore your backup. (Perhaps you try first with an empty disk?).

Udo
 
Last edited: