<div>No it is not a cache issue. You can force reload LVM config and discard cache by running vgscan.</div>
<div>You have to modify your search rules specified in lvm.conf to omit DRBD resources, because there can be state were they are not active (Primary). Examples are on linbit DRBD pages.</div>
<div> </div>
<div>Tino<br><br></div>
<div class="gmail_quote">2009/7/23 Antony MARTINEAU <span dir="ltr"><<a href="mailto:Antony.MARTINEAU@lippi.fr">Antony.MARTINEAU@lippi.fr</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><font size="2" face="sans-serif">Hello i have a probleme.</font><br><font size="2" face="sans-serif">When i use a lvm2 command as lvdisplay, lvcreate etc... i have usually this message.</font><br>
<br><font size="2" face="sans-serif"> /dev/drbd1: open failed: Wrong medium type</font><br><font size="2" face="sans-serif"> /dev/drbd2: open failed: Wrong medium type</font><br><font size="2" face="sans-serif"> /dev/drbd3: open failed: Wrong medium type</font><br>
<font size="2" face="sans-serif"><br>I suppose this probleme is due to /etc/lvm/.cache but i have put this option on the lvm.conf "write_cache_state = 0" so i don't uderstand where is the problem. Can you solve it?</font><br>
<table>
<tbody>
<tr>
<td><font size="2" face="Arial">Cordialement,<br></font></td></tr></tbody></table><br>
<table>
<tbody>
<tr>
<td colspan="2">
<div align="center"><img src="cid:_1_08921CB8089218E40034C9FBC12575FC"></div>
<td valign="top">
<tr>
<td><font size="3" face="Arial"><b>Antony<br>MARTINEAU</b> </font><font color="#808080" size="2" face="Arial"><br>Service informatique </font><font color="#808080" size="1" face="Arial"><br>Technicien Informatique <br>LIPPI Management </font>
<td><font color="#004080" size="1" face="Arial">La Fouillouse<br>16440 Mouthiers sur Boeme<br>Tel.: 0545673435<br>Fax: 0545673435<br>Courriel: </font><a href="mailto:antony.martineau@lippi.fr" target="_blank"><font color="blue" size="1" face="Arial"><u>antony.martineau@lippi.fr</u></font></a><font color="blue" size="1" face="Arial"><u><br>
</u></font><a href="http://www.lippi.fr/" target="_blank"><font color="blue" size="1" face="Arial"><u>http://www.lippi.fr</u></font></a><font color="#004080" size="1" face="Arial"></font>
<td><img src="cid:_4_0892336C08922F6C0034C9FBC12575FC"></td></td></td></tr></td></td></tr></tbody></table><br><font face="sans-serif">
<div><img><br><font size="2">Ce message et toutes les pieces jointes sont etablis a l'attention exclusive de ses destinataires et sont strictement confidentiels. <a href="http://www.lippi.fr/disclaimer.php" target="_blank">Pour en savoir plus cliquer ici</a><br>
This message and any attachments are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. <a href="http://www.lippi.fr/disclaimer.php" target="_blank">More information</a> </font></div>
</font><br>_______________________________________________<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br></blockquote></div><br>