Re: scsi lun online resize

From: Pasi Kärkkäinen
Date: Thu Jul 05 2007 - 09:26:45 EST


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?

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