<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;">Thanks Herv</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;">I’ve checked the output of command “lvs”.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;"><span style="">    </span></span></p>

<p class="MsoNormal"><span style="font-size: 8pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;"> </span></p>

<p class="MsoNormal"><span style="background: silver none repeat scroll 0% 0%; font-size: 8pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; 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: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; 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>
&gt;<br>
&gt; Thanks Lars for your reply.<br>
&gt;<br>
&gt; DRBD is used in conjunction with Linux-HA in a High Availability<br>
&gt; configuration to replicate data between the Active and Standby servers.<br>
&gt;<br>
&gt; Our product is running LVM (Logical Volume Manager) on top of DRBD.<br>
&gt;<br>
<br>
<i style=""><span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">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>
&gt; We are not using the nfs. The last point is not applicable in our case.<br>
&gt;<br>
&gt; And please can you explain bit more the below mentioned cases by you<br>
&gt; and how to detect/verify them when the issue ?Device is held open by<br>
&gt; someone? is occurred.<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Dileep Nayak<br>
&gt;<br>
&gt;<br>
--<br>
Herv? GAUTIER</p>