Skip to content

Commit e470528

Browse files
authored
FIX: HIGH PRIORITY multipath blacklist (rackerlabs#787)
Our current regexp pattern ^sda[0-9]* and ^sdb[0-9]* blacklists sda1, sda2, sda3, sda4 which is what we want. Unfortunately, it also blocks /dev/sda[a-x], /dev/sdb[a-x] which is NOT what we want Guarav's Rally testing revealed that with a high number of multipath devices, they naming convention starts to add the additional alphabet letter as it scales up. The correction: "^sd[a-b]?" per https://www.suse.com/support/kb/doc/?id=000016563
1 parent 56e8d99 commit e470528

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ansible/playbooks/templates/genestack-multipath.conf

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ blacklist {
99
devnode "scini*"
1010
devnode "^rbd[0-9]*"
1111
devnode "^nbd[0-9]*"
12-
devnode "^sda[0-9]*"
13-
devnode "^sdb[0-9]*"
12+
devnode "sd[a-b]$"
1413
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
1514
devnode "^(td|ha)d[a-z]"
1615
}

0 commit comments

Comments
 (0)