Ubuntu系统下的多路径软件是操作系统自带的 DM Multipath工具。
------------------------------------------------------------------------------------------------------------------
DM-Multipath 组件介绍:
dm_multipath : 内核模块 为路径和路径组群重新指定 I/O 并支持出错冗余。
multipath-tools: 程序 配置并启用设备映射器多路径
multipath : 命令 列出并配置 multipath 设备。通常使用 /etc/rc.sysinit 启动,还可以在添加块设备时使用 udev 程序启动。
multipathd : 守护进程 监视器路径,如果路径故障并返回,它可能会启动路径组群切换。可为多路径设备提供互动修改。
对 /etc/multipath.conf 文件的任何修改都必须启动它。
kpartx : 命令 为设备中的分区生成设备映射器设备。这个命令对带 DM-MP 的 DOS 分区
是很必要的。kpartx 在其自身软件包中就存在,但 devicemapper-multipath 软件包要依赖它。
-------------------------------------------------------------------------------------------------------------------
一、首先检查系统是否已安装了 Multipath 软件包,如果没有从系统安装光盘上找到并且安装相应软件包。
root@ubuntu:~# dpkg -l | grep multipath-tools
root@ubuntu:~# #没有返回值说明没有安装
二、安装multipath-tools 和multipath-tools-boot 软件包
通过apt源安装,如果操作系统可以连接外网通过网络apt源最方便,如果不能连外网,可以通过DVD光驱挂载系统iso镜像文件实现本地apt源安装,
挂载DVD源的方法Ubuntu源的文章已经介绍这里不再介绍了。
1、搜索软件包
root@ubuntu:~# apt-cache search multipath-tool
kpartx - create device mappings for partitions
multipath-tools - maintain multipath block device access
multipath-tools-boot - Support booting from multipath devices
root@ubuntu:~#
2、安装软件包
root@ubuntu:~# apt-get install multipath-tools
如果需要从SAN引导,则还需要multipath-tools-boot软件包,不需要可以不安装。
root@ubuntu:~# apt-get install multipath-tools-boot
Ubuntu系统下的多路径软件 DM Multipath 配置。
最新推荐文章于 2024-01-04 10:16:37 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)