Questo contenuto non è disponibile nella lingua selezionata.
2.6. device-mapper-multipath
The device-mapper-multipath packages provide tools to manage multipath devices using the device-mapper multipath kernel module.
- Note that under certain circumstances, the multipathd daemon can terminate unexpectedly during shutdown.
- It is possible to overwrite the default hardware table. However, regular expression matches are not allowed; the vendor and product strings need to be matched exactly. These strings can be found by running the following command:
multipathd -k"show config"
~]# multipathd -k"show config"Copy to Clipboard Copied! Toggle word wrap Toggle overflow - By default, the
multipathdservice starts up before theiscsiservice. This provides multipathing support early in the bootup process and is necessary for multipathed iSCSI SAN boot setups. However, once started, themultipathdservice adds paths as informed about them by udev. As soon as themultipathdservice detects a path that belongs to a multipath device, it creates the device. If the first path that multipathd notices is a passive path, it attempts to make that path active. If it later adds a more optimal path,multipathdactivates the more optimal path. In some cases, this can cause a significant overhead during a startup.If you are experiencing such performance problems, define themultipathdservice to start after theiscsiservice. This does not apply to systems where the root device is a multipathed iSCSI device, since it the system would become unbootable. To move the service start time run the following commands:To restore the original start time, run the following command:mv /etc/rc5.d/S06multipathd /etc/rc5.d/S14multipathd mv /etc/rc3.d/S06multipathd /etc/rc3.d/S14multipathd
~]# mv /etc/rc5.d/S06multipathd /etc/rc5.d/S14multipathd ~]# mv /etc/rc3.d/S06multipathd /etc/rc3.d/S14multipathdCopy to Clipboard Copied! Toggle word wrap Toggle overflow (BZ#500998)chkconfig multipathd resetpriorities
~]# chkconfig multipathd resetprioritiesCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Running the
multipathcommand with the-lloption can cause the command to hang if one of the paths is on a blocking device. Note that the driver does not fail a request after some time if the device does not respond.This is caused by the cleanup code, which waits until the path checker request either completes or fails. To display the currentmultipathstate without hanging the command, usemultipath -linstead. (BZ#214838)