From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Walter A. Boring IV" Subject: multipath -f with friendly names doesn't flush Date: Thu, 20 Aug 2015 09:32:49 -0700 Message-ID: <55D60131.4090803@hp.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com, christophe.veroqui@opensvc.com Cc: Andrew Patterson , "Rosa, Andrea (HP Cloud Services)" List-Id: dm-devel.ids Hello Christophe, I couldn't find any other way to file a defect against the package, so I'm sending this email out. I'm working on OpenStack and using the multipath daemon to discover mpath devices to pass in to nova VMs as well as flushing/removing mpath devices with multipath -f . I'm the primary author of the OpenStack os-brick library http://github.com/openstack/os-brick which is used to discover volume attachments and remove volumes from the host OS. I'm seeing an issue with multipath v0.4.9 (on Ubuntu 14.04) that when friendly names are enabled in /etc/multipath.conf, calls to multipath -f does nothing. All of the multipath entries in /dev/disk/by-id are not removed and the multipath device is still in the table. I can run multipath -ll and it's still there. Turning off friendly names makes multipath -f works and the multipath -ll entry is gone. Cheers, Walt