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

2015-02-02 Thread Wolfgang Link

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_y...@icloud.com





___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

2015-02-02 Thread Dietmar Maurer

 hi, PVE Developers
 why disk count less than 6 ? 

There is simple no room on the gui to select an unlimited amount of disk.
(But feel free to send a patch if you have a solution for that problem.)

With the current solution, you are able to install any zfs RAID level. Adding
additional disk is very simple after installation. And we plan to add a GUI
for that.

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

2015-02-02 Thread lyt_yudi

ok, got it! 

Thanks again!

lyt_yudi
lyt_y...@icloud.com



 在 2015年2月2日,下午4:43,Dietmar Maurer diet...@proxmox.com 写道:
 
 
 hi, PVE Developers
why disk count less than 6 ? 
 
 There is simple no room on the gui to select an unlimited amount of disk.
 (But feel free to send a patch if you have a solution for that problem.)
 
 With the current solution, you are able to install any zfs RAID level. Adding
 additional disk is very simple after installation. And we plan to add a GUI
 for that.
 



smime.p7s
Description: S/MIME cryptographic signature
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


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

2015-02-01 Thread lyt_yudi
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_y...@icloud.com





smime.p7s
Description: S/MIME cryptographic signature
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel