(self-answer, sorry) > This introduced a "bug" : now if a LVM PV is created on a primary partition > it is not added in $devfspv_devices, and auto_lvm_perform should fail. I confirm this bug, and here is a patch that "works for me". It takes all the flagging out of create_partitions and puts it in a new function, called from create_primary_partitions and create_partitions. Of course, some testing may be needed. Cheers, Grégory