[pve-devel] [PATCH installer] zfs: allow RAID0 with different-sized disks
Stefan Reiter
s.reiter at proxmox.com
Thu Jun 24 14:30:13 CEST 2021
zfs_mirror_size_check is already called in get_zfs_raid_setup when
necessary, so don't call it unconditionally, as this will cause a
false-positive error on RAID0 devices (where size mismatches are fine).
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
proxinstall | 2 --
1 file changed, 2 deletions(-)
diff --git a/proxinstall b/proxinstall
index a6176d2..213486a 100755
--- a/proxinstall
+++ b/proxinstall
@@ -1426,8 +1426,6 @@ sub extract_data {
my ($size, $osdev, $efidev) =
partition_bootable_disk($devname, $config_options->{hdsize}, 'BF01');
- zfs_mirror_size_check($disksize, $size) if $disksize;
-
push @$bootdevinfo, {
esp => $efidev,
devname => $devname,
--
2.30.2
More information about the pve-devel
mailing list