Mike, We had noticed another item that needed updating in the man page (or in the code itself). Here are the scenarios:
1) `iscsiadm -m node -u -T <iqn_here>` = unlogin from that iqn. 2) `iscsiadm -m node -U` = unlogin from ALL iqn's 3) `iscsiadm -m node -u <iqn_here>` = <<--- notice we forgot the -T. If you do that, the lowercase -u will actually do what the capital -U does. We happened to notice that the hard way (oops... didn't mean to take down 15 vms!). So I'm not sure if that is a bug or if the man page is just incorrect (my guess would be bug in that it should do error-checking to see if there is any -T or not. And if NOT, then throw exit some number with messages stating "-u requires iqn". not sure if that was fixed or not and saw you were going to update the man page, so I figured I'd toss this your way. Thanks, Joe =========================== Joseph R. Hoot Lead System Programmer/Analyst (w) 716-878-4832 (Office - Receptionist/able to leave message) (w) 716-878-4863 (Direct - no voicemail) (c) 716-759-HOOT [email protected] GPG KEY: 7145F633 =========================== On Feb 19, 2011, at 11:55 PM, Mike Christie wrote: > On 02/19/2011 12:31 AM, Dr. Ed Morbius wrote: >> >> The iscsiadm manpage is less than clear on this distinction: >> >> -m, --mode op >> specify the mode. op must be one of discoverydb, node, fw, >> host >> iface or session. >> >> If no other options are specified: for discoverydb and node, >> all >> of their respective records are displayed; for session, >> all >> active sessions and connections are displayed; for fw, all >> boot >> firmware values are displayed; for host, all iSCSI hosts >> are >> displayed; and for iface, all ifaces setup in >> /etc/iscsi/ifaces >> are displayed. >> >> ... unless it's been updated since. Working from > > The readme info is better. Will try to update the man page. > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/open-iscsi?hl=en. > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
