From: Martin Wilck Subject: Re: [PATCH 1/9] libmultipath: disable user_friendly_names for NetApp Date: Tue, 26 Feb 2019 09:43:07 +0100 Message-ID: <1201be739c3bd4a2ee7e2aa51a8cd02600714678.camel@suse.de> References: <1550854692-19873-1-git-send-email-bmarzins@redhat.com> <1550854692-19873-2-git-send-email-bmarzins@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1550854692-19873-2-git-send-email-bmarzins@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Benjamin Marzinski , Christophe Varoqui Cc: device-mapper development List-Id: dm-devel.ids On Fri, 2019-02-22 at 10:58 -0600, Benjamin Marzinski wrote: > 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. > > Signed-off-by: Benjamin Marzinski > --- > libmultipath/hwtable.c | 1 + > 1 file changed, 1 insertion(+) Ok. While looking at this, I realized that the multipath.conf(5) man page doesn't mention the fact that user_friendly_names could be used in the devices section of multipath.conf (which would be important for users who want to override the NetApp default behavior). Martin > > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c > index d3a8d9b..8776411 100644 > --- a/libmultipath/hwtable.c > +++ b/libmultipath/hwtable.c > @@ -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, > }, > { > /*