<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">Thanks Herv</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">I’ve checked the output of command “lvs”.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">The output from the server where the problem “State change failed:
(-12) Device is held open by someone” is still exist.</span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[root@abaco-a bin]# lvs
--noheadings </span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>lnpdb<span style="">
</span>vgdrbd0 -wi---<span style=""> </span>2.00G<span style=""> </span></span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>mysql<span style="">
</span>vgdrbd0 -wi---<span style=""> </span>6.00G</span><span style="font-size: 8pt; font-family: "Arial","sans-serif"; color: navy;"><span style=""> </span></span></p>
<p class="MsoNormal"><span style="font-size: 8pt; font-family: "Arial","sans-serif"; color: navy;"> </span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[root@abaco-a bin]# lvs
--noheadings -o lv_attr </span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>-wi---</span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>-wi---</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">The output from the server where problem doesn’t exist.</span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[root@elap2A bin]# lvs
--noheadings -o lv_attr</span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>/dev/drbd0: open failed: Wrong medium type</span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>[root@elap2A bin]# lvs --noheadings<span style=""> </span></span></p>
<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: "Arial","sans-serif"; color: navy; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style=""> </span>/dev/drbd0: open failed: Wrong medium type</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">Any idea what could be wrong here?</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">On 22/06/2011 09:52, Dileep Nayak wrote:<br>
><br>
> Thanks Lars for your reply.<br>
><br>
> DRBD is used in conjunction with Linux-HA in a High Availability<br>
> configuration to replicate data between the Active and Standby servers.<br>
><br>
> Our product is running LVM (Logical Volume Manager) on top of DRBD.<br>
><br>
<br>
<i style=""><span style="font-family: "Arial","sans-serif";">Maybe
you should check LV attributs:<br>
$ lvs --noheadings -o lv_attr $LVM_VG/$LVM_LV<br>
$ lvchange -an $LVM_VG/$LVM_LV<br>
$ man lvchange<br style="">
<br style="">
</span></i></p>
<p class="MsoNormal">thanks</p>
<p class="MsoNormal"><br>
> We are not using the nfs. The last point is not applicable in our case.<br>
><br>
> And please can you explain bit more the below mentioned cases by you<br>
> and how to detect/verify them when the issue ?Device is held open by<br>
> someone? is occurred.<br>
><br>
><br>
> Regards,<br>
><br>
> Dileep Nayak<br>
><br>
><br>
--<br>
Herv? GAUTIER</p>