From: Dietmar Maurer Date: Thu, 29 Jan 2015 16:52:45 +0000 (+0100) Subject: fix raidz level X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=097ecf8f108faf49080418d82c2def3c002e8364;p=pve-installer.git fix raidz level --- diff --git a/proxinstall b/proxinstall index 4e2b540..22bda0d 100755 --- a/proxinstall +++ b/proxinstall @@ -2254,7 +2254,7 @@ sub get_zfs_raid_setup { my $level = $1; my $mindisks = 2 + $level; die "zfs (RAIDZ-$level) need at least $mindisks devices\n" if scalar(@$devlist) < $mindisks; - $cmd .= ' raidz$level'; + $cmd .= " raidz$level"; foreach my $hd (@$devlist) { $cmd .= " @$hd[1]"; push @$bootdevlist, $hd;