Trying to add multiple disks using ignition config
- First disk has 50 GB and need to be wiped(root)
- Second disk has 10 GB and need not to be wiped(persistent)
Here is my ignition config, how will I make sure on boot the 50GB is mapped to /dev/sda
and 10GB is mapped to /dev/sdb
and it does not swap during a reboot
storage:
disks:
- device: /dev/sda
partitions:
- label: "root"
wipe_table: true
- device: /dev/sdb
partitions:
- label: "data"
wipe_table: false
filesystems:
- name: root
mount:
device: /dev/disk/by-partlabel/root
format: ext4
label: root
wipe_filesystem: true
- name: data
mount:
device: /dev/disk/by-partlabel/data
format: ext4
label: data
wipe_filesystem: false