No I am not familiar, but I could find some info about how to setup LVM. The company I work for assign me this project to get familiar with virtualization and to look later on the possibility of clusters. The proposed server to get virtualized is Exchange Server 2003. Now if I decide to assign 300GB to VZS and the rest to KVMs is this possible? Should I configure LVM first and then Proxmox VE should be able to see these as a storage?
Thank you Tom for your help.
Hi,
if i understand you right, you have allready local storage (for OpenVZ, or kvm-images) on the single disk.
If you want to use the Raid-volume (expect not to much performance from a raid-1, it's only savety) for lvm-storage (kvm) and OpenVZ you have some choices.
1. Partition the raid-volume - one for /var/lib/vz, the other partition for lvm-storage
create a filesystem (ext3) on the first raid-partition, copy the content of /var/lib/vz to the new partition and change /etc/fstab and remount.
But i don't know if you run in trouble because snapshots for backup don't work on the new filesystem (it's not lvm-based). But you can also create an new volume-group for var/lib/vz (leave min. 4G free in the vg for backup).
2. Partition the raid-volume - one for volumegroup pve (root, swap, data (which is /var/lib/vz), the other for lvm-storage.
extend volumegroup pve with the first raidpartition. Move the logical volumes root, swap, and data to the raid-disk (make the single disk unused). Remove the single disk from vg pve. Then you can use this space for backup. All important data are on raid! Only mbr and /boot will remain on the single disk.
3. A mixing of vg-pve with single disk and raiddisk is risky, because you don't know what you loose if the hd fails.
There are other posibilities...
Create on the second raid-pasrtition an volumegoup and then you can add this vg in the storage-section of the proxmox-ve gui.
Udo