2016-01-09, 11:26
Hello everyone,
I have a system that boots via iscsi just fine, but I need to point it to another target and port. The volume itself isnt changing, just the target name and port.
The target iqn and IP port number are changed in the ipxe config and from what I can tell, the system boots as expected... then when ipxe hands the iscsi session off to the OS, it loses the connection and the OS crashes.
My guess is that the handoff isn't passing the new port number and iqn.
I'm using fedora 23. I can't see where the OS stores the iscsi configuration. All those files are empty... probably because it inherits it from ipxe.
If I look at an strace of "iscsiadm -m session -P 3", I can see that it's pulling it's iscsi values from /sys/class/... -- unfortunately, that structure is dynamically built when the system boots so I can't edit the files there.
So, how can I get the port number change to pass through? I'm moving from port 3160 to 44301.
Any help would be appreciated.
Thanks to you all in advance.
-Michael
I have a system that boots via iscsi just fine, but I need to point it to another target and port. The volume itself isnt changing, just the target name and port.
The target iqn and IP port number are changed in the ipxe config and from what I can tell, the system boots as expected... then when ipxe hands the iscsi session off to the OS, it loses the connection and the OS crashes.
My guess is that the handoff isn't passing the new port number and iqn.
I'm using fedora 23. I can't see where the OS stores the iscsi configuration. All those files are empty... probably because it inherits it from ipxe.
If I look at an strace of "iscsiadm -m session -P 3", I can see that it's pulling it's iscsi values from /sys/class/... -- unfortunately, that structure is dynamically built when the system boots so I can't edit the files there.
So, how can I get the port number change to pass through? I'm moving from port 3160 to 44301.
Any help would be appreciated.
Thanks to you all in advance.
-Michael