Skip to content

Resource: proxmox_storage_zfspool

Manages ZFS-based storage in Proxmox VE.

Schema

Required

  • id (String) The unique identifier of the storage.
  • zfs_pool (String) The name of the ZFS storage pool to use (e.g. tank, rpool/data).

Optional

  • blocksize (String) Block size for newly created volumes (e.g. 4k, 8k, 16k). Larger values may improve throughput for large I/O, while smaller values optimize space efficiency.
  • content (Set of String) The content types that can be stored on this storage. Valid values: backup (VM backups), images (VM disk images), import (VM disk images for import), iso (ISO images), rootdir (container root directories), snippets (cloud-init, hook scripts, etc.), vztmpl (container templates).
  • disable (Boolean) Whether the storage is disabled.
  • nodes (Set of String) A list of nodes where this storage is available.
  • thin_provision (Boolean) Whether to enable thin provisioning (on or off). Thin provisioning allows flexible disk allocation without pre-allocating full space.

Read-Only

  • shared (Boolean) Whether the storage is shared across all nodes.