public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH installer 0/3] fix #6285: always set up zfs modprobe configuration
@ 2025-04-04 12:46 Christoph Heiss
  2025-04-04 12:46 ` [pve-devel] [PATCH installer 1/3] run env: always return proper value for default zfs max arc size Christoph Heiss
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Christoph Heiss @ 2025-04-04 12:46 UTC (permalink / raw)
  To: pve-devel

Fixes #6285 [0].

This also came up quite a few times already in the forum, most recently
[1] (german).

Since we do expose the option in the UI for all products nowadays (on
ZFS-on-root installations only tho), just always write to
/etc/modprobe.d/zfs.conf.

[0] https://bugzilla.proxmox.com/show_bug.cgi?id=6285
[1] https://forum.proxmox.com/threads/ram-auslastung-nimmt-%C3%BCber-die-zeit-drastisch-zu.164527/#post-760989

Testing
=======

Tested for each product PVE, PBS, PMG the following
  - install on ZFS, not touching the ARC size setting
  - install on ZFS, set some explicit value for ARC size
  - installing on non-ZFS such as ext4

.. and checking afterwards that /etc/modprobe.d/zfs.conf was written and
contained respectively
  - the default value for the product
  - the set value
  - again the default value for the product

Also tested each case with the auto-installer for PVE and PMG.

Diffstat
========

Christoph Heiss (3):
  run env: always return proper value for default zfs max arc size
  tui: bootdisk: always return proper value for default zfs max arc size
  fix #6285: install: always set up zfs modprobe configuration

 Proxmox/Install.pm                          | 11 +++---
 Proxmox/Install/RunEnv.pm                   |  9 +++--
 proxmox-tui-installer/src/views/bootdisk.rs | 32 +++++++++-------
 test/zfs-arc-max.pl                         | 42 +++++++++++++--------
 4 files changed, 57 insertions(+), 37 deletions(-)

-- 
2.48.1



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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-04 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-04 12:46 [pve-devel] [PATCH installer 0/3] fix #6285: always set up zfs modprobe configuration Christoph Heiss
2025-04-04 12:46 ` [pve-devel] [PATCH installer 1/3] run env: always return proper value for default zfs max arc size Christoph Heiss
2025-04-04 12:46 ` [pve-devel] [PATCH installer 2/3] tui: bootdisk: " Christoph Heiss
2025-04-04 12:46 ` [pve-devel] [PATCH installer 3/3] fix #6285: install: always set up zfs modprobe configuration Christoph Heiss
2025-04-04 13:01 ` [pve-devel] applied-series: [PATCH installer 0/3] fix #6285: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal