79687062

Date: 2025-07-02 08:09:46
Score: 0.5
Natty:
Report link

Extending @CreeperInATardis answer, that is correct.

multipathd has following commands that produce JSON:

First one multipathd list multipaths json lists all multipath devices and prints JSON like this:

# multipathd list multipaths json
{
   "major_version": 0,
   "minor_version": 1,
   "maps": [{
      "name" : "mpathi",
      "uuid" : "366c4a7405155413030303135933856ef",
      "sysfs" : "dm-1",
...
   },{
      "name" : "mpathaa",
      "uuid" : "366c4a7405155413030303135a0b0c10d",
      "sysfs" : "dm-2",
...
   }]
}

(output is very large so I cut it out)

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @CreeperInATardis
  • Low reputation (0.5):
Posted by: Leonid K