Store VM in differentes directories

chencho

Well-Known Member
Nov 25, 2010
92
12
48
Hi all.

I have a server with 2 hard disks (1+1 TB)

In first, i want to put proxmox core, swap and backups.

In second i want to put /var/lib/vz

Really, first disk are too empty, and i wonder if i can store more VM into it.

I can create a LV with sda4 and sdb1 and mount as /var/lib/vz, but then if my disk 1 fails probably all my system goes down.
 
Hi!

I cant upgrade my server, is a hosting server.

Then, i have two disks with 1 TB each other.

Is better to create a lvm with sda4 and sdb1 (then i see more than 1 TB to my VM) or is any way to put vm in other side than /var/lib/vz?
 
OpenVZ:
there is only one place - var/lib/vz (but you can also mount the second disk there, just as you like)

KVM:
total flexible, see http://pve.proxmox.com/wiki/Storage_Model

or just add the second unused disk to existing LVM volume and extend the ext3 filesystem on 'data'
 
Ok, then i need to decide if i use only 1 TB for Vm or use two disk's, with no disk failure support.

Thanks