From 28903ddaa3b8f919d85a58c617933ddf001a0119 Mon Sep 17 00:00:00 2001 From: Eric Gillingham Date: Thu, 2 May 2024 09:24:07 -0700 Subject: [PATCH] Dont recommend alua Most folks probably dont have a NAS that provides alua, so lets default to the multipath.conf default, and enable prio detect to fallback if it fails. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2c74b4f..161dd86 100644 --- a/README.md +++ b/README.md @@ -235,13 +235,14 @@ You will still need to configure the SSH connector for listing the ZFS Pools bec 4. Create a `/etc/multipath.conf` with the following defaults block: ``` - defaults { +defaults { polling_interval 5 path_selector "round-robin 0" path_grouping_policy multibus uid_attribute ID_SERIAL - prio alua - path_checker readsector0 + prio sysfs + detect_prio yes + path_checker tur rr_min_io 100 max_fds 8192 rr_weight priorities @@ -249,7 +250,7 @@ You will still need to configure the SSH connector for listing the ZFS Pools bec no_path_retry queue user_friendly_names yes find_multipaths smart - } +} ``` The key setting here is `find_multipaths` which tells multipath to scan for luns that are avaiable over multiple paths. *NOTE* You might have to create a `blacklist { ... }` section in `multipath.conf` to exclude your physical scsi drives, the ISCSI_Multipath wiki page above has some guidance for getting the wwids.