all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Mira Limbeck <m.limbeck@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH installer] warn if maxvz is set and <= 4 GiB
Date: Tue, 19 Nov 2024 11:46:58 +0100	[thread overview]
Message-ID: <b1e7f743-77f8-45bf-a94a-67c5b8306a9e@proxmox.com> (raw)
In-Reply-To: <20241119104509.77381-1-m.limbeck@proxmox.com>

On 11/19/24 11:45, Mira Limbeck wrote:
> Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
> ---
>  Proxmox/Install.pm | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm
> index c64e1d4..da8fb55 100644
> --- a/Proxmox/Install.pm
> +++ b/Proxmox/Install.pm
> @@ -555,6 +555,10 @@ sub create_lvm_volumes {
>  	my $maxvz = Proxmox::Install::Config::get_maxvz();
>  	if ($iso_env->{product} eq 'pve' && !defined($maxvz)) {
>  	    Proxmox::UI::message("Skipping auto-creation of LVM thinpool for guest data due to low space.");
> +	} elsif ($iso_env->{product} eq 'pve') {
> +	    Proxmox::UI::message(
> +		"Skipping auto-creation of LVM thinpool for guest data, Maximum data volume size set too low."
> +	    );
>  	}
>  	$datadev = undef;
>      }

Sent it a bit too soon, maybe we want to check if $maxvz is 0 and don't
warn in that case?


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


  reply	other threads:[~2024-11-19 10:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19 10:45 Mira Limbeck
2024-11-19 10:46 ` Mira Limbeck [this message]
2024-11-19 11:55 ` Maximiliano Sandoval
2024-11-19 11:59   ` Mira Limbeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1e7f743-77f8-45bf-a94a-67c5b8306a9e@proxmox.com \
    --to=m.limbeck@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal