CentOS 7.x multipath
From Notes_Wiki
<yambe:breadcrumb>CentOS_7.x_file_system_management|CentOS 7.x file system management</yambe:breadcrumb>
CentOS 7.x multipath
On CentOS 7.x configure multipath using:
- yum -y install device-mapper-multipath parted
- For enabling multipath use:
- mpathconf --enable
-
- to create the multipath.conf config file.
- systemctl restart multipathd
- fdisk -l should show /dev/mapper/mpath<a> devices
- multipath -ll to see various multipath device and their paths
Note that without parted new partitions are not detected via partprobe automatically and require reboot. With parted new partitions are detected immediately and we can avoid reboot.
Refer: