Skip to contentSkip to conversation

libmultipath: disable user_friendly_names for NetApp

PATCH New Benjamin Marzinski 1 participant 1 message Jan 30, 2019 Device mapper

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

PATCH 1/1 libmultipath: disable user_friendly_names for NetApp

NetApp has tools that rely on devices using WWID names. To avoid breaking these, NetApp devices should continue to use WWID names, even if the default config is set to enable user_friendly_names. If users want to use user_friendly_names on NetApp devices, the must specifically override the device config.

---
 libmultipath/hwtable.c | 1 +
 1 file changed, 1 insertion(+)
libmultipath/hwtable.c +1 -0
index d3a8d9b..8776411 100644
@@ -719,6 +719,7 @@ static struct hwentry default_hw[] = {
 		.flush_on_last_del = FLUSH_ENABLED,
 		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.prio_name     = PRIO_ONTAP,
+		.user_friendly_names = USER_FRIENDLY_NAMES_OFF,
 	},
 	{
 		/*
Signature · 1 line
2.17.2