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

zhang.kai16 at zte.com.cn zhang.kai16 at zte.com.cn
Fri Sep 9 02:24:29 UTC 2016


How to create partitions without kpartx.rules if we want to use the latest 
version multipath-tools of opensvc in rhel7.2?



发件人:         "Benjamin Marzinski" <bmarzins at redhat.com>
收件人:         Ritesh Raj Sarraf <rrs at researchut.com>, 
抄送:   dm-devel at redhat.com
日期:   2016-09-09 00:02
主题:   Re: [dm-devel] [PATCH] kpartx: partitions of mapped devices cannot 
be created in redhat OS
发件人: dm-devel-bounces at redhat.com



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

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160909/6a266dca/attachment.htm>


More information about the dm-devel mailing list