]> git.proxmox.com Git - pve-installer.git/commitdiff
fix raidz level
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 29 Jan 2015 16:52:45 +0000 (17:52 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 29 Jan 2015 16:52:45 +0000 (17:52 +0100)
proxinstall

index 4e2b540d3b5a58426ea7f5994eed49b8add2bc75..22bda0d65d331ad2f25950ea010faea9bfbda8f6 100755 (executable)
@@ -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;