[Bug 154086] Re: Installing to HDD with previous ubuntu fails to create fresh LVM claiming group already in use

Dmitrijs Ledkovs launchpad at surgut.co.uk
Mon Sep 10 12:11:02 UTC 2012


@ 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
Foundations Bugs, which is subscribed to partman-auto-lvm in Ubuntu.
https://bugs.launchpad.net/bugs/154086

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

Status in “partman-auto-lvm” package in Ubuntu:
  Fix Committed
Status in “partman-lvm” package in Ubuntu:
  In Progress
Status in “partman-auto-lvm” source package in Precise:
  In Progress
Status in “partman-lvm” source package in Precise:
  Confirmed
Status in “partman-auto-lvm” source package in Quantal:
  Fix Committed
Status in “partman-lvm” source package in Quantal:
  In Progress
Status in “partman-lvm” package in Debian:
  Unknown

Bug description:
  Binary package hint: debian-installer

  I have a ubuntu 7.10 beta server I'd like to reinstall from scratch.
  During the disk partitioning, I'd opted for "Guided - Use entire disk
  and setup LVM" Part way through it informed me that the volume group
  name was already in use. Surely this option should setup a new LVM
  instance and use the entire disk, even if a LVM instance already
  existed?

  How can I blank this without manually having to create volumes? I
  think this is a bug

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




More information about the foundations-bugs mailing list