i need to use in Block LVM in opennebula 5.0.2
i tried these steps.
I have installed lvm2, clvm.
installed opennebula-node and gave password less access for lvremove, lvcreate, lvs, vgdisplay.
create a image datastore with the corresponding conf details
this is ds.conf file
NAME = "lvm-ds"
DS_MAD = lvm
TM_MAD = lvm
DISK_TYPE = block
POOL_NAME = one
BRIDGE_LIST = xxxx
VG_NAME = "vg-one"
HOST = “xxxxx”
onedatastore list shows like this.
ID USER GROUP NAME SIZE AVAIL CLUSTERS IMAGES TYPE DS TM STA
0 oneadmin oneadmin system - - 0,100 0 sys - ssh on
1 oneadmin oneadmin default 221.3G 73% 0 0 img fs ssh on
2 oneadmin oneadmin files 221.3G 73% 0 0 fil fs ssh on
100 oneadmin oneadmin cephds 1.4T 96% 0,100 9 img ceph ceph on
102 oneadmin oneadmin lvm-ds 232.9G 100% 0 0 img lvm shared on
but i got a error while “creating a new image”.
[ImageAllocate] Cannot parse image SIZE: stat: Operation not supported