redhat multipath configuration file brief description

RedHat multipath multipath file is roughly divided into two parts
multipath and device portions.
Use mpathconf program set up multiple paths, it can create multipath configuration file /etc/multipath.conf.
If /etc/multipath.conf file already exists, mpathconf program will edit the file.
If /etc/multipath.conf file does not exist, mpathconf program will use /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf file as the starting file.
If /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf file does not exist, then the program will start from scratch mpathconf /etc/multipath.conf file.
The following command enables the multipath configuration file and starts multipathd daemon.

#mpathconf --enable --with_multipathd y

The default configuration file /etc/multipath.conf default configuration file All configuration is generally annotated
To manually configure the following is a template parameter needs to be adjusted as needed
multipaths {
multipath {
WWID 36485702100cc1b75d48fde8700000008
user_friendly_names yes
Alias "oceanstrorage"
path_grouping_policy Multibus
path_selector "round-Robin 0 "
the failback immediate
rr_weight Priorities
the no_path_retry. 5
}
}
Devices {
Device {
Vendor" HUAWEI "
Product" Ocean Storage V3 "
the path_grouping_policy Multibus
the path_checker readsector0
path_selector" round-Robin 0 "
hardware_handler" 0 "
the failback 15
rr_weight Priorities
the no_path_retry Queue
}
}

Guess you like

Origin blog.csdn.net/tang3827738w/article/details/92183894