What does iscsiadm -m session -P 3 print out? Could you also send the
/var/log/messages output when you run the login command that fails to
find disks.
Also if you do
echo - - - > /sys/class/scsi_host/hostX/scan
X is the host number you will see from the -P3 command.
Does that find disks (check /var/log/messages and /dev after the echo
has completed).
For the solaris target do you have to setup ACLs by initiator name? For
these 2 root FSs is the /etc/iscsi/initiatorname.iscsi have the same
value? Or does the NFS one have iqn.1993-08.org.debian:
01:cd00198dd976, and then the hard drive boot one have a different name?
If that was the case, we should be getting a bunch of IO errors about
inqiuries or report luns commands failing in the initiator log when you
run the iscsiadm login command.
> else weird going on here?
On the initiator box, when you run the iscsiadm login command can you
take a wireshark/ethereal/tcpdump trace, so we can see if the initiator
is sending inquiries and report luns ok, and what the responses are.
I can provide the raw capture to devs upon request, but here's the
highlights.
I see four "Login Command"s, followed by "Login Response (Success)".
Then there's a "SCSI: Inquiry LUN: 0x00," followed by a "SCSI Response
(Check Condition) LUN:0x00"
Digging into that packet I see:
.111 0000 = SNS Error Type: Current Error (0x70)
Filemark: 0, EOM: 0, ILI: 0
.... 0100 = Sense Key: Hardware Error (0x04)
The target is a 400GB ZFS on a 1TB mirrored disk, and solaris isn't
reporting any disk errors. Any suggestions, or do I go poke at the
solaris folks?
Thanks,
==ml
--
Michael W. Lucas mwl...@BlackHelicopters.org
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
New book available: Network Flow Analysis
http://www.networkflowanalysis.com/
iSCSI login goes ok. Those look ok.
> Then there's a "SCSI: Inquiry LUN: 0x00," followed by a "SCSI Response
> (Check Condition) LUN:0x00"
>
> Digging into that packet I see:
>
> .111 0000 = SNS Error Type: Current Error (0x70)
> Filemark: 0, EOM: 0, ILI: 0
> .... 0100 = Sense Key: Hardware Error (0x04)
>
> The target is a 400GB ZFS on a 1TB mirrored disk, and solaris isn't
> reporting any disk errors. Any suggestions, or do I go poke at the
> solaris folks?
>
I think you are going to have to ask them. I have no idea why the target
sends this. The linux scsi layer sends an inquiry, as you saw in the
trace, and if that fails, the linux scsi layer will fail the scsi scan
and will not proceed and send other commands like report luns which
would normally find all your devices and lead to setting them up in the
kernel.