[dm-devel] [PATCH] Disable partitions scan for multipathed devices

Hannes Reinecke hare at suse.de
Wed Mar 12 12:27:55 UTC 2014


On 03/12/2014 01:23 PM, Alasdair G Kergon wrote:
> On Wed, Mar 12, 2014 at 12:48:56PM +0100, Hannes Reinecke wrote:
>> For this I've implemented a new feature 'no_partitions' which
>> just serves as a notifier to kpartx to _not_ create partitions
>> on these devices.
>  
> This should be covered by the existing cookie flags (which udev rules
> already use, if you're using udev).  It's not a multipath-specific
> problem but can apply to other targets too.
> 
Ah.

How? To my knowledge the 'cookies' mechanism is to enable
libdevmapper to wait until udev is done with device creation.

Can you elaborate here?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare at suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)




More information about the dm-devel mailing list