@ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/154086

Title:
  Installing to HDD with previous ubuntu fails to create fresh LVM
  claiming group already in use

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto-lvm/+bug/154086/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to