Linux 主机的多路径验证

作为外部 LUN 导入( FLI )过程的一部分、您应该验证主机上的多路径是否已配置且运行正常。

关于本任务

对于 Linux 主机,请完成以下步骤。

步骤

  1. 要验证 Linux 主机上的 DM-MP 多路径是否已配置且运行正常,请运行以下命令: multipath -ll
    mpath2 (360060e801046b96004f2bf4600000012) dm-6 HITACHI,DF600F
    [size=2.0G][features=0][hwhandler=0][rw]
    \_ round-robin 0 [prio=1][active]
     \_ 0:0:1:2 sdg 8:96  [active][ready]
     \_ 1:0:1:2 sdo 8:224 [active][ready]
    \_ round-robin 0 [prio=0][enabled]
     \_ 0:0:0:2 sdc 8:32  [active][ready]
     \_ 1:0:0:2 sdk 8:160 [active][ready]
    mpath1 (360060e801046b96004f2bf4600000011) dm-5 HITACHI,DF600F
    [size=2.0G][features=0][hwhandler=0][rw]
    \_ round-robin 0 [prio=1][active]
     \_ 0:0:0:1 sdb 8:16  [active][ready]
     \_ 1:0:0:1 sdj 8:144 [active][ready]
    \_ round-robin 0 [prio=0][enabled]
     \_ 0:0:1:1 sdf 8:80  [active][ready]
     \_ 1:0:1:1 sdn 8:208 [active][ready]
    mpath0 (360060e801046b96004f2bf4600000010) dm-0 HITACHI,DF600F
    [size=20G][features=0][hwhandler=0][rw]
    \_ round-robin 0 [prio=1][active]
     \_ 0:0:1:0 sde 8:64  [active][ready]
     \_ 1:0:1:0 sdm 8:192 [active][ready]
    \_ round-robin 0 [prio=0][enabled]
     \_ 0:0:0:0 sda 8:0   [active][ready]
     \_ 1:0:0:0 sdi 8:128 [active][ready]
    mpath3 (360060e801046b96004f2bf4600000013) dm-7 HITACHI,DF600F
    [size=3.0G][features=0][hwhandler=0][rw]
    \_ round-robin 0 [prio=1][active]
     \_ 0:0:0:3 sdd 8:48  [active][ready]
     \_ 1:0:0:3 sdl 8:176 [active][ready]
    \_ round-robin 0 [prio=0][enabled]
     \_ 0:0:1:3 sdh 8:112 [active][ready]
     \_ 1:0:1:3 sdp 8:240 [active][ready]
    [root@dm-rx200s6-22 ~]#