public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH installer] zfs: allow RAID0 with different-sized disks
@ 2021-06-24 12:30 Stefan Reiter
  2021-07-02 10:16 ` Stoiko Ivanov
  2022-03-16 15:05 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Reiter @ 2021-06-24 12:30 UTC (permalink / raw)
  To: pve-devel

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@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-16 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 12:30 [pve-devel] [PATCH installer] zfs: allow RAID0 with different-sized disks Stefan Reiter
2021-07-02 10:16 ` Stoiko Ivanov
2022-03-16 15:05 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal