1MULTIPATHD(8)               System Manager's Manual              MULTIPATHD(8)
2
3
4

NAME

6       multipathd - multipath daemon
7
8

SYNOPSIS

10       multipathd [options]
11
12

DESCRIPTION

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

OPTIONS

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

COMMANDS

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 paths format $format
45              Show  the  paths  that  multipathd is monitoring, using a format
46              string with path format wildcards.
47
48       list|show paths raw format $format
49              Show the paths that multipathd is  monitoring,  using  a  format
50              string  with  path  format wildcards. No headers will be printed
51              and no padding will be applied to the strings.
52
53       list|show status
54              Show the number of monitored paths in each path checker state.
55
56       list|show maps|multipaths
57              Show the multipath devices that the multipathd is monitoring.
58
59       list|show daemon
60              Show the current state of the multipathd daemon
61
62       list|show maps|multipaths format $format
63              Show the status of all multipath devices that the multipathd  is
64              monitoring,  using  a  format string with multipath format wild‐
65              cards.
66
67       list|show maps|multipaths raw format $format
68              Show the status of all multipath devices that the multipathd  is
69              monitoring,  using  a  format string with multipath format wild‐
70              cards. No headers will be printed and no padding will be applied
71              to the strings.
72
73       list|show maps|multipaths status
74              Show  the status of all multipath devices that the multipathd is
75              monitoring.
76
77       list|show maps|multipaths stats
78              Show some statistics of all multipath devices  that  the  multi‐
79              pathd is monitoring.
80
81       list|show maps|multipaths topology
82              Show the current multipath topology. Same as "multipath -ll".
83
84       list|show topology
85              Show the current multipath topology. Same as "multipath -ll".
86
87       list|show map|multipath $map topology
88              Show  topology  of  a single multipath device specified by $map,
89              e.g.  36005076303ffc56200000000000010aa.   This  map  could   be
90              obtained from "list maps".
91
92       list|show wildcards
93              Show  the  format  wildcards used in interactive commands taking
94              $format
95
96       list|show config
97              Show the currently used configuration, derived from default val‐
98              ues and values specified within the configuration file /etc/mul‐
99              tipath.conf.
100
101       list|show blacklist
102              Show the currently used blacklist rules,  derived  from  default
103              values  and  values  specified  within  the  configuration  file
104              /etc/multipath.conf.
105
106       list|show devices
107              Show all available block devices by name including the  informa‐
108              tion if they are blacklisted or not.
109
110       add path $path
111              Add a path to the list of monitored paths. $path is as listed in
112              /sys/block (e.g. sda).
113
114       remove|del path $path
115              Stop monitoring a path. $path is as listed in  /sys/block  (e.g.
116              sda).
117
118       paths count
119              Show  the  number  of monitored paths, and whether multipathd is
120              currently handling a uevent.
121
122       add map|multipath $map
123              Add a multipath device to the list of  monitored  devices.  $map
124              can  either  be  a  device-mapper device as listed in /sys/block
125              (e.g. dm-0) or it can be the  alias  for  the  multipath  device
126              (e.g.   mpath1)  or  the  uid  of  the  multipath  device  (e.g.
127              36005076303ffc56200000000000010aa).
128
129       remove|del map|multipath $map
130              Stop monitoring a multipath device.
131
132       resize map|multipath $map
133              Resizes map $map to the given size
134
135       switch|switchgroup map|multipath $map group $group
136              Force a multipath device to switch to  a  specific  path  group.
137              $group is the path group index, starting with 1.
138
139       reconfigure
140              Reconfigures  the multipaths. This should be triggered automati‐
141              cally after any hotplug event.
142
143       suspend map|multipath $map
144              Sets map $map into suspend state.
145
146       resume map|multipath $map
147              Resumes map $map from suspend state.
148
149       fail path $path
150              Sets path $path into failed state.
151
152       reinstate path $path
153              Resumes path $path from failed state.
154
155       disablequeueing maps|multipaths
156              Disable queueing on all multipath devices.
157
158       restorequeueing maps|multipaths
159              Restore queueing on all multipath devices.
160
161       disablequeueing map|multipath $map
162              Disable queuing on multipathed map $map
163
164       restorequeueing map|multipath $map
165              Restore queuing on multipathed map $map
166
167       forcequeueing daemon
168              Forces  multipathd  into  queue_without_daemon  mode,  so   that
169              no_path_retry  queueing  will  not  be  disabled when the daemon
170              stops
171
172       restorequeueing daemon
173              Restores configured queue_without_daemon mode
174
175       map|multipath $map setprstatus
176              Enable persistent reservation management on $map
177
178       map|multipath $map unsetprstatus
179              Disable persistent reservation management on $map
180
181       map|multipath $map getprstatus
182              Get the current persistent reservation management status of $map
183
184       quit|exit
185              End interactive session.
186
187

SEE ALSO

189       multipath(8) kpartx(8) hotplug(8)
190

AUTHORS

192       multipathd  was  developed  by  Christophe  Varoqui,  <christophe.varo‐
193       qui@free.fr> and others.
194
195
196
197Linux Administrator's Manual     November 2009                   MULTIPATHD(8)
Impressum