Hi All<br><br>I am try to create the Lvm over drbd , which is over LVM<br> <br>to be more clear<br> <br> Expected Occurs<br><br> lv | /dev/vg2/lv2 | /dev/dm-0/lv2
<br> vg | /dev/vg2 | /dev/dm-0 <br>pvcreate <br> drbd | /dev/drbd0 | /dev/drbd0 <br> lv | /dev/vg1/lv1 | /dev/vg1/lv1
<br> vg | /dev/vg1 | /dev/vg1 <br> phys. vol | /dev/sda | /dev/sda <br><br><br>here when i tried to create the phisical volume over DRBD <br><br>Before pvcreate
<br><br><span style="color: rgb(51, 51, 153); font-weight: bold;"> # pvs</span><br style="color: rgb(51, 51, 153); font-weight: bold;"><span style="color: rgb(51, 51, 153); font-weight: bold;"> PV VG Fmt Attr PSize PFree
</span><br style="color: rgb(51, 51, 153); font-weight: bold;"><span style="color: rgb(51, 51, 153); font-weight: bold;"> /dev/sda7 vg1 lvm2 a- 9.02G 8.02G</span><br><br><span style="background-color: rgb(255, 255, 255); font-weight: bold; color: rgb(102, 0, 204);">
# pvcreate /dev/drbd0</span><br style="background-color: rgb(255, 255, 255); font-weight: bold; color: rgb(102, 0, 204);"><span style="background-color: rgb(255, 255, 255); font-weight: bold; color: rgb(102, 0, 204);"> Physical volume "/dev/drbd0" successfully created
</span><br><br>but physical volume drbd0 is not shown in the PVS, but a new pv is there ie dm-0<br><br><span style="color: rgb(51, 51, 153); font-weight: bold;"> # pvs</span><br style="color: rgb(51, 51, 153); font-weight: bold;">
<span style="color: rgb(51, 51, 153); font-weight: bold;"> PV VG Fmt Attr PSize PFree</span><br style="color: rgb(51, 51, 153); font-weight: bold;"><span style="color: rgb(51, 51, 153); font-weight: bold;"> /dev/dm-0 lvm2 --
895.81M 895.81M</span><br style="color: rgb(51, 51, 153); font-weight: bold;"><span style="color: rgb(51, 51, 153); font-weight: bold;"> /dev/sda7 vg1 lvm2 a- 9.02G 8.02G<br></span><span><br>if try to create a vg on drbd0 its shows error, so i create on dm-0
</span><span style="color: rgb(51, 51, 153); font-weight: bold;"><br><br style="font-weight: bold;"># vgcreate vg2 /dev/dm-0</span><br style="color: rgb(51, 51, 153); font-weight: bold;"><span style="font-weight: bold; color: rgb(51, 51, 153);">
Volume group "vg2" successfully created<br><br><br># lvcreate -n lv2 -L500M /dev/vg2</span><br style="font-weight: bold; color: rgb(51, 51, 153);"><span style="font-weight: bold; color: rgb(51, 51, 153);"> device-mapper: reload ioctl failed: Invalid argument
</span><br style="font-weight: bold; color: rgb(51, 51, 153);"><span style="font-weight: bold; color: rgb(51, 51, 153);"> Failed to activate new LV.<br><br style="font-weight: bold; color: rgb(51, 51, 153);"></span><span style="font-weight: bold; color: rgb(51, 51, 153);">
# lvs</span><br style="font-weight: bold; color: rgb(51, 51, 153);"><span style="font-weight: bold; color: rgb(51, 51, 153);"> LV VG Attr LSize Origin Snap% Move Log Copy%</span><br style="font-weight: bold; color: rgb(51, 51, 153);">
<span style="font-weight: bold; color: rgb(51, 51, 153);"> lv1 vg1 -wi-ao 1.00G</span><br style="font-weight: bold; color: rgb(51, 51, 153);"><span style="font-weight: bold; color: rgb(51, 51, 153);"> lv2 vg2 -wi-d-
500.00M</span><br><br>here the lv2 is not able to access, it shows the devic does not exist<br>so please help me in finding the solution for this problem, <br><br>is it possible to create lvm over drbd , which is over lvm
<br><br>-- <br>manoj<br>