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

Ritesh Raj Sarraf rrs at debian.org
Mon Jun 20 08:31:13 UTC 2016


Surprisingly, I am not able to reproduce this bug, now, on my virtual setup.
Here, the updation to /dev/mapper/ entries are instant as and when partitions
are deleted, without the patch proposed in this bug report.

So inclusion of this patch will depend on the bug reporter's results. We also
need to determine the cause of the bug because it is not just reproducible with
in a partitioned block device environment.



On Fri, 2016-06-17 at 18:11 +0530, Ritesh Raj Sarraf wrote:
> On Fri, 2016-06-17 at 17:22 +0530, Ritesh Raj Sarraf wrote:
> > On Fri, 2016-06-17 at 17:17 +0530, Ritesh Raj Sarraf wrote:
> > > Handle (broken?) DM Device partitions
> > > Debian Bug: #827412
> > > --- a/kpartx/kpartx.rules
> > > +++ b/kpartx/kpartx.rules
> > > @@ -37,7 +37,7 @@
> > >  # Create dm tables for partitions
> > >  ENV{DM_ACTION}=="PATH_FAILED|PATH_REINSTATED", GOTO="kpartx_end"
> > >  ENV{DM_NR_VALID_PATHS}=="0", GOTO="kpartx_end"
> > > -ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*", \
> > > +ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath*-* | part*-mpath-*", \
> > >          RUN+="/sbin/kpartx -u -p -part /dev/$name"
>> > Pfff. Please find the correct one attached.
> 
> And there was 1 more error on my part. Revised patch attached.
-- 
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/20160620/9771f868/attachment.sig>


More information about the pkg-lvm-maintainers mailing list