[dm-devel] [PATCH] kpartx: partitions of mapped devices cannot be created in redhat OS

Benjamin Marzinski bmarzins at redhat.com
Thu Sep 8 15:54:48 UTC 2016


On Tue, Sep 06, 2016 at 05:09:28PM +0530, Ritesh Raj Sarraf wrote:
> Yes. In Debian too, we've been hit by something similar.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827412
> https://anonscm.debian.org/cgit/pkg-lvm/multipath-tools.git/tree/debian/dmsetup_
> env

I just want to point out that we don't actually distribute kpartx.rules
in the redhat releases of the multipath-tools.

-Ben

> 
> 
> 
> On Mon, 2016-08-29 at 19:12 +0800, tang.junhui at zte.com.cn wrote:
> > From: "tang.junhui" <tang.junhui at zte.com.cn>
> > 
> > Environment variables such as DM_TABLE_STATE are used in kpartx.rules which
> > exported
> > by "dmsetup export" in previous udev rules in SuSE OS, however, there is no
> > such command
> > "dmsetup export" in redhat OS, so these environment variables are not
> > initialized and
> > partitions cannot be created. This patch replace "dmsetup export" with
> > "dmsetup info"
> > to get the status of mapped device, which can work well both in SuSE and
> > redhat OS.
> -- 
> Given the large number of mailing lists I follow, I request you to CC
> me in replies for quicker response



> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list