Device Mapper Multipathing(或者 DM-multipathing)是一个 Linux 原生多路径工具,它允许我们将服务器节点和存储数组之间的多个 I/O 路径配置到单个设备中。
本文描述了从系统中完全取消配置和删除设备映射器多路径的步骤。
禁用多路径服务
- 确保未使用设备映射器多路径。
然后停止 multipathd 服务:
# service multipathd stop
- 检查multipathd服务是否在系统启动时被禁用
# chkconfig --list | grep multipathd
- 如果没有,则使用以下命令禁用它:
# chkconfig multipathd off # chkconfig --list | grep multipathd multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
on it road.com
删除包并重建初始内存磁盘
- 获取完整的包名:
# rpm -qa |grep multipath device-mapper-multipath-0.4.9-93.el6.x86_64 device-mapper-multipath-libs-0.4.9-93.el6.x86_64
- 使用 yum 删除包:
# yum remove device-mapper-multipath
- 然后最后通过忽略multipath模块重建initramfs:
# cp /boot/initramfs-[kernel version].img /boot/initramfs-[kernel version].img.BAK # dracut -v -f --omit dm_multipath initramfs-[kernel version].img [kernel version]
日期:2020-09-17 00:12:37 来源:oir作者:oir