On 02/19/2011 12:31 AM, Dr. Ed Morbius wrote:
on 22:45 Fri 18 Feb, Mike Christie (micha...@cs.wisc.edu) 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.
discoverydb mode will use the discovery values found in
/var/lib/sendtargets/ip,port if found. discovery mode will use the
iscsid.conf settings.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.