[pve-devel] why disk count less than 6?

Wolfgang Link w.link at proxmox.com
Mon Feb 2 09:38:53 CET 2015


Hi,

this is limited on 6 disk, because of the gui installer.
but you can add more disk later by useing the CLI.

Rereads

On 02/02/2015 06:24 AM, lyt_yudi wrote:
> hi, PVE Developers
>      why disk count less than 6 ?
>      why can't select all disk to zfs_raid_setup ?
> ……
> sub get_zfs_raid_setup {
>
>      my $filesys = $config_options->{filesys};
>
>      my $dev_name_hash = {};
>
>      my $devlist = [];
>      my $bootdevlist = [];
>      for (my $i = 0; $i < 6; $i++) {
> 	if (my $hd = $config_options->{"disksel$i"}) {
> 	    my ($disk, $devname, $size, $model) = @$hd;
> 	    die "device '$devname' is used more than once\n"
> 		if $dev_name_hash->{$devname};
> 	    $dev_name_hash->{$devname} = $hd;
> 	    push @$devlist, $hd;
> 	}
>      }
>
>      my $diskcount = scalar(@$devlist);
>      die "$filesys need at least one device\n" if $diskcount < 1;
> …...
>
> Thanks a lot!
>
>
> lyt_yudi
> lyt_yudi at icloud.com
>
>
>
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20150202/510484ae/attachment.htm>


More information about the pve-devel mailing list