The d-i partitioner, partman, wipes all lvm VGs/LVs as part of initialization. You can tell it not to, with d-i partman-lvm/device_remove_lvm boolean false, but then auto-partitioning doesn't continue. This makes it impossible to re-use an existing lvm LV when doing automated partitioning.
Details:
- partman =>
- initial_auto, which switches on partman-auto/method
- 'regular': =>
- autopartition =>
- auto_init_disks (see below)
- 'lvm': =>
- autopartition-lvm =>
- auto_lvm_prepare =>
- auto_init_disks (see below)
- auto_init_disks =>
- prepare_new_labels =>
- device_remove_lvm, which.. does what it sounds like:
- Remove all LVs on the disk
- Removes the VG