Description of problem:
Creation of VDO device ontop of DRBD is not possible as follows:
Creating VDO vdodrbd0
vdo: ERROR - Device /dev/drbd0 excluded by a filter.
As the DRBD Technology is closer to RAID1 (but over a network connection) , I expect that the VDO should be a layer above drbd.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a 2 node drbd device
2.Try to create vdo ontop:
# vdo create --name=vdodrbd0 --device=/dev/drbd0 --vdoLogicalSize=10G
Received error "vdo: ERROR - Device /dev/drbd0 excluded by a filter."
VDO to be successfully created on top of DRBD.
VDO uses come some helpful code from lvm to test block devices
This could be one of two problems:
1. This device was already part of a LVM physical volume in some way and LVM is
catching that fact. Clearing out that metadata could help.
2. or you need to add a filter to the lvm.conf file to include drbd devices, similar to this add "filter = [ "a|drbd0.*|", "r|.*|" ]".
As my DRBD device is blacklisted via a global filter, I will try without that filter.
Shouldn't that be listed somewhere in the documentation ,as I checked the whole documentation and I didn't find any relevant configuration file /I should have straced the process to find that/ ?
It would be way easier if there is a statement like:
"VDO uses some portions of LVM , thus /etc/lvm/lvm.conf should be taken into consideration."
VDO documentation states that LVM is required, however it doesn't say why.
Created a bug to update the documentation.
Closing documentation will be updated.