Re: scsi lun online resize

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

 



On Thu, Jul 05, 2007 at 08:50:28PM +0500, Dmitry Melekhov wrote:
> Pasi Kärkkäinen wrote:
> >On Tue, Jun 05, 2007 at 02:36:51PM +0500, Dmitry Melekhov wrote:
> >  
> >>Hello!
> >>
> >>I'm playing with iscsi on linux.
> >>And I have following problem:
> >>
> >>If I change lun size on target side and then do echo "1" >/sys/block/
> >>sdb/device/rescan
> >>device size is changed only if /dev/sdb is not mounted, if it is
> >>mounted fdisk shows no size change, so lun can't be resized online.
> >>
> >>open-iscsi guys say this is general linux problem, not iscsi specific.
> >>Could you tell me is there any solution?
> >>
> >>    
> >
> >Do you have partition table on /dev/sdb, or are you using /dev/sdb 
> >directly? 
> >
> >  
> I tried both...
> 

Did you try:

echo "- - -" > /sys/class/scsi_host/hostX/scan

That works at least with Qlogic iSCSI HBA (qla4xxx).

-- Pasi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux