[stgt] Target naming: a minor bug in tgt-setup-lun

Yaron Sheffer yaronf at porticor.com
Thu Jul 14 07:53:47 CEST 2011


Hi Tomonori,

the title has it: tgt-setup-lun.

Thanks,
     Yaron

On 07/14/2011 08:00 AM, FUJITA Tomonori wrote:
> On Wed, 13 Jul 2011 16:24:29 +0300
> Yaron Sheffer<yaronf at porticor.com>  wrote:
>
>> When creating the target name, the application prepends the string
>> iqn.2001-04.com.<hostname>- before the user-supplied name. However the
> What 'the application' are you talking about?
>
> tgtadm doesn't do such. Looks like tgt-admin neither.
>
>
>> ".com" is redundant. Moreover, some users might prefer to supply their
>> own names, e.g. if the hostname is not stable (as may be the case in the
>> cloud). So I suggest to change the code so that if the user provides a
>> full name (one that starts with "iqn"), it is used as is.
--
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