Option
-F
Table 5.1. Useful multipath Command Options
5.4. Determining Device Mapper Entries with the dmsetup
Command
You can use the dmsetup command to find out which device mapper entries match the multipathed
devices.
The following command displays all the device mapper devices and their major and minor numbers.
The minor numbers determine the name of the dm device. For example, a minor number of 3
corresponds to the multipathed device /dev/dm-3.
# dmsetup ls
mpath2
(253, 4)
mpath4p1
mpath5p1
mpath1
(253, 3)
mpath6p1
mpath7p1
mpath0
(253, 2)
mpath7
(253, 9)
mpath6
(253, 8)
VolGroup00-LogVol01
mpath5
(253, 7)
VolGroup00-LogVol00
mpath4
(253, 6)
mpath1p1
mpath3
(253, 5)
5.5. Troubleshooting with the multipathd Interactive
Console
The multipathd -k command is an interactive interface to the multipathd daemon. Entering
this command brings up an interactive multipath console. After entering this command, you can enter
help to get a list of available commands, you can enter a interactive command, or you can enter
CTRL-D to quit.
The multipathd interactive console can be used to troubleshoot problems you may be having with
your system. For example, the following command sequence displays the multipath configuration,
including the defaults, before exiting the console.
# multipathd -k
> > show config
> > CTRL-D
Determining Device Mapper Entries with the dmsetup Command
Description
Remove all multipath devices.
(253, 12)
(253, 11)
(253, 14)
(253, 13)
(253, 1)
(253, 0)
(253, 10)
23
Need help?
Do you have a question about the ENTERPRISE LINUX 5.1 DM MULTIPATH and is the answer not in the manual?
Questions and answers