VPD pages are only valid for SCSI devices, so we should disable the RDAC detection for non-SCSI devices. Otherwise we'll get an error about VPD inquiry failed. Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- libmultipath/propsel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c index f0847dba..af3ed622 100644 --- a/libmultipath/propsel.c +++ b/libmultipath/propsel.c @@ -466,6 +466,8 @@ check_rdac(struct path * pp) int len; char buff[44]; + if (pp->bus != SYSFS_BUS_SCSI) + return 0; len = get_vpd_sgio(pp->fd, 0xC9, buff, 44); if (len <= 0) return 0; -- 2.17.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel