From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <n.ullreich@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 6359DCBDD
 for <pve-devel@lists.proxmox.com>; Mon, 10 Jul 2023 15:50:34 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 4384A186B8
 for <pve-devel@lists.proxmox.com>; Mon, 10 Jul 2023 15:50:04 +0200 (CEST)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [94.136.29.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS
 for <pve-devel@lists.proxmox.com>; Mon, 10 Jul 2023 15:50:03 +0200 (CEST)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 41E6942951
 for <pve-devel@lists.proxmox.com>; Mon, 10 Jul 2023 15:50:03 +0200 (CEST)
From: Noel Ullreich <n.ullreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Date: Mon, 10 Jul 2023 15:49:47 +0200
Message-Id: <20230710134951.79263-1-n.ullreich@proxmox.com>
X-Mailer: git-send-email 2.39.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.062 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 T_SCC_BODY_TEXT_LINE    -0.01 -
Subject: [pve-devel] [PATCH pve-installer; pve-docs; pmg-docs;
 proxmox-backup/docs 0/4] Update min RAM and min disk size for pve
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Mon, 10 Jul 2023 13:50:34 -0000

Note that this patch series needs the patch
`tui: don't abort install if min ram requirement is not met`
(https://lists.proxmox.com/pipermail/pve-devel/2023-July/058057.html) to
apply.

This patch series does two things:
1) It raises the minimum usable RAM the installer checks for from 1 GiB to 2 GiB.

Up until now the installer checked whether the system (pve, pmg and pbs) had at
least 1 GiB of usable RAM or else it would display a warning. However,
the pmg and pbs docs specify a minimum of 2 GiB of usable RAM. Off-list,
Thomas recommended having a min of 2 GiB for all products:

"We could just update the docs to use 2 GiB as minimum as:
- for PVE one normally wants more RAM anyway, for running guests and
   all that
- for PBS it just makes sense to have a good amount available for page
   cache
   or ZFS ARC
- for PMG the clamav service alone eats almost a GiB, so 2 GiB aren't
   that
   unrealistic there either."

2) It updates the docs to specify the minimum disk size for a pve install.

As of now, the pve docs do not specify the minimum disk space needed for
a pve install. Extrapolating from the Debian min requirements 
(https://www.debian.org/releases/bookworm/amd64/ch03s04.en.html) the
docs recommend a minimum disk size of 16 GiB. Leaving all the default values
in the installer (i.e. not changing any lvm-thin/swap sizes), this gives
a root directory of 6.8 GiB.

Noel Ullreich (1):
  raise the minimum ram requirements to 2 GiB

 proxinstall                       | 4 ++--
 proxmox-tui-installer/src/main.rs | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Noel Ullreich (1):
  raise min ram requirements to 2 GiB and specify min disk space

 pve-system-requirements.adoc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Noel Ullreich (1):
  Consistency of GB and GiB pmg

 pmg-planning-deployment.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Noel Ullreich (1):
  Consistency of GB and GiB pbs

 docs/system-requirements.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-- 
2.39.2