Le 3 sept. 2018 à 18:31, Nir Soffer <nsoffer(a)redhat.com> a
écrit :
On Mon, Sep 3, 2018 at 5:07 PM Fabrice Bacchella <fabrice.bacchella(a)orange.fr
<mailto:fabrice.bacchella@orange.fr>> wrote:
In the release notes, I see:
• BZ 1622700 [downstream clone - 4.2.6] [RFE][Dalton] - Blacklist all local disk in
multipath on RHEL / RHEV Host (RHEL 7.5)
Feature:
Blacklist local devices in multipath.
Reason:
multipath repeatedly logs irrelevant errors for local devices.
Result:
Local devices are blacklisted, and no irrelevant errors are logged anymore.
What defines a local disk ? I'm using a SAN on SAS. For many peoples, SAS is only for
local disks, but that's not the case. Will other 4.2.6 will detect that ?
We don't have any support for SAS.
If you SAS drives are attached to the host using FC or iSCSI, you are fine.
Nope, they are attached using SAS.
In /dev/disk, they show as:
ls -l /dev/disk/by-*/*:16
lrwxrwxrwx 1 root root 9 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:1:16
-> ../../sdc
lrwxrwxrwx 1 root root 9 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:2:16
-> ../../sds
lrwxrwxrwx 1 root root 10 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:3:16
-> ../../sdai
lrwxrwxrwx 1 root root 10 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:4:16
-> ../../sdaz
lrwxrwxrwx 1 root root 10 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:5:16
-> ../../sdbq
lrwxrwxrwx 1 root root 10 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:6:16
-> ../../sdar
lrwxrwxrwx 1 root root 10 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:7:16
-> ../../sdch
lrwxrwxrwx 1 root root 10 Sep 3 18:01 /dev/disk/by-path/pci-0000:87:00.0-scsi-0:2:8:16
-> ../../sdcv
ls -l /dev/disk/by-* | grep sdcv
lrwxrwxrwx 1 root root 10 Sep 3 18:01 scsi-3600c0ff0002631c42168f15601000000 ->
../../sdcv
lrwxrwxrwx 1 root root 10 Sep 3 18:01 wwn-0x600c0ff0002631c42168f15601000000 ->
../../sdcv
lrwxrwxrwx 1 root root 10 Sep 3 18:01 pci-0000:87:00.0-scsi-0:2:8:16 -> ../../sdcv
If your drives are connected in another way, you probably need to edit
/etc/multipath.conf.
The current setting is:
blacklist_exceptions {
protocol "(scsi:fcp|scsi:iscsi)"
}
Where do I find the protocol multipath thinks the drives are using ?