Thursday, January 5, 2012

Some Useful iSCSI Commands

To discover targets at a given IP address:
iscsiadm -m discovery --type sendtargets --portal

To login to the one of the targets found by the command above:
iscsiadm --mode node --targetname --portal --login

To view all active sessions and connections:
iscsiadm --mode session

No comments:

Post a Comment