Debian Codegraph @

tests/fake_utils/mpath_low_version/multipath

raw
1 #!/bin/bash
2
3 cat <<EOF
4 Unknown switch: (null)
5 multipath-tools v0.4.8 (05/33, 2016)
6 Usage:
7 multipath [-a|-A|-c|-w|-W] [-d] [-T tm:val] [-r] [-v lvl] [-p pol] [-b fil] [-q] [dev]
8 multipath -l|-ll|-f [-v lvl] [-b fil] [dev]
9 multipath -F [-v lvl]
10 multipath -t
11 multipath -h
12
13 Where:
14 -h print this usage text
15 -l show multipath topology (sysfs and DM info)
16 -ll show multipath topology (maximum info)
17 -f flush a multipath device map
18 -F flush all multipath device maps
19 -a add a device wwid to the wwids file
20 -A add devices from kernel command line mpath.wwids
21 parameters to wwids file
22 -c check if a device should be a path in a multipath device
23 -T tm:val
24 check if tm matches the multipathd timestamp. If so val is
25 whether or not the device is a path in a multipath device
26 -q allow queue_if_no_path when multipathd is not running
27 -d dry run, do not create or update devmaps
28 -t dump internal hardware table
29 -r force devmap reload
30 -B treat the bindings file as read only
31 -p policy failover|multibus|group_by_serial|group_by_prio
32 -b fil bindings file location
33 -w remove a device from the wwids file
34 -W reset the wwids file include only the current devices
35 -p pol force all maps to specified path grouping policy :
36 . failover one path per priority group
37 . multibus all paths in one priority group
38 . group_by_serial one priority group per serial
39 . group_by_prio one priority group per priority lvl
40 . group_by_node_name one priority group per target node
41 -v lvl verbosity level
42 . 0 no output
43 . 1 print created devmap names only
44 . 2 default verbosity
45 . 3 print debug information
46 dev action limited to:
47 . multipath named 'dev' (ex: mpath0) or
48 . multipath whose wwid is 'dev' (ex: 60051..)
49 . multipath including the path named 'dev' (ex: /dev/sda)
50 . multipath including the path with maj:min 'dev' (ex: 8:0)
51 EOF