系统相关
首页 > 系统相关> > linux multipath 软件部署

linux multipath 软件部署

作者:互联网

[root@localhost ~]# yum list all | grep multipath
device-mapper-multipath.x86_64 0.4.9-123.el7 ol7_6
device-mapper-multipath-libs.i686 0.4.9-123.el7 ol7_6
device-mapper-multipath-libs.x86_64 0.4.9-123.el7 ol7_6
[root@localhost ~]# yum install device-mapper-multipath*
Loaded plugins: ulninfo
Resolving Dependencies
--> Running transaction check
---> Package device-mapper-multipath.x86_64 0:0.4.9-123.el7 will be installed
---> Package device-mapper-multipath-libs.x86_64 0:0.4.9-123.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
device-mapper-multipath x86_64 0.4.9-123.el7 ol7_6 139 k
device-mapper-multipath-libs x86_64 0.4.9-123.el7 ol7_6 254 k

Transaction Summary
==============================================================================================================
Install 2 Packages

Total download size: 393 k
Installed size: 805 k
Is this ok [y/d/N]: y
Downloading packages:
--------------------------------------------------------------------------------------------------------------
Total 74 MB/s | 393 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : device-mapper-multipath-libs-0.4.9-123.el7.x86_64 1/2
Installing : device-mapper-multipath-0.4.9-123.el7.x86_64 2/2
Verifying : device-mapper-multipath-libs-0.4.9-123.el7.x86_64 1/2
Verifying : device-mapper-multipath-0.4.9-123.el7.x86_64 2/2

Installed:
device-mapper-multipath.x86_64 0:0.4.9-123.el7 device-mapper-multipath-libs.x86_64 0:0.4.9-123.el7

Complete!

[root@localhost ~]# multipath -ll

Mar 18 09:38:25 | DM multipath kernel driver not loaded
Mar 18 09:38:25 | DM multipath kernel driver not loaded
[root@localhost ~]# multipath -v2
Mar 18 09:38:29 | DM multipath kernel driver not loaded
Mar 18 09:38:29 | DM multipath kernel driver not loaded
[root@localhost ~]# modprobe dm-multipath
[root@localhost ~]# modprobe dm-round-robin
[root@localhost ~]# service multipathd start
Redirecting to /bin/systemctl start multipathd.service
[root@localhost ~]# chkconfig multipathd on
Note: Forwarding request to 'systemctl enable multipathd.service'.

[root@localhost ~]# multipath -v2

[root@localhost ~]# multipath -ll

 

标签:mapper,0.4,123,linux,device,软件,multipath,el7
来源: https://www.cnblogs.com/oradba/p/14553845.html