Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

Ritesh Raj Sarraf rrs at debian.org
Fri Jun 17 09:02:07 UTC 2016


On Thu, 2016-06-16 at 12:51 -0600, Andrew Patterson wrote:
> lrwxrwxrwx 1 root root 10 Jun 16 12:48 dm-uuid-mpath-
> 360002ac00000000000001904000028be -> ../../dm-0
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac00000000000001905000028be -> ../../dm-1
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac00000000000001906000028be -> ../../dm-2
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac00000000000001907000028be -> ../../dm-3
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac00000000000001908000028be -> ../../dm-4
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac00000000000001909000028be -> ../../dm-5
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac0000000000000190a000028be -> ../../dm-6
> lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath-
> 360002ac0000000000000190b000028be -> ../../dm-7
> lrwxrwxrwx 1 root root 10 Jun 16 12:48 dm-uuid-part1-mpath-
> 360002ac00000000000001904000028be -> ../../dm-8


To be honest, I'm a little lost now. This last line looks like where the bug is,
but again, if this is the bug, I can't see a reason why the patch worked on it.

Can you run the following command on the device that you create a partition for?
sudo udevadm info --path /sys/block/dm-0 --query=all

Where dm-X is your device.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160617/e36d6f8a/attachment.sig>


More information about the pkg-lvm-maintainers mailing list