====== Proxmox Virtualization Environment ======
This page exists to hold notes on running PVE. Just odds and ends.
====== Get Rid of Subscription Splash ======
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
From: https://dannyda.com/2020/05/17/how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-from-proxmox-virtual-environment-6-1-2-proxmox-ve-6-1-2-pve-6-1-2/
====== Enable Port 8006 → 443 redirect ======
https://it42.cc/2019/10/14/change-default-port-in-proxmox/
iptables -t nat -I PREROUTING -i vmbr0 --dst 172.16.0.19 -p tcp --dport 443 -j REDIRECT --to-ports 8006
(Install iptables-persistent)
/usr/sbin/netfilter-persistent save
====== Storage ======
==== Enable compression ====
zfs set compress=zstd-9 bucket
(bucket is the name of the pool)
==== Enable Sparseness for Thin Provisioned Drives ====
https://ardevd.medium.com/slimming-down-your-vms-a-guide-to-thin-provisioning-with-proxmox-1ac0602c3b34
pvesm set bucket -sparse 1
Datacenter View -> Storage -> Select zpool -> edit -> check "thin provision"
{{:pve_thin_provision.png?600|}}