Comment 6 for bug 1837214

Revision history for this message
Paride Legovini (paride) wrote :

Hi Michael, a "Reformat" does seem to help when switching from LVM to partitions, however this is not an option when you want to delete a VG and replace it with another VG.

Steps to reproduce:

 1. At install time, setup a VG named vg0 consisting of a
    entire single device and mount it somewhere
 2. Reboot and start the installer again.
 3. In manual partitioning mode, delete the VG.
 4. Try to recreate a VG on the same device. The name "vg0"
    won't work, because "behind" subiquity the original vg0
    is still alive and well. This is already a bit confusing.
 5. Give up with vg0, name it vg1 and do ahead with installing
 6. The installer fails trying to setup vg1, as its PV is
    still part of vg0

Note that there is no "Reformat" option in this case. After deleting the VG the device appears as "clean" in subiquity. There is only the "Format" option, which formats it with a filesystem , which is not wanted in this case.