On 07/14/2010 05:30 AM, HIMANSHU wrote:
How can we know error status of iscsiadm commands like

I think,all of them directly returns corresponding success/failure

so mostly I can just fire the commands without checking any error
codes after it?

If you run

iscsiadm -m node .... -l

iscsiadm should return a error code like other programs. If you wanted to see it you could do

iscsiadm -m node .... -l
echo $?

Does that answer your question?

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to