Paths in ALUA 'standby' state are not required to support READ CAPACITY, and hence might report a size of '0'. However, they are valid devices and should be added to the existing topology. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> --- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multipathd/main.c b/multipathd/main.c index c1b94bd..c56672a 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -560,7 +560,7 @@ ev_add_path (struct path * pp, struct vectors * vecs) pp->mpp = mpp; rescan: if (mpp) { - if (mpp->size != pp->size) { + if (pp->size && mpp->size != pp->size) { condlog(0, "%s: failed to add new path %s, " "device size mismatch", mpp->alias, pp->dev); -- 2.6.6 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel