--- proxinstall | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/proxinstall b/proxinstall index c3614d8..b08a5d3 100755 --- a/proxinstall +++ b/proxinstall @@ -2484,9 +2484,8 @@ sub get_zfs_raid_setup { push @$bootdevlist, $hd; } } elsif ($filesys eq 'zfs (RAID10)') { - my $half = int($diskcount/2); die "zfs (RAID10) needs at least 4 device\n" if $diskcount < 4; - die "zfs (RAID10) needs an even number of devices\n" if $half*2 != $diskcount; + die "zfs (RAID10) needs an even number of devices\n" if $diskcount & 1; push @$bootdevlist, @$devlist[0], @$devlist[1]; -- 2.1.4
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel