On 10/11/2016 08:22 AM, Hannes Reinecke wrote:
> Autodetection will only work if the hardware handler is loaded.
> If the handler is _not_ loaded autodetection won't work, either.
> And if we add this patch multipath will never load the modules, neither.
> So we need this functionality as a fallback if autodetect does not work.
I'm pretty sure all works flawlessly with this patch. Because I use similar
options for EMC VNX7500(CLARiiON) configured as ALUA "Failover Mode 4
with SLES-11/12 and RHEL-6 booting from SAN.
For SLES it was added to DGC config:
In RHEL it's included by default:
And the modules are preloaded by multipathd/multipathd.service:
ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac
RDAC devices also depend *exclusively* on "retain_attached_hw_handler" and
to run in ALUA mode.
dm-devel mailing list