Comment 21 for bug 154086

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

@ Philip Hands (phil-hands)

I decided to take a variation of your patch, with following changes:
* call update-dev --settle, instead of doing waits
* call vgdisplay to give LVM a kick (same as partman-lvm/init.d/ does)
* and call device_remove_lvm loop in a separate loop, in case creating partitions fails for some reason

I will attach a patch here for testing in a moment.