<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 class=""><div class="h5">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>