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 Forground Mode. Don't daemonize, and print all messages to stdout and stderr.
26 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.
29 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.
33 The following commands can be used in interactive mode:
36 Show the paths that multipathd is monitoring, and their state.
38 .B list|show paths format $format
39 Show the paths that multipathd is monitoring, using a format string with path
42 .B list|show maps|multipaths
43 Show the multipath devices that the multipathd is monitoring.
45 .B list|show maps|multipaths format $format
46 Show the status of all multipath devices that the multipathd is monitoring,
47 using a format string with multipath format wildcards.
49 .B list|show maps|multipaths status
50 Show the status of all multipath devices that the multipathd is monitoring.
52 .B list|show maps|multipaths stats
53 Show some statistics of all multipath devices that the multipathd is monitoring.
55 .B list|show maps|multipaths topology
56 Show the current multipath topology. Same as "multipath -ll".
59 Show the current multipath topology. Same as "multipath -ll".
61 .B list|show map|multipath $map topology
62 Show topology of a single multipath device specified by $map, e.g. 36005076303ffc56200000000000010aa.
63 This map could be obtained from "list maps".
65 .B list|show wildcards
66 Show the format wildcards used in interactive commands taking $format
69 Show the currently used configuration, derived from default values and values specified within the configuration file /etc/multipath.conf.
71 .B list|show blacklist
72 Show the currently used blacklist rules, derived from default values and values specified within the configuration file /etc/multipath.conf.
75 Show all available block devices by name including the information if they are blacklisted or not.
78 Show the number of path checkers in each possible state, the number of monitored paths, and whether multipathd is currently handling a uevent.
81 Add a path to the list of monitored paths. $path is as listed in /sys/block (e.g. sda).
83 .B remove|del path $path
84 Stop monitoring a path. $path is as listed in /sys/block (e.g. sda).
87 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).
89 .B remove|del map $map
90 Stop monitoring a multipath device.
92 .B resize map|multipath $map
93 Resizes map $map to the given size
95 .B switch|switchgroup map $map group $group
96 Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1.
99 Reconfigures the multipaths. This should be triggered automatically after any hotplug event.
101 .B suspend map|multipath $map
102 Sets map $map into suspend state.
104 .B resume map|multipath $map
105 Resumes map $map from suspend state.
108 Sets path $path into failed state.
110 .B reinstate path $path
111 Resumes path $path from failed state.
113 .B disablequeueing maps|multipaths
114 Disable queueing on all multipath devices.
116 .B restorequeueing maps|multipaths
117 Restore queueing on all multipath devices.
119 .B disablequeueing map|multipath $map
120 Disable queuing on multipathed map $map
122 .B restorequeueing map|multipath $map
123 Restore queuing on multipahted map $map
126 End interactive session.
134 was developed by Christophe Varoqui, <christophe.varoqui@opensvc.com> and others.