Unable to retain existing partition during autoinstall

Bug #2063506 reported by Elliott Barrere
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

I am attempting to auto-install over a system provisioned with Red Hat Enterprise Linux. The system has a partition, /dev/sda3, with a logical volume containing /home that I would like to retain.

I have tried all sorts of storage configurations but I cannot find one that works.

Here is my latest example:

  storage:
    grub:
      reorder_uefi: False
    config:
      # EFI/BIOS and boot partitions
      - {type: disk, id: disk0, grub_device: true, ptable: gpt, preserve: false, }
      - {type: partition, id: bios-boot, device: disk0, size: 1G, flag: bios_grub, number: 1, preserve: false, }

      # root vol
      - {type: partition, id: vg-part, device: disk0, size: 33713M, wipe: superblock, flag: '', number: 2, preserve: false, }
      - {type: dm_crypt, id: dm_crypt-0, volume: vg-part, key: temporarypassword, preserve: false, }
      - {type: lvm_volgroup, id: root-vg, name: ubuntu-vg, devices: [dm_crypt-0], preserve: false, }
      - {type: lvm_partition, id: root-lv, name: root, volgroup: root-vg, size: 15G, preserve: false, }
      - {type: format, id: root-fs, fstype: xfs, volume: root-lv, preserve: false, }
      - {type: mount, id: root-mount, device: root-fs, path: /, }

      # data vol
      - {type: partition, id: data-vg-part, device: disk0, size: 750G, flag: '', number: 3, preserve: true, }
      - {type: lvm_volgroup, id: data-vg, name: data_rhel9test, devices: [data-vg-part], preserve: true, }
      - {type: lvm_partition, id: home-lv, name: home, volgroup: data-vg, size: 650G, preserve: true, }
      - {type: format, id: home-fs, fstype: xfs, volume: home-lv, preserve: true, }
      - {type: mount, id: home-mount, device: home-fs, path: /home, }

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.