[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#573948: debian-installer: Partman/LVM : wrong VG size after reset partition table

Package: debian-installer
Severity: minor

Using the hd-media/boot.img.gz of :
- the latest testing (2010-02-11 ?) with debian-testing-amd64-netinst.iso
  dated 2010-03-12,
- Lenny6 / debian-504-amd64-netinst.iso.

There is a bug in the way the LVM wizard calculate the PV and VG sizes after
creating a new partition table. It seems to report the size of the previous

Steps to reproduce :
- take a disk with, for example, /dev/sda1 = PV of 10G
- launch the installer (in my case, text-based from USB thumb drive
  using hd-media)
- in the partman part, go "manual"
- in the list of drives, "click" on the disk in order to "create a new
  empty partition table",
- create now a partition of 20G as "physical volume for LVM",
- "configure LVM" (when ask to write changes, say "yes"),
- "Create volume group"

The size reported is the one of the previous partition.

I tag this bug as minor but there may be big problems if the old size
is greater than the new. Will the LVM write after the new partition
in that case ?

May be related to #539557.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Reply to: