SUSE Support

Here When You Need Us

The multipath -l command shows undef and unknown states

This document (7022165) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)


Situation

The command multipath -l shows undef and unknown states while multipath -ll shows correct states.

node:~ # multipath -l red
red (3600140535661995164c4304bf9ef407e) dm-2 LIO-ORG,IBLOCK
size=5.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
  |- 3:0:0:0 sdb 8:16 active undef unknown
  `- 6:0:0:0 sde 8:64 active undef unknown

node:~ # multipath -ll red
red (3600140535661995164c4304bf9ef407e) dm-2 LIO-ORG,IBLOCK
size=5.0G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
  |- 3:0:0:0 sdb 8:16 active ready running
  `- 6:0:0:0 sde 8:64 active ready running

node:~ # echo "list paths" | multipathd -k
multipathd> list paths
hcil    dev dev_t pri dm_st  chk_st dev_st  next_check     
5:0:0:1 sdd 8:48  1   active ready  running XXXXXXXX.. 16/20
5:0:0:0 sdc 8:32  1   active ready  running XXXXXXXX.. 16/20
3:0:0:0 sdb 8:16  1   active ready  running XXXXXXXX.. 16/20
4:0:0:1 sdg 8:96  1   active ready  running XXXXXXXX.. 17/20
4:0:0:0 sdf 8:80  1   active ready  running XXXXXXXXX. 18/20
6:0:0:0 sde 8:64  1   active ready  running .......... 1/20

Resolution

Working as designed. The -l option only queries sys and device mapper, whereas -ll queries all available status options. Per the multipath(8) man page:

-l     Show the current multipath topology from information fetched in sysfs and the device mapper.
-ll    Show the current multipath topology from all available  information (sysfs, the device mapper, path checkers ...).

The multipath -l and -ll output for the device line have the following columns:

SCSI ID, kernel device, major:minor, device-mapper state, path checker state, device state

  |- 3:0:0:0 sdb 8:16 active ready running

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7022165
  • Creation Date: 24-Oct-2017
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.