[Bug 1019320] [NEW] Installer looks at partitions inside existing LVM volumes

GeorgeDunlap 1019320 at bugs.launchpad.net
Fri Jun 29 15:44:36 UTC 2012


Public bug reported:

I have a system set up with 2 disks; sda and sdb.  sdb contains an lvm
volume group that contains logical volumes that contain disk images for
virtual machines, some of which are Linux-based.  When I tried to set up
"guided partitioning" using just sda, after selecting "Finish and write
changes to disk", it failed saying, "Cannot format swap partition in
sda5."

It turns out that what it was doing was looking *inside* the LVM volumes
on sdb, finding valid partition tables inside those volumes (i.e., the
partition tables of the virtual disks), finding swap partitions, and
deciding to try to use them.

After going back through the proposed partition and selecting "do not
use" for the partitions contained inside LVM volumes, the install
succeeded.

It seems overall like the installer by default shouldn't be looking at
partition tables *inside* LVM volumes; apart from VMs, there's never
really a need for that kind of thing.

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Installer looks at partitions inside existing LVM volumes

Status in “debian-installer” package in Ubuntu:
  New

Bug description:
  I have a system set up with 2 disks; sda and sdb.  sdb contains an lvm
  volume group that contains logical volumes that contain disk images
  for virtual machines, some of which are Linux-based.  When I tried to
  set up "guided partitioning" using just sda, after selecting "Finish
  and write changes to disk", it failed saying, "Cannot format swap
  partition in sda5."

  It turns out that what it was doing was looking *inside* the LVM
  volumes on sdb, finding valid partition tables inside those volumes
  (i.e., the partition tables of the virtual disks), finding swap
  partitions, and deciding to try to use them.

  After going back through the proposed partition and selecting "do not
  use" for the partitions contained inside LVM volumes, the install
  succeeded.

  It seems overall like the installer by default shouldn't be looking at
  partition tables *inside* LVM volumes; apart from VMs, there's never
  really a need for that kind of thing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1019320/+subscriptions




More information about the foundations-bugs mailing list