1MULTIPATH(8) Linux Administrator's Manual MULTIPATH(8)
2
3
4
6 multipath - Device mapper target autoconfig
7
9 multipath [-v verbosity] [-d] [-h|-l|-ll|-f|-F] [-p failover|multi‐
10 bus|group_by_serial|group_by_prio|group_by_node_name] [device]
11
13 multipath is used to detect multiple paths to devices for fail-over or
14 performance reasons and coalesces them
15
17 -v level
18 verbosity, print all paths and multipaths
19
20 0 no output
21
22 1 print the created or updated multipath names
23 only, for use to feed other tools like kpartx
24
25 2 + print all info : detected paths, coalesced
26 paths (ie multipaths) and device maps
27
28 -h print usage text
29
30 -d dry run, do not create or update devmaps
31
32 -l show the current multipath topology from information fetched in
33 sysfs and the device mapper
34
35 -ll show the current multipath topology from all available informa‐
36 tion (sysfs, the device mapper, path checkers ...)
37
38 -f flush a multipath device map specified as parameter, if unused
39
40 -F flush all unused multipath device maps
41
42 -p policy
43 force maps to specified policy:
44
45 failover 1 path per priority group
46
47 multibus all paths in 1 priority group
48
49 group_by_serial
50 1 priority group per serial
51
52 group_by_prio
53 1 priority group per priority value. Priorities
54 are determined by callout programs specified as
55 a global, per-controller or per-multipath
56 option in the configuration file
57
58 group_by_node_name
59 1 priority group per target node name. Target
60 node names are fetched in /sys/class/fc_trans‐
61 port/target*/node_name.
62
63 device update only the devmap the path pointed by device is in. device
64 is in the /dev/sdb (as shown by udev in the $DEVNAME variable)
65 or major:minor format. device may alternatively be a multipath
66 mapname
67
69 a map may be unused if, eg, the file system on it is not mounted or
70 there are no open file descriptors against the device file, as in a raw
71 device.
72
74 udev(8), dmsetup(8) hotplug(8)
75
77 multipath was developed by Christophe Varoqui, <christophe.varo‐
78 qui@free.fr> and others.
79
80
81
82 July 2006 MULTIPATH(8)