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

Bug#382315: partman-auto-lvm wont overwrite a lvm volume group on disk. breaking preseeded installations



Package: partman-auto-lvm
Version: 13


automatically_partition/some_device_lvm/do_option checks for a pre
existing VG/PV on the disks to partition. the reason for this check is
described here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347479 

this means that a reinstall on a disk using lvm is not possible. 
one must remove the lvm partitions, or the VG before partitioning. 
something that is doable, but anoying, when installing manualy.
But this check breaks CCD distributions, and installations that use
preseeding.

the installer should have a preseedable option to 
"erase VG's on discs" before attempting automatic partitioning
or simply "erase partition table" before trying automatic partitioning

one could also argue that setting the preseedable option
"partman-auto-lvm/disk  /dev/discs/disc0/disc"
already implies erasing the whole disk and just do so without further
ado, and no need for additional preseed options.


-- 
mvh
Ronny Aasen -- 41616155 -- ronny@datapart-as.no --
Datapart AS -- 57682100 --  www.datapart-as.no  --

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: