diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | doc/iscsiadm.8 | 34 |
2 files changed, 35 insertions, 1 deletions
@@ -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 |