<div dir="ltr">Hi Alex,<div><br></div><div>Thanks for this. :)</div><div><br></div><div>Br.</div><div><br></div><div>Umar</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 7:33 PM, Alessandro MACUZ <span dir="ltr"><<a href="mailto:alessandro.macuz@gmail.com" target="_blank">alessandro.macuz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>2013/12/10 Peter Rajnoha <span dir="ltr"><<a href="mailto:prajnoha@redhat.com" target="_blank">prajnoha@redhat.com</a>></span><br>
</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div>On 12/09/2013 04:13 PM, Umar Draz wrote:<br>
> Hi All<br>
><br>
> I have a SCSI share which i am  using linux initiator on my ubuntu. Its<br>
> available for me in /dev/sdb<br>
><br>
> No I have created lvm group using the /dev/sdb. Today I just logut and<br>
> login my scsi share but this time ubutnu gave me this as /dev/sdc<br>
> instead of /dev/sdb.<br>
><br>
> due to this my lvm group is stuck, and its giving me the error<br>
><br>
> Input/output error<br>
><br>
> on pvdisplay or vgdisplay,<br>
><br>
> Any body help me how I can reslove this issue.?<br>
><br>
<br>
</div></div>You should always deactivate your LVM volumes before<br>
disconnecting the underlying iSCSI volumes and then when<br>
you reconnect the iSCSI back, activate the LVM volumes<br>
(or if autoactivation is used - meaning use_lvmetad=1<br>
is set in lvm.conf, this activation happens automatically).<br>
<br>
Alternatively, you can call vgchange --refresh when the<br>
iSCSI is connected back.</blockquote><div><br></div><div><br></div>Couldn't be used the identification of PV by UUID here? It should be better imo.<div><br></div><div>Alex</div></div></div></div>
<br>_______________________________________________<br>
linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Umar Draz<br>Network Architect
</div>