lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070709130910.GH4106@edu.joroinen.fi>
Date:	Mon, 9 Jul 2007 16:09:10 +0300
From:	Pasi Kärkkäinen <pasik@....fi>
To:	Dmitry Melekhov <dm@...kam.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: scsi lun online resize

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ