Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iscsi: operation not supported
2012-03-27, 03:59
Post: #1
iscsi: operation not supported
Hi,

I've tried a heap of different approaches to connect to my iscsi target, and nothing seems to work. I can connect to it fine form my other initiators.

if I type:

Code:
dhcp net0
sanhook iscsi:10.0.0.90::::iqn.2012-03.local.fileserver:edgeserver

I get the error: "Could not open san device: invalid argument"

If I quote the iqn:

Code:
dhcp net0
sanhook "iscsi:10.0.0.90::::iqn.2012-03.local.fileserver:edgeserver"

I get the error: "Could not open san device: operation not supported"

The dhcp is successful and like I said I can connect to lun 0 on that target without auth on my other devices. The ipxe build says it supports iscsi when it boots.

Thanks in advance.
Find all posts by this user
Quote this message in a reply
2012-03-27, 08:03
Post: #2
RE: iscsi: operation not supported
When you get that error message, it is usually accompanied with a URL with a hex number in it. If you post those as well, we might be able to help you a bit more, as they contain quite important debugging details. You should of course also have a look at them and look at the bottom in the troubleshooting section of each of them.

To my knowledge, the target IQN should not be quoted. I'm not sure if it's even supported.
Visit this user's website Find all posts by this user
Quote this message in a reply
2012-03-28, 16:45
Post: #3
RE: iscsi: operation not supported
Hey robinsmidsrod,

Yeah the reason it wasn't working was I didn't have an initiator-iqn set. For some reason I thought this option defaulted, turned out, that at least in my case this wasn't so. When I set the initiator-iqn in my dhcp hardware address entry it worked like a charm.

Thanks to the developers of ipxe, it's a brilliant piece of software, made deploying a iscsi san a breeze.

Cheers
Find all posts by this user
Quote this message in a reply
2012-03-30, 10:28
Post: #4
RE: iscsi: operation not supported
You can set the initiator-iqn based on some kind of pattern in an iPXE script conditionally, based on availability of certain attributes, like hostname, uuid, asset tag or mac.

I do that in my iPXE native menu shown here: https://gist.github.com/2234639

You'll need an updated iPXE for the menu feature, it just landed yesterday. The isset feature has been around for a long time.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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