diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-05-28 10:41:42 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-05-28 10:41:42 +0000 |
commit | 4ffd35367e368e7a6a198fde7d53d3b0b8fac46c (patch) | |
tree | bcdab21b6b1ff2ffb0fff68e0f4c0dfea93e5562 /doc | |
parent | 918d3138fa4a4a7c492a311cdfbe15fb368776dc (diff) | |
download | open-iscsi-4ffd35367e368e7a6a198fde7d53d3b0b8fac46c.tar.gz |
from patmans@us.ibm.com: add examples to sicsiadm man
git-svn-id: svn://svn.berlios.de/open-iscsi@589 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'doc')
-rw-r--r-- | doc/iscsiadm.8 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8 index 6b32f0c..119c4e3 100644 --- a/doc/iscsiadm.8 +++ b/doc/iscsiadm.8 @@ -140,6 +140,39 @@ or st discovery type. An SLP implementation is under development. +.SH EXAMPLES + +.nf +Discover targets at a given IP address: + +.ft R + iscsiadm --mode discovery --type sendtargets --portal 192.168.1.10 +.nf + +Login, must use a node record id found by the discovery: + +.ft R + iscsiadm --mode node --record 0x12345 --login +.nf + +Logout: + +.ft R + iscsiadm --mode node --record 0x12345 --logout +.nf + +List node records: + +.ft R + iscsiadm --mode node + +.nf + +Display all data for a given node record: + +.ft R + iscsiadm --mode node --record 0x12345 + .SH FILES .TP /etc/iscsid.conf |