CRITICAL INFRA
Loading critical CVEs…
ALL EXPLOITED
Loading…

HowTo: ZFS auf Proxmox — Pool, Snapshots und Replikation

📅 2026-09-14 · Cyber Immunity

ZFS bietet sofortige Snapshots, Pruefsummen (Integritaet), Kompression und Replikation — ideal fuer 1-2 Knoten. Schrittweise Einrichtung auf Proxmox.

1. Pool erstellen

# pool ZFS in mirror (2 discuri) — ashift=12 pt discuri 4K
zpool create -o ashift=12 tank mirror /dev/sdb /dev/sdc
# sau raidz1 (3 discuri, toleranta 1 disc):
# zpool create -o ashift=12 tank raidz1 /dev/sdb /dev/sdc /dev/sdd
zpool status

2. Tuning + Dataset

zfs set compression=lz4 tank      # compresie rapida, aproape gratis
zfs set atime=off tank            # mai putine scrieri
zfs create tank/vmdata            # dataset dedicat pt VM-uri

3. Zu Proxmox hinzufuegen

# in Proxmox: Datacenter -> Storage -> Add -> ZFS -> pool 'tank/vmdata'
# (discurile VM ajung ca zvol-uri, cu snapshots instant)
pvesm status

4. Snapshots

# snapshot instant + listare + rollback
zfs snapshot tank/vmdata@inainte-update
zfs list -t snapshot
zfs rollback tank/vmdata@inainte-update

5. Knoten-zu-Knoten-Replikation

# replicare programata catre alt nod (Proxmox pve-zsync / Replication)
# GUI: VM -> Replication -> Add -> nod tinta + interval
# CLI echivalent:
pvesr create-local-job 100-0 pve2 --schedule '*/15'

6. ARC begrenzen (RAM)

# ZFS foloseste RAM pt cache (ARC). Limiteaza pe hosturi cu putin RAM:
echo 'options zfs zfs_arc_max=8589934592' > /etc/modprobe.d/zfs.conf  # 8 GiB
update-initramfs -u && reboot

Fazit

Sie haben nun Storage mit Snapshots, Integritaet und Replikation, ohne externes Array. HINWEIS: ZFS will rohe Datentraeger (HBA), kein Hardware-RAID. Wir dimensionieren es fuer Sie.

Lassen Sie uns über Ihr Projekt sprechen →