The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple sanhook failing due to 'has no suitable initiator IQN'
2012-10-13, 15:25
Post: #1
Simple sanhook failing due to 'has no suitable initiator IQN'
Environment:
VMWare Fusion with IPXE 'modded' into adapter.

I've also defined two flags in my build
http://ipxe.org/buildcfg/console_vmware
http://ipxe.org/buildcfg/vmware_settings (but I'm not using this feature)
And this is how I built IPXE:
make bin/8086100f.mrom bin/808610d3.mrom bin/10222000.rom bin/15ad07b0.rom DEBUG=scsi:3,iscsi

The following sequence fails:

Code:
ifopen net0
dhcp
sanhook --drive 0x81 iscsi:192.168.1.101:::0:iqn.2001-04.com.example:storage.lun1

Error output upon issuing sanhook command is:

iSCSI 0x1d2a4 has no suitable initiator IQN
iSCSI 0x1d2a4 closed: Invalid argument (http://ipxe.org/1c0d6502)
Could not open SAN device: Invalid argument (http://ipxe.org/1c0d6502)

Issuing the command repeatedly causes the same error.

I've looked at the line of code failing but I don't really have enough context yet to understand what the underlying problem really is. I think somehow I've mistyped the iscsi URI, but I've checked it repeatedly.

Also, I have had this work *rarely*. I'll sometimes change my vmware adapter setting from bridged to NAT (just trying things), but usually I'll reboot at the same time (so I'm not sure if it's a adapter problem or 'ipxe intermittent' problem). And at my work network, I have seen it work work, but very rarely. I usually get it to work but then it fails after.. But at my home network, I haven't seen it work yet.

Finally, I can connect to the ISCSI target on a separate linux machine.

Any pointers? Thanks!
Seth
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Simple sanhook failing due to 'has no suitable initiator IQN' - sethcall - 2012-10-13 15:25



User(s) browsing this thread: 1 Guest(s)