Storage pool type: zfspool
This backend allows you to access local ZFS pools (or ZFS file systems inside such pools).
The backend supports the common storage properties content
, nodes
,
disable
, and the following ZFS specific properties:
mountpoint
property of the dataset seen by zfs
.
Defaults to /<pool>
.
Configuration Example (/etc/pve/storage.cfg
).
zfspool: vmdata pool tank/vmdata content rootdir,images sparse
The backend uses the following naming scheme for VM images:
vm-<VMID>-<NAME> // normal VM images base-<VMID>-<NAME> // template VM image (read-only) subvol-<VMID>-<NAME> // subvolumes (ZFS filesystem for containers)
<VMID>
<NAME>
ascii
) without white space. The
backend uses disk[N]
as default, where [N]
is replaced by an
integer to make the name unique.
ZFS is probably the most advanced storage type regarding snapshot and
cloning. The backend uses ZFS datasets for both VM images (format
raw
) and container data (format subvol
). ZFS properties are
inherited from the parent dataset, so you can simply set defaults
on the parent dataset.