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.
This commit is contained in:
Eric Gillingham 2024-05-02 09:24:07 -07:00 committed by GitHub
parent 7bf58e0a6b
commit 28903ddaa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 4 deletions

View File

@ -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: 4. Create a `/etc/multipath.conf` with the following defaults block:
``` ```
defaults { defaults {
polling_interval 5 polling_interval 5
path_selector "round-robin 0" path_selector "round-robin 0"
path_grouping_policy multibus path_grouping_policy multibus
uid_attribute ID_SERIAL uid_attribute ID_SERIAL
prio alua prio sysfs
path_checker readsector0 detect_prio yes
path_checker tur
rr_min_io 100 rr_min_io 100
max_fds 8192 max_fds 8192
rr_weight priorities 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 no_path_retry queue
user_friendly_names yes user_friendly_names yes
find_multipaths smart find_multipaths smart
} }
``` ```
The key setting here is `find_multipaths` which tells multipath to scan for luns that are avaiable over multiple paths. 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. *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.