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

Bug#740271: d-i fails to purge LVM despite preseeding



Package: debian-installer
Version: 20130613+deb7u1+b2
Severity: normal

Despite

  d-i partman-auto/purge_lvm_from_device boolean true
  d-i partman-lvm/device_remove_lvm boolean true
  d-i partman-lvm/confirm boolean true
  d-i partman-lvm/confirm_nooverwrite boolean true

d-i fails to install a machine when libvirt passes it a storage
volume that has previously been used as PV by another host.

What happens (in my case) is that partman creates a new GPT, but
often that will be exactly the same as the one used by the previous
host using the volume. Therefore, /dev/vda3 will be a valid LVM PV,
meaning that LVM will find the previous VG.

Now, depending on whether the hostname is (a) the same, or (b)
different, d-i will fail to install claiming

  (a) a VG with the same name is already present;
  (b) the PV is already in use by another VG.

Even if I fix the situation from within d-i manually, I cannot
resume the installation — re-entering partman from the menu will
just make it display "No root filesystem… [Continue]" and hitting
"Continue" will just bring up the same dialog again, endlessly.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Reply to: