meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vm:proxmox [2020/09/23 11:04] – niziak | vm:proxmox [2025/02/07 20:09] (current) – niziak | ||
---|---|---|---|
Line 4: | Line 4: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Upgrading ===== | ||
+ | |||
+ | Always upgrade with '' | ||
+ | <code bash>apt update && apt dist-upgrade</ | ||
+ | |||
===== Installation ===== | ===== Installation ===== | ||
+ | * BIOS: | ||
+ | * Enable VT | ||
+ | * Enable IOMMU | ||
* Choose ZFS | * Choose ZFS | ||
* Leave some free space on HDD for swap partition | * Leave some free space on HDD for swap partition | ||
Line 14: | Line 24: | ||
* reboot | * reboot | ||
* manually configure | * manually configure | ||
+ | * check if it is still necessary. Perhaps enabling '' | ||
* https:// | * https:// | ||
Line 44: | Line 55: | ||
| | ||
==== post-installation tips ==== | ==== post-installation tips ==== | ||
+ | * set MAC address prefix: `Datacenter` -> `Options`. Locally Administered Address Ranges are: < | ||
+ | x6-xx-xx-xx-xx-xx | ||
+ | xA-xx-xx-xx-xx-xx | ||
+ | xE-xx-xx-xx-xx-xx | ||
+ | </ | ||
+ | * Speedup migrations to set unencrypted network traffic (in secured networks!): <file / | ||
+ | migration: network=first_cluster_host_ip/ | ||
* disable subscription repo:\\ <code bash>sed -i.bak 's|deb https:// | * disable subscription repo:\\ <code bash>sed -i.bak 's|deb https:// | ||
* add no subscription repo: <code bash> | * add no subscription repo: <code bash> | ||
Line 49: | Line 67: | ||
* <code bash> | * <code bash> | ||
* <code bash> | * <code bash> | ||
+ | * add Debian '' | ||
+ | * <code bash>apt install intel-microcode amd64-microcode</ | ||
* Update grub config: <file | / | * Update grub config: <file | / | ||
- | GRUB_CMDLINE_LINUX_DEFAULT=" | + | GRUB_CMDLINE_LINUX_DEFAULT=" |
</ | </ | ||
- | * SMART disk monitoring\\ <file | /etc/smard.conf> | + | * SMART disk monitoring\\ <file | /etc/smartd.conf> |
# | # | ||
DEVICESCAN -a -o on -S on -s (S/ | DEVICESCAN -a -o on -S on -s (S/ | ||
Line 66: | Line 86: | ||
</ | </ | ||
* Assign admin permissions: | * Assign admin permissions: | ||
+ | * For HDDs storage, limit Proxmox operation speed to 100000KiB: <code bash> | ||
+ | * repeat in for '' | ||
+ | * to remove limit: <code bash> | ||
+ | * For HDDs storage - force volume big block size. OpenZFS default was 8k. With OpenZFS 2.2 it was changed to 16k. But to reduce fragmentation and HDD seeks - set it to 128k <code bash> | ||
+ | * Enable IOMMU | ||
+ | * in `GRUB_CMDLINE_LINUX_DEFAULT` and add kernel parameter `intel_iommu=on` or `amd_iommu=on` | ||
+ | * <file / | ||
+ | vfio | ||
+ | vfio_iommu_type1 | ||
+ | vfio_pci | ||
+ | vfio_virqfd | ||
+ | </ | ||