多路径怎么重组磁盘?为什么新加进来的LUN被加入到已存在的mpath设备而不是重新创建mpath设备?

Solution Verified - Updated -

Issue

  • 为什么新加进来的LUN被加入到已存在的mpath设备而不是重新创建mpath设备?
    加入新的LUN之前:

    [root@test ~]# multipath -ll
    36005076802898138f40000000000000e dm-2 IBM,2145
    [size=30G][features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=0][active]
    \_ 1:0:0:1   sdb   8:16  [active][undef]
    \_ round-robin 0 [prio=0][enabled]
    \_ 0:0:0:1   sda   8:0   [active][undef]
    [root@test ~]#
    

加入新的LUN之后:

    [root@gest]# multipath -ll 
    36005076802898138f40000000000000e dm-2 IBM,2145
    [size=30G]        [features=1 queue_if_no_path][hwhandler=0][rw]
    \_ round-robin 0 [prio=0][enabled]
    \_ 1:0:0:1   sdb   8:16  [active][undef]
    \_ 1:0:0:2   sdd   8:48  [active][undef]
    \_ round-robin 0 [prio=0][enabled]
    \_ 0:0:0:1   sda   8:0   [active][undef]
    \_ 0:0:0:2   sdc   8:32  [active][undef]
    [root@test]#

Environment

  • Red Hat Enterprise Linux
  • device-mapper-multipath

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.