I just tried following parts of http://zfsonlinux.org/example-zvol.html to make a ext2 zvol, adding directory to pve, restored a vz backup. the vz would not complete startup.. it was stuck trying to run ntpdate . So I'll stick with kvm on zvol testing.
OK did these:zfs create -V size name
zfs create -V 12G rpool/pro4test3 # make a new partition table and partition: fdisk /dev/zvol/rpool/pro4test3 mkfs.ext3 /dev/zvol/rpool/pro4test3-part1 mkdir /mnt/pro4test3-part1 mount /dev/zvol/rpool/pro4test3-part1 /mnt/pro4test3-part1
OK thanks, then as you already wrote: after doing that create the appropriate PV and VG on drbd resources as described in wiki .probably this will only work for kvm, not openvz .Hi. In order to use drbd you must have a block device below it, so in zfs case you can use only zvols for that purpose.Datasets cannot be used with drbd.
Hello, I've finally got a new test cluster ready to try drbd on top of zfs . And have a question. 1- I did this to make a zvolActually I have created zvols before zfs gui integration in proxmox, so I created them manually by using zfs commands to create zvols.Each zvol same size on both nodes.After creating zvols use drbd config to attach those zvols to separate resources(which corresponds to each vm disk).After doing that create the apropriate PV and VG on drbd resources as described in wiki.Finally attach VG via storage -> lvm to proxmox. It sounds complicated but once you do this some times you will get more familiar.
zfs create -V 12G rpool/pro4testdrbd
# partition 1 type 8e fdisk /dev/rpool/pro4testdrbd
device /dev/drbd0; disk /dev/rpool/pro4testdrbd-part1;
sys3 ~ # /etc/init.d/drbd start Starting DRBD resources:[ r0 no suitable meta data found :( Command '/sbin/drbdmeta 0 v08 /dev/rpool/pro4testdrbd-part1 internal check-resize' terminated with exit code 255 drbdadm check-resize r0: exited with code 255 d(r0) 0: Failure: (119) No valid meta-data signature found. ==> Use 'drbdadm create-md res' to initialize meta-data area.
In the past and per the wiki I think that is supposed to get done after starting up drbd service on both nodes?Look here : Use 'drbdadm create-md res' to initialize meta-data area.
Thank you, that made it work.Look here : Use 'drbdadm create-md res' to initialize meta-data area.
I would be very interested with your results!Sorry for revival this topic, but i will tried install and configuration this
ZFS + DRBD + PVE + Fibre Channel
I will return the results.