Use this when Proxmox stores VMs and containers on a local ZFS pool with replication.
ZFS · Proxmox Storage
Proxmox ZFS storage keeps VM disks as zvols and containers as datasets on a local ZFS pool, with checksums, compression, snapshots and replication jobs between nodes. ECC RAM is recommended.
1. ZFS storage: zvols for VMs, datasets for CTs.
2. Replication (pvesr) and snapshots.
3. Limit ARC on hypervisors.
4. Keep pool under 80 %.
5. Scrub monthly.
VM disk → zvol → pool → vdevs
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Native branching decision path Narrow the fault
Observation → implication → next check: if the pool is not imported, verify device visibility and pool labels. If imported but DEGRADED/FAULTED, identify the exact vdev and error class before replacement. If pool health is clean but the dataset is unavailable, inspect key loading, mountpoint and dataset properties. If storage state is healthy, repeat the original read/write and verify the application-visible path.
Step 2 Common mistakes Narrow the fault
- ZFS on top of hardware RAID.
- Pool above 80 % full.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Zvols for VMs, datasets for containers.
- Replication jobs between nodes.
- ECC recommended.
zpool status -x— healthzfs list -o name,used,avail -r <pool>— datasets/zvolscat /sys/module/zfs/parameters/zfs_arc_max— ARC limit
ReferenceHow it works1 section · depth on demand
How it works
ZFS state is owned by the pool/vdev topology plus datasets layered above it. A pool can be ONLINE while a dataset is unavailable because of mount/key/property state, and a degraded vdev can remain readable while redundancy is reduced. Track pool GUID, vdev identity, error counters, scrub/resilver state and dataset mount/encryption state as separate facts.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Proxmox ZFS storage creates a zvol per VM disk and a dataset per container. It supports snapshots, linked clones and built-in storage replication between nodes (pvesr), which gives fast failover without shared storage.
pvesm add zfspool local-zfs --pool rpool/data --content images,rootdir --sparse 1
zfs list -o name,volsize,used,refer -t volume
pvesr create-local-job 100-0 pve2 --schedule '*/15'
Limit the ARC on hypervisors (zfs_arc_max in /etc/modprobe.d/zfs.conf), use mirrors for VM pools, and keep enough free space for snapshots and replication.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → Proxmox Storage → ZFS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%