Option
Description
-l
Display the current multipath configuration gathered from
sysfs
and the device mapper.
-ll
Display the current multipath configuration gathered from
sysfs
,
the device mapper, and all other available components on the
system.
-f device
Remove the named multipath device.
-F
Remove all multipath devices.
Table 5.1. Useful
multipath
Command Options
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
(253, 12)
mpath5p1
(253, 11)
mpath1
(253, 3)
mpath6p1
(253, 14)
mpath7p1
(253, 13)
mpath0
(253, 2)
mpath7
(253, 9)
mpath6
(253, 8)
VolGroup00-LogVol01
(253, 1)
mpath5
(253, 7)
VolGroup00-LogVol00
(253, 0)
mpath4
(253, 6)
mpath1p1
(253, 10)
mpath3
(253, 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
Determining Device Mapper Entries with the
29
Summary of Contents for DEVICE-MAPPER MULTIPATH 4.6
Page 4: ...Using Device Mapper Multipath ...
Page 6: ...vi ...
Page 16: ...6 ...
Page 19: ...filter r disk r sd a Multipath Devices in Logical Volumes 9 ...
Page 20: ...10 ...
Page 35: ... path_checker tur rr_weight priorities Configuration File Devices 25 ...
Page 36: ...26 ...