I solved the problem... it makes no sense, but its fixed: I changed the initiator name from the default supplied by cisco (iqn.1987-05.com.cisco:01.6eedbebee39f) to my own (iqn.1987-05.com.cisco:webmail1), then re-created the igroups and mappings and it all worked.
In the process I found that this "unknown type" is a general sort of way that the initiator says "I see _something_. but the hell if I know what". I tested this by whipping out the LUN mapping and the igroups completely and trying again, and seeing exactly the same thing as noted below. So my big mistake was thinking that I was actually seeing the LUN properly but not getting some peice of the puzzle, in fact that mapping was BS all along.
Very strange.
benr.
-----Original Message----- From: owner-toasters@mathworks.com on behalf of Ben Rockwood Sent: Sat 3/18/2006 11:20 AM To: toasters@mathworks.com Cc: Subject: iSCSI on RHEL 4: Unknown Type
Hello Toasters,
I'm getting killed by this problem. I've got a bunch of systems ready to deploy except that iSCSI isn't working (nor has it ever on these boxes). Here's what I see on the RHEL boxes (dmesg):
iscsi-sfnet: Loading iscsi_sfnet version 4:0.1.11-2 iscsi-sfnet: Control device major number 254 iscsi-sfnet:host4: Session established scsi4 : SFNet iSCSI driver scsi: unknown device type 31 Vendor: NETAPP Model: LUN Rev: 0.2 Type: Unknown ANSI SCSI revision: 04
The Filer shows the connection of the initiator, the igroups and mapping are correct, but when the type returns as "unknown" I don't get a LUN to actually use, so while I'm connected I can't actually do anything.
I'm not using security for iSCSI, I fixed problems relating to RHEL and multiple network cards on the filer, and my iscsi.conf should be fine:
Continuous=no HeaderDigest=never DataDigest=never ImmediateData=yes ConnFailTimeout=180
Username=benr Password=fakepass
DiscoveryAddress=10.10.2.240
Does anyone have any ideas? I thought the type issue might be related to OS Type when creatnig the LUNs and the Groups, but I've tried both as Linux and Default with the same result.
I'm currently using this filer for iSCSI on Solaris and it works wonderfully, so its just RHEL. I've upgraded to RHEL4 U3 and patched and everything, but thats not fixing anything.
I desprately could use some insite. I called the problem into NetApp last night and the tech gave up on the call.
Thanks.
benr.