1MULTIPATHD(8) System Manager's Manual MULTIPATHD(8)
2
3
4
6 multipathd - multipath daemon
7
8
10 multipathd [options]
11
12
14 The multipathd daemon is in charge of checking for failed paths. When
15 this happens, it will reconfigure the multipath map the path belongs
16 to, so that this map regains its maximum performance and redundancy.
17
18 This daemon executes the external multipath config tool when events
19 occur. In turn, the multipath tool signals the multipathd daemon when
20 it is done with devmap reconfiguration, so that it can refresh its
21 failed path list.
22
23
25 -d Forground Mode. Don't daemonize, and print all messages to std‐
26 out and stderr.
27
28 -v level
29 Verbosity level. Print additional information while running mul‐
30 tipathd. A level of 0 means only print errors. A level of 3 or
31 greater prints debugging information as well.
32
33 -k multipathd will enter interactive mode. From this mode, the
34 available commands can be viewed by entering "help". When you
35 are finished entering commands, press CTRL-D to quit.
36
37
39 The following commands can be used in interactive mode:
40
41 list|show paths
42 Show the paths that multipathd is monitoring, and their state.
43
44 list|show maps|multipaths
45 Show the multipath devices that the multipathd is monitoring.
46
47 list|show maps|multipaths status
48 Show the status of all multipath devices that the multipathd is
49 monitoring.
50
51 list|show maps|multipaths stats
52 Show some statistics of all multipath devices that the multi‐
53 pathd is monitoring.
54
55 list|show maps|multipaths topology
56 Show the current multipath topology. Same as "multipath -ll".
57
58 list|show topology
59 Show the current multipath topology. Same as "multipath -ll".
60
61 list|show map|multipath $map topology
62 Show topology of a single multipath device specified by $map,
63 e.g. 36005076303ffc56200000000000010aa. This map could be
64 obtained from "list maps".
65
66 list|show config
67 Show the currently used configuration, derived from default val‐
68 ues and values specified within the configuration file /etc/mul‐
69 tipath.conf.
70
71 list|show blacklist
72 Show the currently used blacklist rules, derived from default
73 values and values specified within the configuration file
74 /etc/multipath.conf.
75
76 list|show devices
77 Show all available block devices by name including the informa‐
78 tion if they are blacklisted or not.
79
80 add path $path
81 Add a path to the list of monitored paths. $path is as listed in
82 /sys/block (e.g. sda).
83
84 remove|del path $path
85 Stop monitoring a path. $path is as listed in /sys/block (e.g.
86 sda).
87
88 add map $map
89 Add a multipath device to the list of monitored devices. $map
90 can either be a device-mapper device as listed in /sys/block
91 (e.g. dm-0) or it can be the alias for the multipath device
92 (e.g. mpath1) or the uid of the multipath device (e.g.
93 36005076303ffc56200000000000010aa).
94
95 remove|del map $map
96 Stop monitoring a multipath device.
97
98 switch|switchgroup map $map group $group
99 Force a multipath device to switch to a specific path group.
100 $group is the path group index, starting with 1.
101
102 reconfigure
103 Reconfigures the multipaths. This should be triggered automati‐
104 cally after any hotplug event.
105
106 suspend map|multipath $map
107 Sets map $map into suspend state.
108
109 resume map|multipath $map
110 Resumes map $map from suspend state.
111
112 fail path $path
113 Sets path $path into failed state.
114
115 reinstate path $path
116 Resumes path $path from failed state.
117
118
120 multipath(8) kpartx(8) hotplug(8)
121
123 multipathd was developed by Christophe Varoqui, <christophe.varo‐
124 qui@free.fr> and others.
125
126
127
128Linux Administrator's Manual November 2006 MULTIPATHD(8)