[Pkg-iscsi-maintainers] [SCM] Debian Open-iSCSI Packaging branch, upstream-mnc, updated. 2.0-872-193-gde2c0e7

Mike Christie michaelc at cs.wisc.edu
Sat Apr 7 15:44:03 UTC 2012


The following commit has been merged in the upstream-mnc branch:
commit d0cfc05a1845b4d785e8c09c5c73044598dad965
Author: Vikas Chaudhary <vikas.chaudhary at qlogic.com>
Date:   Thu Feb 16 14:15:17 2012 +0530

    iscsi tools: update documents for ping command
    
    update README and man page for ping command.
    
    Signed-off-by: Vikas Chaudhary <vikas.chaudhary at qlogic.com>

diff --git a/README b/README
index 0ad725f..8f3c3ee 100644
--- a/README
+++ b/README
@@ -371,6 +371,8 @@ Usage: iscsiadm [OPTION]
 			  iscsi_ifacename.
 
 			  See below for examples.
+  -m iface --interface=iscsi_ifacename -C ping --ip=[ipaddr] --packetsize=[size]
+				--count=[count] --interval=[interval]
   -m host --host=hostno|MAC --print=level
 			  Display information for a specific host. The host
 			  can be passed in by host number or by MAC address.
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index a036142..a5aeaa6 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -12,7 +12,7 @@ iscsiadm \- open-iscsi administration utility
 
 \fBiscsiadm\fR \-m session [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-r sessionid | sysfsdir [ \-R ] [ \-u | \-s | \-o new ] ]
 
-\fBiscsiadm\fR \-m iface [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I ifacename | \-H hostno|MAC ]   [ [ \-o  operation  ] [ \-n name ] [ \-v value ] ]
+\fBiscsiadm\fR \-m iface [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I ifacename | \-H hostno|MAC ]   [ [ \-o  operation  ] [ \-n name ] [ \-v value ] ] [ \-C ping [ \-a ip ] [ \-b packetsize ] [ \-c count ] [ \-i interval ] ]
 
 \fBiscsiadm\fR \-m fw [\-l]
 
@@ -41,6 +41,32 @@ daemon (iscsid) be running.
 .SH OPTIONS
 
 .TP
+\fB\-a\fR, \fB\-\-ip=\fIipaddr\fP
+\fIipaddr\fR can be IPv4 or IPv6.
+
+This option is only valid for ping submode.
+
+.TP
+\fB\-b\fR, \fB\-\-packetsize=\fIpacketsize\fP
+Specify the ping \fIpacketsize\fR.
+
+This option is only valid for ping submode.
+
+.TP
+\fB\-c\fR, \fB\-\-count=\fIcount\fP
+\fIcount\fR specify number of ping iterations.
+
+This option is only valid for ping submode.
+
+.TP
+\fB\-C\fR, \fB\-\-submode=\fIop\fP
+Specify the submode for mode. op must be name of submode.
+
+Currently iscsiadm support ping as submode for iface. For example,
+
+iscsiadm -m iface -I ifacename -C ping -a ipaddr -b packetsize -c count -i interval
+
+.TP
 \fB\-d\fR, \fB\-\-debug=\fIdebug_level\fP
 print debugging information. Valid values for debug_level are 0 to 8.
 
@@ -55,6 +81,12 @@ the scsi host number assigned to the host by the kernel's scsi layer, or the
 MAC address of a scsi host.
 
 .TP
+\fB\-i\fR, \fB\-\-interval=\fIinterval\fP
+\fIinterval\fP specify delay between two ping iterations.
+
+This option is only valid for ping submode.
+
+.TP
 \fB\-I\fR, \fB\-\-interface=\fI[iface]\fR
 The interface argument specifies the iSCSI interface to use for the operation.
 iSCSI interfaces (iface) are defined in /etc/iscsi/ifaces. For hardware

-- 
Debian Open-iSCSI Packaging



More information about the Pkg-iscsi-maintainers mailing list