1、查看磁盘是否映射成功[root@Server3~]# fdisk -l映射成功,两块磁盘
2、执行mpathconf–enable在/etc下生成配置文件[root@Server3~]#mpathconf--enable
3、查看multipath.conf配置文件中的语句是否注释掉[root@Server3~]#vim/etc/multipath.conf
4、启动multipathd服务[root@Server3~]#servicemultipathdstartStartingmultipath颊俄岿髭ddaemon:[OK][root@Server3~]#multipath-llmpathb(360003ff54bbdf1838209b1807716e5db)dm-0MSFT,VirtualHDsize=9.8Gfeatures='0'hwhandler='0'wp=rw|-+-policy='round-robin0'prio=1status=active|`-3:0:0:0sdb8:16activereadyrunning`-+-policy='round-robin0'prio=1status=enabled`-2:0:0:0sdc8:32activereadyrunning
5、再来一次[root@Server3~]# fdisk -l发现聚会后的磁盘
6、确保multipathdaemon开机自动启动[root@redhat1~]#chkconfig--listmultipathd缪梨痤刻[root@redhat1~]#chkconfigmultipathdon[root@redhat1~]#chkconfig--listmultipathd注意!有些做完了,重启以后发现磁盘没有了;那因为你没有设置为开机自动启动
7、Linux_Multipath的配置,全部完成;