Re: How to force iscsi to see the new LUN size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



----- Original Message ----

> From: Peter Blajev <pblajev@xxxxxxxx>
> To: CentOS Mailing List <centos@xxxxxxxxxx>
> Sent: Fri, January 15, 2010 10:34:47 PM
> Subject:  How to force iscsi to see the new LUN size
> 
> Hi,
> 
> I increased the size of one of the LUNs and on CentOS 5.4 if I restart 
> iscsi (`service iscsi restart`) I'll see the the new size but this will 
> disconnect all other LUNs.
> 
> I'm hoping that there is isciadm or some other command that will force 
> iscsi to rediscover the LUNs but I can't seem to be able to come up with 
> one.

You can logout from that particular target and then login again

iscsiadm --mode node --targetname target --portal portalip:3260 --logout
iscsiadm --mode node --targetname target --portal portalip:3260 --login



Hope this helps


Fer



      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux