|
Packit Service |
158247 |
#!/bin/bash
|
|
Packit Service |
158247 |
|
|
Packit Service |
158247 |
cat <
|
|
Packit Service |
158247 |
Unknown switch: (null)
|
|
Packit Service |
158247 |
multipath-tools v0.4.8 (05/33, 2016)
|
|
Packit Service |
158247 |
Usage:
|
|
Packit Service |
158247 |
multipath [-a|-A|-c|-w|-W] [-d] [-T tm:val] [-r] [-v lvl] [-p pol] [-b fil] [-q] [dev]
|
|
Packit Service |
158247 |
multipath -l|-ll|-f [-v lvl] [-b fil] [dev]
|
|
Packit Service |
158247 |
multipath -F [-v lvl]
|
|
Packit Service |
158247 |
multipath -t
|
|
Packit Service |
158247 |
multipath -h
|
|
Packit Service |
158247 |
|
|
Packit Service |
158247 |
Where:
|
|
Packit Service |
158247 |
-h print this usage text
|
|
Packit Service |
158247 |
-l show multipath topology (sysfs and DM info)
|
|
Packit Service |
158247 |
-ll show multipath topology (maximum info)
|
|
Packit Service |
158247 |
-f flush a multipath device map
|
|
Packit Service |
158247 |
-F flush all multipath device maps
|
|
Packit Service |
158247 |
-a add a device wwid to the wwids file
|
|
Packit Service |
158247 |
-A add devices from kernel command line mpath.wwids
|
|
Packit Service |
158247 |
parameters to wwids file
|
|
Packit Service |
158247 |
-c check if a device should be a path in a multipath device
|
|
Packit Service |
158247 |
-T tm:val
|
|
Packit Service |
158247 |
check if tm matches the multipathd timestamp. If so val is
|
|
Packit Service |
158247 |
whether or not the device is a path in a multipath device
|
|
Packit Service |
158247 |
-q allow queue_if_no_path when multipathd is not running
|
|
Packit Service |
158247 |
-d dry run, do not create or update devmaps
|
|
Packit Service |
158247 |
-t dump internal hardware table
|
|
Packit Service |
158247 |
-r force devmap reload
|
|
Packit Service |
158247 |
-B treat the bindings file as read only
|
|
Packit Service |
158247 |
-p policy failover|multibus|group_by_serial|group_by_prio
|
|
Packit Service |
158247 |
-b fil bindings file location
|
|
Packit Service |
158247 |
-w remove a device from the wwids file
|
|
Packit Service |
158247 |
-W reset the wwids file include only the current devices
|
|
Packit Service |
158247 |
-p pol force all maps to specified path grouping policy :
|
|
Packit Service |
158247 |
. failover one path per priority group
|
|
Packit Service |
158247 |
. multibus all paths in one priority group
|
|
Packit Service |
158247 |
. group_by_serial one priority group per serial
|
|
Packit Service |
158247 |
. group_by_prio one priority group per priority lvl
|
|
Packit Service |
158247 |
. group_by_node_name one priority group per target node
|
|
Packit Service |
158247 |
-v lvl verbosity level
|
|
Packit Service |
158247 |
. 0 no output
|
|
Packit Service |
158247 |
. 1 print created devmap names only
|
|
Packit Service |
158247 |
. 2 default verbosity
|
|
Packit Service |
158247 |
. 3 print debug information
|
|
Packit Service |
158247 |
dev action limited to:
|
|
Packit Service |
158247 |
. multipath named 'dev' (ex: mpath0) or
|
|
Packit Service |
158247 |
. multipath whose wwid is 'dev' (ex: 60051..)
|
|
Packit Service |
158247 |
. multipath including the path named 'dev' (ex: /dev/sda)
|
|
Packit Service |
158247 |
. multipath including the path with maj:min 'dev' (ex: 8:0)
|
|
Packit Service |
158247 |
EOF
|