====== ProxMox Notes ====== ===== Post-Install Tasks ===== ==== Disable/remove the annoying "no subscription" message that pops during login ==== Visit https://free-pmx.pages.dev/tools/free-pmx-no-subscription/ and install the package located there. ==== Set up notification emails ==== Datacenter > Notifications ==== Set up remote syslogging ==== apt update && apt -y install rsyslog Once installed, edit /etc/rsyslog.conf and add the following section to the bottom; provide the proper IP address where noted: # Remote syslog config *.info;daemon.notice;authpriv.* @:514 ==== Install lshw ==== apt update && apt -y install lshw ==== Suppress repeated smartd alerts ==== Edit /etc/smartd.conf and add entries such as the following: /dev/sda -C 197+ -C 198+ This will cause smartd to send emails only if the selected parameters increment; otherwise emails get sent every 24 hours as long as the values remain non-zero (which they always will once they aren't). ---- ===== Useful Notes and Tips ===== CLI command **qm** is your friend. List/manipulate VMs and such with this utility. ==== Enable remote VNC login ability to ProxMox guests ==== Edit the file - **/etc/pve/local/qemu-server/.conf** Add **args: -vnc 0.0.0.0:77** to the end of the file (choose a unique number after the **:** for each guest) A VNC connection to the guest is now possible by specifying the **host** IP address and the port chosen ("5977" in the example above). ==== Location of pertinent directories/files ==== ISOs get stored at **/var/lib/vz/template/iso** ===== ZFS Stuff ===== zfs get mounted,mountpoint,canmount zfs list ==== Create a multi-disk zfs pool without RAID ==== zpool create -o ashift=12 zpool /dev/sda /dev/sdb https://forum.proxmox.com/threads/task-error-timeout-no-zvol-device-link-for-vm-700-disk-0-found-after-300-sec-found.106242/ https://forum.proxmox.com/threads/after-reboot-one-vm-fails-to-start-due-to-task-error-timeout-no-zvol-device-link-for-vm-125-disk-0-found-after-300-sec-found.134434/ https://forum.proxmox.com/threads/after-update-and-reboot-vm-will-no-longer-start.165575/ ===== Proxmox 9 Upgrade ===== Things to back up, in addition to the VMs: - The entire /etc directory (~5MB) - The /usr/local/sbin directory