Sometimes we in the Linux system through the "fdisk-l" command, you will see the/dev/mapper/xxxxx disk, which is likely to be a logical volume, or the configuration of multipath, you can first through "lvdisplay" how to see, then the description is a logical volume, if not , then is the disk multipath configuration, under the Multipath configuration, generally/dev/mapper/xxxx link to a disk/dev/dm-x block device files, we can see/etc/multipath.conf, you will find the relevant multipath configuration, or the/etc/ There is a wwids file under the Multipath path, which is the file that configures the Multipath disk name, which can be managed by the Multipath command:
/ETC/INIT.D/MULTIPATHD Start #开启mulitipath服务
# multipath-f #删除现有路径
# Multipath-v2 #格式化路径
# Multipath-ll #查看多路径
Installation:
Yum–y Install Device-mapper Device-mapper-multipath
Modprobe Dm-multipath
# modprobe Dm-round-robin
# service MULTIPATHD Start
# MULTIPATH–V2
Configuration:
vi/etc/multipath.conf file
Blacklist {
Devnode "^SDA"
}
Defaults {
User_friendly_names Yes
Path_grouping_policy Multibus
failback Immediate
No_path_retry fail
}
This article is from the "Technology Change Destiny" blog, please be sure to keep this source http://linux1989.blog.51cto.com/9347464/1920383
Linux under Disk Multipath