6.5. Administering the multipathd daemon
Manage and interact with the multipathd daemon using its commands. Administering multipathd is essential for monitoring path status, viewing device info, and controlling multipath behavior in real-time without needing service restarts or system reboots.
Procedure
View the default format for the output of the
multipathd show mapscommand:# multipathd show maps name sysfs uuid mpathc dm-0 360a98000324669436c2b45666c567942Some
multipathdcommands include aformatoption followed by a wildcard. Display a list of available wildcards with the following command:# multipathd show wildcards multipath format wildcards: %n name %w uuid %d sysfs ...Display the multipath devices that
multipathdis monitoring. Use wildcards to specify the shown fields:# multipathd show maps format "%n %w %d %s" name uuid sysfs vend/prod/rev mpathc 360a98000324669436c2b45666c567942 dm-0 NETAPP,LUNDisplay the paths that
multipathdis monitoring. Use wildcards to specify the shown fields:# multipathd show paths format "%n %w %d %s" target WWNN uuid dev vend/prod/rev 0x50001fe1500d2250 3600508b4001080520001e00011700000 sdb HP,HSV210Display data in a raw format:
# multipathd show maps raw format "%n %w %d %s" mpathc 360a98000324669436c2b45666c567942 dm-0 NETAPP,LUNIn raw format, no headers are printed and the fields are not padded to align the columns with the headers. This output can be more easily used for scripting.