>>> Mike <[email protected]> schrieb am 14.07.2010 um 16:42 in Nachricht
<[email protected]>:
> Hi Ulrich,
>
> Thanks for the quick reply. Sorry, is this a script file in the /sbin/
> folder? I checked there but I don't see one.
Well,
maybe try something like "rpm -ql open-iscsi | grep -i initiator". The script
says:
# Copyright (c) 2007 Hannes Reinecke, SUSE Linux Products GmbH.
# All rights reserved.
so it's probably part of SLES only.
The script uses /sbin/iscsi-iname to create a new initiator name unless on
already exists. The lines to create that are
ISSUEDATE="1996-04"
INAME=$(/sbin/iscsi-iname -p iqn.$ISSUEDATE.de.suse:01)
printf "InitiatorName=$INAME\n" >>/etc/iscsi/initiatorname.iscsi
chmod 0600 /etc/iscsi/initiatorname.iscsi
I wonder whether the initiator-name is actually confidential (chmod). Also note
that the iscsi-iname lacks a manual page and proper usage information (here):
# /sbin/iscsi-iname -h
Displays the iSCSI initiator name
#
Note that the description is actually a lie: It SUGGESTS a initiatorname, as
can be seen from trying:
# /sbin/iscsi-iname
iqn.2005-03.org.open-iscsi:d4623acbe55
# /sbin/iscsi-iname
iqn.2005-03.org.open-iscsi:dd2051ef6ad2
Regards,
Ulrich
>
> Thank you,
>
> Mike
>
> On Jul 14, 10:09 am, "Ulrich Windl" <[email protected]
> regensburg.de> wrote:
> > >>> Mike <[email protected]> schrieb am 14.07.2010 um 15:20 in
> > >>> Nachricht
> >
> > <f1fcf0ec-8e2b-4a31-90e0-1e2b65ed2...@w31g2000yqb.googlegroups.com>:
> >
> > > Hi Mike/Ulrich,
> >
> > > Thank you for your input.
> >
> > > Mike, sorry I'm very new to all this so I apologize for not understand
> > > what you said above. Where/How do I allow access for the initiator?
> >
> > > Ulrich I did change the initiator-ID manually. Can this be done
> > > automatically after the clone? If so, how do I do that?
> >
> > Here (SLES10) it is "/sbin/iscsi-gen-initiatorname" (no manual page, a
> > shell
> script).
> >
> > Ulrich
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.