SUSE / lrbd

GNU Lesser General Public License v2.1
24 stars 19 forks source link

fix sample IQN formatting #13

Closed ddiss closed 7 years ago

ddiss commented 7 years ago

The lrbd sample configurations frequently use IQNs with a reversed domain name component (see below) of "org.linux-iscsi.$HOST.$ARCH". Fix this to use "org.linux-iscsi" instead, and place the $HOST.$ARCH string after a ':' separator.

rfc3720 specifies:

The iSCSI qualified name string consists of:

  -  The string "iqn." ...
  -  A date code, in yyyy-mm format. ...
  -  A dot "."
  -  The reversed domain name of the naming authority (person or
     organization) creating this iSCSI name.
  -  An optional, colon (:) prefixed, string within the character
     set and length boundaries that the owner of the domain name
     deems appropriate.  This may contain product types, serial
     numbers, host identifiers, or software keys (e.g., it may
     include colons to separate organization boundaries).  With the
     exception of the colon prefix, the owner of the domain name can
     assign everything after the reversed domain name as desired.
     It is the responsibility of the entity that is the naming
     authority to ensure that the iSCSI names it assigns are
     worldwide unique.  For example, "Example Storage Arrays, Inc.",
     might own the domain name "example.com".

Signed-off-by: David Disseldorp ddiss@suse.de