centos7使用multipath绑定共享磁盘
[root@localhost etc]# multipath -F
[root@localhost etc]# multipath -ll
[root@localhost etc]# multipath -v2
create: vote (VBOX_HARDDISK_VBc8f37cbf-6bac1351) undef ATA ,VBOX HARDDISK
size=513M features='1 queue_if_no_path' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 3:0:0:0 sdb 8:16 undef ready running
create: redo (VBOX_HARDDISK_VB78e4dec9-e9d77fe6) undef ATA ,VBOX HARDDISK
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 4:0:0:0 sdc 8:32 undef ready running
create: data02 (VBOX_HARDDISK_VB43e5e0df-a8197c1b) undef ATA ,VBOX HARDDISK
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 5:0:0:0 sdd 8:48 undef ready running
create: data01 (VBOX_HARDDISK_VBb678a4dd-70935d55) undef ATA ,VBOX HARDDISK
size=1.0G features='1 queue_if_no_path' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 6:0:0:0 sde 8:64 undef ready running
create: ocr (VBOX_HARDDISK_VB0cdd1ba5-6973dc28) undef ATA ,VBOX HARDDISK
size=201M features='1 queue_if_no_path' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
`- 7:0:0:0 sdf 8:80 undef ready running
``
是有udev绑定权限
```powershell
[root@localhost ]# vi
ENV{DM_NAME}=="ocr",OWNER:="dmdba",GROUP:="dinstall",MODE:="660"
ENV{DM_NAME}=="data01",OWNER:="dmdba",GROUP:="dinstall",MODE:="660"
ENV{DM_NAME}=="data02",OWNER:="dmdba",GROUP:="dinstall",MODE:="660"
ENV{DM_NAME}=="redo",OWNER:="dmdba",GROUP:="dinstall",MODE:="660"
ENV{DM_NAME}=="vote",OWNER:="dmdba",GROUP:="dinstall",MODE:="660"