[pve-devel] [PATCH installer 1/2] Remove unused hdsize from zfs advanced options

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 21 12:48:02 CET 2019


On 11/21/19 12:35 PM, Fabian Ebner wrote:
> When a zpool is created the whole disks are used, so a user cannot set a size
> limit in this case.
> 

are you sure?? AFAICR, this was added to ZFS so that one can leave some 
free space to add a swap device outside from ZFS (which made issues in 
the past)

> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  proxinstall | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/proxinstall b/proxinstall
> index 5d02b34..93a61cb 100755
> --- a/proxinstall
> +++ b/proxinstall
> @@ -2877,7 +2877,6 @@ my $create_raid_advanced_grid = sub {
>      $spinbutton_copies->set_value($config_options->{copies});
>      push @$labeled_widgets, "copies", $spinbutton_copies;
>  
> -    push @$labeled_widgets, "hdsize", $get_hdsize_spinbtn->();
>      return &$create_label_widget_grid($labeled_widgets);;
>  };
>  
> 





More information about the pve-devel mailing list