Starting from this thread: http://www.opensolaris.org/jive/thread.jspa?messageID=118786𝀂 I would love to have the possibility to set an ISCSI alias when doing an shareiscsi=on on ZFS. This will greatly facilate to identify where an IQN is hosted. the ISCSI alias is defined in rfc 3721 e.g. http://www.apps.ietf.org/rfc/rfc3721.html#sec-2 and the CLI could be something like: zfs set shareiscsi=on shareisicsiname=<iscsi_alias> tank Ced. -- Cedric BRINER Geneva - Switzerland
Right now -- as I''m sure you have noticed -- we use the dataset name for the alias. To let users explicitly set the alias we could add a new property as you suggest or allow other options for the existing shareiscsi property: shareiscsi=''alias=potato'' This would sort of match what we do for the sharenfs property. Adam On Thu, May 24, 2007 at 02:39:24PM +0200, cedric briner wrote:> Starting from this thread: > http://www.opensolaris.org/jive/thread.jspa?messageID=118786𝀂 > > I would love to have the possibility to set an ISCSI alias when doing an > shareiscsi=on on ZFS. This will greatly facilate to identify where an > IQN is hosted. > > the ISCSI alias is defined in rfc 3721 > e.g. http://www.apps.ietf.org/rfc/rfc3721.html#sec-2 > > and the CLI could be something like: > zfs set shareiscsi=on shareisicsiname=<iscsi_alias> tank > > > Ced. > -- > > Cedric BRINER > Geneva - Switzerland > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
Adam Leventhal wrote:> Right now -- as I''m sure you have noticed -- we use the dataset name for > the alias. To let users explicitly set the alias we could add a new property > as you suggest or allow other options for the existing shareiscsi property: > > shareiscsi=''alias=potato'' > > This would sort of match what we do for the sharenfs property.I favour your suggestion Adam since this is most flexible, otherwise we end up with an explosion of zfs properties. -- Darren J Moffat
On 5/24/07, Darren J Moffat <Darren.Moffat at sun.com> wrote:> Adam Leventhal wrote: > > Right now -- as I''m sure you have noticed -- we use the dataset name for > > the alias. To let users explicitly set the alias we could add a new property > > as you suggest or allow other options for the existing shareiscsi property: > > > > shareiscsi=''alias=potato'' > > > > This would sort of match what we do for the sharenfs property. > > I favour your suggestion Adam since this is most flexible, otherwise we > end up with an explosion of zfs properties.Don''t we already have an infinite number of them with user-defined properties ? So why bother ? Let''s say we defined a new class of properties starting with "iscsi:", i.e. iscsi:alias iscsi:lun etc That said, I do like it to be similar to sharenfs.> > -- > Darren J Moffat > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- Regards, Cyril