Dear All, I came across following behavior of iscsiadm:
1. Login to a LUN from a port: # time iscsiadm -m node -T iqn.2001-03:storage01:ist-m000-sn-0000000992000330.lx-0109.target0000 -p 172.168.0.220 --login Logging in to [iface: default, target: iqn.2001-03:storage01:ist-m000-sn-0000000992000330.lx-0109.target0000, portal: 172.168.0.220,3260] (multiple) Login to [iface: default, target: iqn.2001-03:storage01:ist-m000-sn-0000000992000330.lx-0109.target0000, portal: 172.168.0.220,3260] successful. 2. Now make the port 172.168.0.220 down # ifdown elan3 # ping 172.168.0.220 -c 1 -w 3 PING 172.168.0.220 (172.168.0.220) 56(84) bytes of data. --- 172.168.0.220 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 3000ms 3. Now, again login to the LUN: # time iscsiadm -m node -T iqn.2001-03:storage01:ist-m000-sn-0000000992000330.lx-0109.target0000 -p 172.168.0.220 --login # echo $? 0 Is there a way to know, that the re-login on the down port is actually successful/failed using iscsiadm login command itself? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
