Comment 10 for bug 1837214

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1837214] Re: [partition reuse] VGs are not deleted

On Wed, 24 Jul 2019 at 05:20, Ryan Harper <email address hidden>
wrote:

> vg1 is composed of disk-sdb, which is set to be preserved instead of being
> wiped.
>
> - serial: QEMU_HARDDISK_QM00002
> path: /dev/sdb
> preserve: true
> name: ''
> grub_device: false
> type: disk
> id: disk-sdb
>
> - name: vg1
> devices:
> - disk-sdb
> preserve: false
> type: lvm_volgroup
> id: lvm_volgroup-0
>
> I think if subiquity marks the vg as preserve: false, then it needs to
> ensure the composition devices are cleared (wipe: superblock) which implies
> they cannot also have preserved: true.
>

Right, this line of thinking is what lead directly to me filing
https://bugs.launchpad.net/curtin/+bug/1837487 :)