[pve-devel] [PATCH installer 0/7] tui: add ZFS/Btrfs RAID setup checks

Christoph Heiss c.heiss at proxmox.com
Thu Jul 13 11:49:24 CEST 2023


This introduces the same checks when creating a RAID setup for ZFS and
Btrfs as in the GUI installer.

The main benefit is that the user now gets an error before the setup
dialog can even be closed, instead of during the install process.

Patch #1, #2 and #3 are some cleanups/fixes for things I noticed along
the way, #4 and #5 are prepatory patches. #6 then implements the actual
functionality.

Additionally, #7 contains unit tests for all the logic code paths that
were added, to ensure this cannot be accidentally be regressed.

pve-installer:

Christoph Heiss (7):
  gitignore: add cd-info.test
  tui: fix small typo in error message
  tui: simplify duplicate disk checking logic
  tui: deserialize boot type and disk blocksize from runtime env info
  tui: improve bootdisk dialog error handling
  tui: add RAID setup checks for ZFS/Btrfs
  tui: add tests for RAID setup checks

 .gitignore                                  |   1 +
 proxmox-tui-installer/src/options.rs        |   1 +
 proxmox-tui-installer/src/setup.rs          |  15 +-
 proxmox-tui-installer/src/views/bootdisk.rs | 369 ++++++++++++++++++--
 4 files changed, 347 insertions(+), 39 deletions(-)

--
2.41.0






More information about the pve-devel mailing list