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

Ritesh Raj Sarraf rrs at researchut.com
Tue Sep 6 11:39:28 UTC 2016


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



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
-------------- 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://listman.redhat.com/archives/dm-devel/attachments/20160906/0da82d24/attachment.sig>


More information about the dm-devel mailing list