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 maps command:

    # multipathd show maps
    name sysfs uuid
    mpathc dm-0 360a98000324669436c2b45666c567942
  • Some multipathd commands include a format option 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 multipathd is 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,LUN
  • Display the paths that multipathd is 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,HSV210
  • Display data in a raw format:

    # multipathd show maps raw format "%n %w %d %s"
    mpathc 360a98000324669436c2b45666c567942 dm-0 NETAPP,LUN

    In 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.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部