Skip to content
Zvols - HAC documentation hub

Zvols

Creating Zvols

Zvols are block storage devices, cannot be mounted and primarily used for iSCSI backing stores. The size and compression used can be set for each individual backing store.

The following steps will show the process of creating a zvol within clustered and non clustered pools.

Note

Zvols can only be created or edited on the node where the service is running.

  1. To create a zvol navigate to ZFS -> Zvols and click CREATE ZVOL:

    zfs-zvol-main-window

  2. Select the Parent Pool and enter a Zvol Name and set any options required:

    zfs-zvol-create

    Available options:

    Option
    Description
    Zvols size Size of the zvol to create - can be specified in units of KB, MB, GB, TB and PB
    Compression Enable compression or select an alternative compression type (lz4/zstd)
    • on - The current default compression algorithm will be used (does not select a fixed compression type; as new compression algorithms are added to ZFS and enabled on a pool, the default compression algorithm may change).
    • off - No compression.
    • lz4 - A high-performance compression and decompression algorithm, as well as a moderately higher compression ratio than the older lzjb (the original compression algorithm).
    • zstd - Provides both high compression ratios and good performance and is preferable over lz4.
  3. Click SUBMIT to create - the Zvol is now created in the pool.

    zfs-zvol-save-complete

Modifying Zvols

To modify an existing zvol, click the DS pencil button to the right of the zvol:

zfs-zfs-modify

Deleting Zvols

To delete a zvol, click the DS bin button to the right of the zvol and confirm by clicking the REMOVE ZVOL option.