[dm-devel] [PATCH 03/10] do not allow in-use path to change wwid

Hannes Reinecke hare at suse.de
Sun Oct 30 13:45:01 UTC 2016


On 10/29/2016 04:55 AM, Benjamin Marzinski wrote:
> When a path is part of a multipath device, it must not change it's wwid.
> If it can, when multipathd is reconfigured, you can end up with two
> multipath devices owning the same path, eventually leading to a crash.
>
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
>  libmultipath/dmparser.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
Hmm. While I do see that this is an issue, just continuing is probably 
as bad; the wwid change might be genuine, in which case this device has 
no business being part of that particular multipath device.
Can't we just evict that offending path eg by orphaning it and let the 
admin figure things out?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare at suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)




More information about the dm-devel mailing list