meta data for this page
  •  

This is an old revision of the document!


Proxmox

Installation

  • Choose ZFS
    • Leave some free space on HDD for swap partition
      • Click “Advanced Options” and manually set “hdsize”
      • Installer 6.1-2 BUG: On system with 2x 2TB HDDs, Proxmox installer on ZFS RAID1 propose only hdsize=953MB. This issue gone with Proxmox 6.2.
    • Do not create swap on ZFS zvol!
  • reboot
  • manually configure VLAN network from console VLAN 802.1Q

issues

initramfs

Proxmox installed on ZFS RADI1. After reboot, Proxmox boots into initramfs. From initramfs console:

zfs list
Try running '/sbin/modprobe zfs' as root to load them.

REASON: no root cmdline, because UEFI boot was used instead of grub loader. SOLUTION: force legacy boot in BIOS OR TRY:

echo -n " rootdelay=5" >> /etc/kernel/cmdline
pve-efiboot-tool refresh

initramfs

REASON: ZFS invoked too soon: https://pve.proxmox.com/wiki/ZFS:_Tips_and_Tricks#Boot_fails_and_goes_into_busybox

modprobe zfs
zpool import -N -f rpool
exit

post-installation tips

  • disable subscription repo:
    sed -i.bak 's|deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise|\#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise|' /etc/apt/sources.list.d/pve-enterprise.list
  • add no subscription repo:
    echo 'deb http://download.proxmox.com/debian/pve buster pve-no-subscription' > /etc/apt/sources.list.d/pve-no-sub.list
  • apt-get update
  • apt-get upgrade
  • apt-get install dropbear busybox-static
  • Update grub config:
    /etc/default/grub
    GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=4 mitigations=off panic=30 nomodeset textonly video=vesafb:off video=efifb:off"
  • update-grub
  • SMART disk monitoring
    /etc/smard.conf
    #                             Short   1AM  Long  Sat    2AM
    DEVICESCAN -a -o on -S on -s (S/../.././01|L/../../6/02) -m root
    • systemctl enable --now zfs-zed
  • Use own internal CA signed cert for Web UI: Certificate Management
    • For clustering Proxmox is using own self signed certs! Do not replace them!