[Stgt-devel] [PATCH] iscsi: add assign_lun script

FUJITA Tomonori tomof
Thu Jan 3 06:00:57 CET 2008


On Tue, 01 Jan 2008 13:50:07 +0200
Erez Zilber <erezz at Voltaire.COM> wrote:

> FUJITA Tomonori wrote:
> > From: Erez Zilber <erezz at voltaire.com>
> > Subject: [Stgt-devel] [PATCH] iscsi: add assign_lun script
> > Date: Sun, 30 Dec 2007 10:51:16 +0200
> >
> >   
> >> Add a script that will create a target, add a device to
> >> the target and define the initiator that can connect to it.
> >>     
> >
> > Can you move this to usr/scripts? I guess that this could be improved
> > to handle other protocols later on.
> >   
> 
> I will.
> 
> > There would be a better name since this script does more than
> > assigning a logical unit, that is, creates a new target, add a lun,
> > and enable an initiator to access to the target.
> >   
> 
> In the (near) future I would like to enhance this script, so it will not
> always create a new target (e.g. add a device to a target that already
> exists if the user wants). So, the main thing that this script does is
> to setup a lun. How about "setup_lun"? Do you have other ideas?

I see. Then, you can choose whatever you like. I'm not good at
naming. :)

Thanks,



More information about the stgt mailing list