1 .TH MULTIPATHD 8 "November 2009" "Linux Administrator's Manual"
3 multipathd \- multipath daemon
12 daemon is in charge of checking for failed paths. When this happens,
13 it will reconfigure the multipath map the path belongs to, so that this map
14 regains its maximum performance and redundancy.
16 This daemon executes the external multipath config tool when events occur.
17 In turn, the multipath tool signals the multipathd daemon when it is done with
18 devmap reconfiguration, so that it can refresh its failed path list.
23 Foreground Mode. Don't daemonize, and print all messages to stdout and stderr.
26 Suppress timestamps. Do not prefix logging messages with a timestamp.
29 Verbosity level. Print additional information while running multipathd. A level of 0 means only print errors. A level of 3 or greater prints debugging information as well.
32 multipathd will enter interactive mode. From this mode, the available commands can be viewed by entering "help". When you are finished entering commands, press CTRL-D to quit.
36 The following commands can be used in interactive mode:
39 Show the paths that multipathd is monitoring, and their state.
41 .B list|show paths format $format
42 Show the paths that multipathd is monitoring, using a format string with path
45 .B list|show maps|multipaths
46 Show the multipath devices that the multipathd is monitoring.
48 .B list|show maps|multipaths format $format
49 Show the status of all multipath devices that the multipathd is monitoring,
50 using a format string with multipath format wildcards.
52 .B list|show maps|multipaths status
53 Show the status of all multipath devices that the multipathd is monitoring.
55 .B list|show maps|multipaths stats
56 Show some statistics of all multipath devices that the multipathd is monitoring.
58 .B list|show maps|multipaths topology
59 Show the current multipath topology. Same as "multipath \-ll".
62 Show the current multipath topology. Same as "multipath \-ll".
64 .B list|show map|multipath $map topology
65 Show topology of a single multipath device specified by $map, e.g. 36005076303ffc56200000000000010aa.
66 This map could be obtained from "list maps".
68 .B list|show wildcards
69 Show the format wildcards used in interactive commands taking $format
72 Show the currently used configuration, derived from default values and values specified within the configuration file /etc/multipath.conf.
74 .B list|show blacklist
75 Show the currently used blacklist rules, derived from default values and values specified within the configuration file /etc/multipath.conf.
78 Show all available block devices by name including the information if they are blacklisted or not.
81 Show the number of path checkers in each possible state, the number of monitored paths, and whether multipathd is currently handling a uevent.
84 Add a path to the list of monitored paths. $path is as listed in /sys/block (e.g. sda).
86 .B remove|del path $path
87 Stop monitoring a path. $path is as listed in /sys/block (e.g. sda).
90 Add a multipath device to the list of monitored devices. $map can either be a device-mapper device as listed in /sys/block (e.g. dm-0) or it can be the alias for the multipath device (e.g. mpath1) or the uid of the multipath device (e.g. 36005076303ffc56200000000000010aa).
92 .B remove|del map $map
93 Stop monitoring a multipath device.
95 .B resize map|multipath $map
96 Resizes map $map to the given size
98 .B switch|switchgroup map $map group $group
99 Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1.
102 Reconfigures the multipaths. This should be triggered automatically after any hotplug event.
104 .B suspend map|multipath $map
105 Sets map $map into suspend state.
107 .B resume map|multipath $map
108 Resumes map $map from suspend state.
111 Sets path $path into failed state.
113 .B reinstate path $path
114 Resumes path $path from failed state.
116 .B disablequeueing maps|multipaths
117 Disable queueing on all multipath devices.
119 .B restorequeueing maps|multipaths
120 Restore queueing on all multipath devices.
122 .B disablequeueing map|multipath $map
123 Disable queuing on multipathed map $map
125 .B restorequeueing map|multipath $map
126 Restore queuing on multipahted map $map
129 End interactive session.
137 was developed by Christophe Varoqui, <christophe.varoqui@opensvc.com> and others.