On Fri, 24 Apr 2009 07:47:34 +0100 Chris Webb <chris@xxxxxxxxxxxx> wrote: > > In addition, discovery Session is not a must (you can configure > > targets on the initiator box by hand). > > I do know the target name, host name and port exactly at the initiator. If > it's possible to use OpenISCSI to log in to the target using just these > details and completely skip the discovery step, or to request discovery > of a specific target, that would solve the problem for me, but as far as I can > see, one can't do > > iscsiadm -m node -T "$TARGET" -p "$HOST" -l > > unless one has previously run > > iscsiadm -m discovery -t sendtargets -p "$HOST" > > even though all the required info is already provided to the login command! > Similarly, > > iscsiadm -m discovery -t sendtargets -p "$HOST" -T "$TARGET" > > isn't supported. (Does the sendtargets protocol even allow it?) open-iscsi simply gets the target information from /etc/iscsi/nodes/. You can add whatever you want under /etc/iscsi/nodes/. Then you don't need to use discovery session. I'm not sure that iscsiadm can add a file under /etc/iscsi/nodes by hand though cisco initiator can do, I guess. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html