[stgt] Online resizing of LUN's

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Jun 22 09:56:43 CEST 2012


On Fri, 22 Jun 2012 08:32:16 +0200
RedShift <redshift at pandora.be> wrote:

> On 06/18/2012 03:21 PM, FUJITA Tomonori wrote:
> > On Mon, 18 Jun 2012 15:12:37 +0200 (CEST)
> > RedShift<redshift at telenet.be>  wrote:
> >
> >> So the patch in the email posted above should work? Will try that ASAP.
> >
> > Not sure. Too many changes since then. The following patch can be
> > applied to the current git head. But not sure if it works.
> > *snip*
> 
> 
> It doesn't work.
> 
> I use an LVM logical volume as backing-store to my iSCSI target. I started tgtd, connected my initiator and then proceeded with resizing my logical volume by adding 5 GB. Next, I rescanned the disks from disk management (I'm using Windows as initiator), however, no size changed occured nor does tgtd say so.
> 
> I ran tgtd -f -d 1, and it says
> 
> # tgtd -d 1 -f
> tgtd: setup_inotify(320) inotify ready, 0
> 
> 
> But it never mentions "%s changed"
> 
> 
> I modified the patch so it would apply cleanly to 1.0.28, below

The patch is corrupted. The tabs are converted to spaces.

Can you resend an updated patch?
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list