on 22:45 Fri 18 Feb, Mike Christie ([email protected]) wrote:
> On 02/18/2011 08:59 PM, Dr. Ed Morbius wrote:
> >Trying to set up a number of initiators on CentOS 5.5 with a Dell
> >MD32xxi target.
> >
> >I've successfully configured several other identical initiators with
> >these targets.
> >
> > $ export DP=<dataport IP>
> > $ sudo iscsiadm -m discoverydb -t sendtargets -p $DP:3260
> > iscsiadm: Discovery record [$DP,3260] not found.
> >
>
> >I've got records in /var/lib/iscsi/ifaces, but no other /var/lib/iscsi/
> >subdirectories.
>
> Have you done discovery to that address,port or done a -o new to
> create a db discovery record for it? If not then that is what you
> would expect.
>
> You can do
>
>
> sudo iscsiadm -m discoverydb -t sendtargets -p $DP:3260 -D
>
> without the -D, then iscsiadm is just looking for the discovery
> record for that discovery address,port.
>
> To have iscsiadm try to do discovery pass it the -D argument or do
> the old style
>
> iscsiadm -m discovery -t st -p ip:port
> (no db in the discovery mode name).
The second command ("-m discovery") works. "-m discoverydb" doesn't
OK, that raises another question: what's the difference between
"discovery" mode and "discoverydb" mode? I'd been under the impression
that "discoverydb" was a synonym for "discovery" (or vice versa).
Apparently not.
The iscsiadm manpage is less than clear on this distinction:
-m, --mode op
specify the mode. op must be one of discoverydb, node, fw, host
iface or session.
If no other options are specified: for discoverydb and node, all
of their respective records are displayed; for session, all
active sessions and connections are displayed; for fw, all boot
firmware values are displayed; for host, all iSCSI hosts are
displayed; and for iface, all ifaces setup in /etc/iscsi/ifaces
are displayed.
... unless it's been updated since. Working from
iscsi-initiator-utils-6.2.0.871-0.20.el5_5
--
Dr. Ed Morbius, Chief Scientist / |
Robot Wrangler / Staff Psychologist | When you seek unlimited power
Krell Power Systems Unlimited | Go to Krell!
--
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.