Unable to storage CT or VM on DRBD shared LVM.

TrevorJ

New Member
Mar 18, 2013
13
0
1
Dear Everyone.


I've followed the instructions for creating a DRBD volume on my proxmox cluster.


http://pve.proxmox.com/wiki/DRBD


I have added the LVM group to the Proxmox VE storage list.


But I am not able to assign the shared drbd volume for use with CT or VM's.


I think this is because the storage manger only allows image content for LVM's.


To actually store an a CT or VM, I guess I need to setup a directory?


When I go to create a CT, I do not see the drbd Storage in the drop down for 'Storage'.



Can someone please enlighten me?



Many Thanks,



Trevor
 
Dear Everyone.
I've followed the instructions for creating a DRBD volume on my proxmox cluster.
http://pve.proxmox.com/wiki/DRBD
I have added the LVM group to the Proxmox VE storage list.
But I am not able to assign the shared drbd volume for use with CT or VM's.
Hi,
for CTs not (you need an filesystem for containers - and on shared storage like drbd it's must be an clusterfs) but VMs can have the disks (as logical volume) on the lvm-storage (which are on the drbd-volume).
You must select the lvm-storage, and there must be space for a new logical volume.

See with
Code:
pvs
vgs
lvs
Udo
 
Hi,
for CTs not (you need an filesystem for containers - and on shared storage like drbd it's must be an clusterfs) but VMs can have the disks (as logical volume) on the lvm-storage (which are on the drbd-volume).
You must select the lvm-storage, and there must be space for a new logical volume.

See with
Code:
pvs
vgs
lvs
Udo

Hi Udo,

Can you please explain a bit more?

I have found the following link:-

http://forum.proxmox.com/threads/13000-iscsi-as-a-distributed-(shared)-storage-on-proxmox

It looks like OCFS2 is not supported on the standard PVE kernel.

Is there no way to provide replicated storoge for VM and CT enviroments on the same hardware?

I am currently using DRBD, which looks like an ideal solution.

How do I provide replicated storage for both VM and CT's in an HA enviroment?

Many Thanks,

Trevor