<br clear="all"><style>
st1\:*{behavior:url(#default#ieooui) }
</style><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style><div class="Section1">
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Hi All,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">I am using DRBD( version: 8.0.5). I
want to use LVM over DRBD. I am facing some problem after DRBD configuration.
</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">For configuration I have used
physical disks i.e. /dev/sdb (on local) and /dev/sdc (on remote). The
configuration was successful. But I want to create VG and LV on this DRBD device
(/dev/drbd0). I have made changes in lvm.conf. I have changed the LVM filter
(<b><i><span style="font-weight: bold; font-style: italic;">filter = [ "a|sd.*|",
"a/drbd.*/", "r|.*|"]</span></i></b>) to accept the DRBD devices. Then I
performed pvcreate and vgcreate.</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><b><font size="2" face="Arial"><span style="font-weight: bold; font-size: 10pt; font-family: Arial;">PVCreate:</span></font></b></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">[root@host_1 ~]# pvcreate
/dev/drbd0</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Physical volume "/dev/drbd0"
successfully created</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><b><font size="2" face="Arial"><span style="font-weight: bold; font-size: 10pt; font-family: Arial;">VGCreate:</span></font></b></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">[root@host_1 ~]# vgcreate VG1
/dev/drbd0</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Found duplicate PV
Z7LP9jIE8dTQNae9mDTAJDuDABKwex5v: using /dev/sdb not
/dev/drbd0</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Found duplicate PV
Z7LP9jIE8dTQNae9mDTAJDuDABKwex5v: using /dev/drbd0 not
/dev/sdb</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Found duplicate PV
Z7LP9jIE8dTQNae9mDTAJDuDABKwex5v: using /dev/sdb not
/dev/drbd0</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Found duplicate PV
Z7LP9jIE8dTQNae9mDTAJDuDABKwex5v: using /dev/drbd0 not
/dev/sdb</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Volume group "VG1" successfully
created</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">LVCreaet:</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">[root@host_1~]# lvcreate -n lv1 -L
1G VG1</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Found duplicate PV
Z7LP9jIE8dTQNae9mDTAJDuDABKwex5v: using /dev/sdb not
/dev/drbd0</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> device-mapper: reload ioctl
failed: Invalid argument</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> Failed to activate new LV.</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">It is giving this error. I am unable
to create LV on
this DRBD device.</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Please help me.
</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Thanks &
Regards,</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Vaibhav
Nipunage</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Systems
Engineer</span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;">QualEx
Systems</span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"><a title="blocked::http://www.qualexsystems.com/" href="http://www.qualexsystems.com/">www.qualexsystems.com</a></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p></div><br><br>