libpve-storage-perl (9.1.17) trixie; urgency=medium

  * tell the volumes of guests apart by type: 'vm-vol' for the disks of VMs,
    'vm-state' for their saved states from snapshots and hibernation, and
    'ct-vol' for the volumes of containers. The content types 'images' and
    'rootdir' keep allowing all types of VMs and of containers, so existing
    storage configurations and volumes do not change.

  * allow restricting a storage to some of these volume types, for example to
    keep VM states off a storage or to dedicate one to them. This is refused
    until all cluster nodes run pve-manager 9.2.29 or newer, as older nodes
    cannot read such a content list.

  * break qemu-server older than 9.2.17, pve-container older than 6.1.22 and
    pve-manager older than 9.2.29, so that these packages get upgraded
    together. Replication in the older versions does not accept the volume
    types.

  * plugin api: bump the version to 17 and the age to 8, so plugins for the
    versions 9 to 16 keep loading. See the ApiChangeLog for the details.

  * api: add endpoints describing the installed storage plugins and their
    properties, from which the web UI generates the dialogs for storages of
    third-party plugins. Plugins can provide a display name, field labels and
    hints for advanced, hidden and multi-line properties.

  * api: return the 'content-dirs' of a storage as the string that adding and
    updating a storage accept, instead of as an object.

  * mark the properties and scan parameters that hold credentials as sensitive
    in their schema, so that tools can keep them out of their output.

  * lvm: qcow2: keep the preallocated clusters when deleting the oldest
    snapshot of a stopped VM, and reserve space for persistent dirty bitmaps.
    Otherwise the image could outgrow its volume, which pauses the VM on a
    later write, or a bitmap could get lost.

  * backup provider: do not pass an undocumented extra argument when asking a
    provider for the guest configuration of an archive, which made providers
    that declare a signature fail.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 16 Nov 2026 02:58:34 +0100

libpve-storage-perl (9.1.16) trixie; urgency=medium

  * lvm: find a shared volume group that another node created on a device this
    node already had attached. LVM's device hints could hide such a group, so
    the storage stayed inactive and guests could not start on or migrate to the
    node.

  * lvm: check the device before creating a volume group on a base volume or a
    local disk:
    - refuse devices that hold data, like a file system, partitions, or a
      physical volume of another, possibly not fully visible, volume group. An
      empty partition table, as left by initializing a disk with GPT, is
      accepted, except on device-mapper devices such as multipath maps.
    - refuse a LUN of a target from which any storage, including the base
      storage itself, offers guest disks, such as an iSCSI storage with content
      'images'. If no guest uses the LUNs directly, set the content of that
      storage to 'none'. Existing volume groups can still be added.
    - refuse devices that cannot be checked reliably, for example a multipath
      map without a working path.

  * iscsi: rescan sessions at most every ten seconds per target instead of per
    node, so frequent activation of one storage no longer delays detecting new
    LUNs or size changes on other targets.

  * iscsi: list only the LUNs of the target's own sessions. With offload
    initiators running sessions to several targets on one SCSI host, each
    target also listed the LUNs of the others.

  * iscsi: only accept multipath maps or their partitions as virtual devices
    for a volume. Other device-mapper or RAID devices could combine a disk of
    the target with disks outside of it. This only affects manually entered
    volume names.

  * lvm, rbd: reject volume names ending with a newline, as the ZFS plugins
    already do. For LVM, this also applies to the volume group setting.

  * prune backups: require the same privileges for the preview as for pruning:
    'Datastore.Allocate' on the storage, or, for a single guest,
    'Datastore.AllocateSpace' on the storage and 'VM.Backup' on the guest.
    'Datastore.Audit' or 'Datastore.AllocateSpace' alone no longer allow a
    preview. Pruning the backups of a single guest now also works with just
    'Datastore.Allocate'.

  * file-based storages: when listing the backups of a single guest, only
    include archives whose name starts with 'vzdump-<type>-<guest ID>-', as the
    access checks do. Renamed archives of other guests or of no guest were
    included if their name contained the guest ID, for example in the pruning
    preview and when counting backups for the per-guest backup and protection
    limits.

  * file-based storages: do not list files whose name contains a newline, as
    no usable volume ID can refer to them.

  * lvm: do not fail resizing a qcow2 disk, as used with
    'snapshot-as-volume-chain', if its logical volume is already large enough,
    for example after a manual resize. A warning is logged instead.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 09 Nov 2026 19:11:19 +0100

libpve-storage-perl (9.1.15) trixie; urgency=medium

  * remote commands: shell-quote the arguments of commands run on other nodes or
    storage servers and clearly separate them from options, preserving spaces
    and special characters.

  * zfs: only accept volume names with characters that ZFS allows. ZFS over
    iSCSI additionally rejects and no longer lists names containing ':', which
    at least the LIO and Istgt providers do not handle properly.

  * rbd: only accept volume names with the 'vm-' or 'base-' prefix. Other names
    could only come from a manual import and were accepted by accident. Such
    volumes need to be renamed.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 05 Nov 2026 22:10:55 +0100

libpve-storage-perl (9.1.14) trixie; urgency=medium

  * rbd: use the configured 'data-pool' when importing volumes, for example
    during offline remote migration. Imported images previously kept their
    data in the metadata pool, where it does not count towards the reported
    storage usage. To relocate such an image, move its disk to another storage
    and back.

  * rbd: do not run 'rbd du' when exporting a volume, as only the image size is
    needed. On images without the fast-diff feature, 'rbd du' has to go through
    every object, which can take a long time.

  * fix #8076: zfs: check that a volume exists when activating it, to fix a
    regression with cloud-init disks. Previously, activating a missing zvol only
    failed after a 300 second timeout in worker context. It now fails right away
    with a clear error. Missing snapshots are now also detected during
    activation.

  * partially fix #7840: remote migration: wait until the disk import is ready.
    Any earlier output of the import command was mistaken for its 'ready'
    message, so the disk transfer could start before the command was listening.
    An import that exits early now results in a clear error.

  * pvesm: extractconfig: also allow users with 'Datastore.Allocate' on the
    backup storage, matching the permissions for restoring a backup.

  * fix #8169: pvesm: extractconfig: fix a regression that prevented extracting
    the configuration of guest backups without a guest ID, for example manually
    renamed ones. Accessing such a backup requires 'Datastore.Allocate' on the
    storage.

  * disks: remove trailing spaces from SCSI vendor and model names read from
    sysfs. The disk list showed, for example, "NETAPP  " as the vendor.

  * iscsi: report an error when scanning a portal that does not answer or where
    discovery fails, instead of showing an empty target list. A portal without
    targets still results in an empty list. During storage activation, discovery
    errors are now logged as warnings and the login is still attempted.

  * iscsi: recognize existing sessions over any transport, such as iSER or
    offload initiators, not only TCP. Storage activation and status checks did
    not see these sessions, so the storage was reported as inactive and
    activation tried to log in again.

  * iscsi: fix activating volumes connected through iSER or offload initiators,
    which failed with an error saying the volume is not part of the target.

  * lvm: check that an iSCSI base volume is part of its storage's target before
    creating a volume group on it. A volume name can refer to a device outside
    of the target, which would otherwise get initialized as an LVM physical
    volume.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 05 Nov 2026 01:38:35 +0100

libpve-storage-perl (9.1.13) trixie; urgency=medium

  * plugins: better document how volname_for_format() validates the name

  * fix #6969: plugin: keep content directory when freeing its last file, the
    cleanup is only intended to remove empty `/VMID/` directories when the last
    guest volume inside is removed

  * check volume access: support checking access for snippets

 -- Proxmox Support Team <support@proxmox.com>  Fri, 09 Oct 2026 12:00:28 +0200

libpve-storage-perl (9.1.12) trixie; urgency=medium

  * esxi: reject volume names with '..' path components, which could resolve
    to files outside of the storage's mount point, and open vmx files only
    beneath that mount point.

  * esxi: keep the SMBIOS UUID of imported guests. ESXi stores it with the
    first three fields byte-swapped, so the guest saw a different UUID after
    the import, which can affect software licenses or activations bound to it.

  * fix #7339: lvm: add an 'on-volume-remove' storage option with a 'discard'
    action. Removed volumes then get discarded (TRIM) in the background task
    before their final removal, so that thin-provisioned SAN LUNs can reclaim
    the space. Discards are issued in batches aligned to the device's discard
    granularity, and a volume on a device that turns out to not support
    discard is removed without it.

  * lvm: improve removing volumes with 'saferemove' enabled:
    - zero out volumes range by range with the kernel's zero-out operation,
      falling back to writing zeroes if the storage does not support it.
    - the 'saferemove_throughput' limit now also applies to the kernel's
      zero-out operation, not only to the fallback. For example, a configured
      '-10485760' limits wiping to 10 MiB/s, so zeroing out a 1 TiB volume
      takes about 29 hours. Remove the setting to wipe at full speed.
    - validate 'saferemove_throughput' in the configuration. Values with the
      k, m and g unit suffixes are still accepted, other spellings like '10mb'
      are rejected.
    - keep volumes that could not be zeroed out, renamed to
      'failed-<N>-del-<name>', for a manual zero-out instead of freeing their
      space with the old data on it.
    - refuse to wipe or discard a volume that is still in use on the node,
      like a direct removal does.
    - retry acquiring the storage lock for the final removal, and continue
      with the remaining volumes if removing one fails.

  * fix #7295: lvm: snapshot rollback: keep the original volume if allocating
    the new one fails, for storages with 'snapshot-as-volume-chain'.

  * lvm: snapshot delete: report errors from cleaning up after merging the
    snapshot, instead of reporting success.

  * lvm: snapshot: warn if renaming a volume back fails after the new top
    volume could not be allocated.

  * partially fix #7554: lvm: refuse to export or import qcow2 volumes as raw,
    which silently produced an unbootable guest on storage migration.

  * fix #6915: lvmthin: keep space of the size of the pool metadata free when
    creating a thin pool, between 1 GiB and 16 GiB, so that damaged metadata
    can be repaired and extended afterwards. Devices smaller than about 3 GiB
    can no longer be used for a new thin pool.

  * ceph: let the client authentication setting in /etc/pve/ceph.conf decide
    for storages of the local cluster, instead of requiring Cephx whenever the
    storage has a key file. Such storages showed up as inactive on clusters
    with Cephx disabled.

  * storage plugins: check that a given volume name matches the requested
    format for all storage types when allocating or renaming volumes. RBD now
    rejects formats other than raw instead of silently creating a raw image.
    A name without an extension still gets the matching one added, with a
    warning.

  * plugin api: backward compatible plugin api version bump for the new
    volume name and format helper methods, which plugins can override to match
    their naming scheme.

  * pvesm: complete the 'import' content type.

 -- Proxmox Support Team <support@proxmox.com>  Sat, 03 Oct 2026 19:40:00 +0200

libpve-storage-perl (9.1.11) trixie; urgency=medium

  * fix #7598: qemu-img: increase timeout for image resizing in worker context

  * fix #7077: lvm: improve ID verification error messages to distinguish
    "invalid ID" from "ID value too short"

  * PBS plugin: parse volname: only set owner ID for guest backups, and improve
    related error handling in `pvesm extractconfig`

  * tree-wide: tar/qemu-img: cleanly separate options and arguments

  * decompressor info: fix support for 'tar' and properly terminate command
    options

  * plugin: volume export: avoid broken qemu-img convert command when exporting
    a qcow2-formatted volume as raw+size stream

  * pvesm extractconfig: make missing support for tar format for VMs explicit

 -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Sep 2026 15:34:36 +0200

libpve-storage-perl (9.1.10) trixie; urgency=medium

  * ceph: use the auth_client_required option for client connections, as
    Ceph 19.2.6 removed the long-deprecated auth_supported one. Passing
    it to a 19.2.6 cluster made librados refuse the connection and every
    rbd command abort, which left RBD storages inactive.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 24 Aug 2026 10:38:32 +0200

libpve-storage-perl (9.1.9) trixie; urgency=medium

  * ceph: accept keyring files whose key uses the aes256k cipher.

 -- Proxmox Support Team <support@proxmox.com>  Sat, 22 Aug 2026 18:03:00 +0200

libpve-storage-perl (9.1.8) trixie; urgency=medium

  * lvm plugin: fix a regression from 9.1.7 that made adding a cloud-init drive
    to a guest fail on storages with 'snapshot-as-volume-chain' enabled. The
    guest layer passes a fixed volume name that lacks the '.qcow2' extension,
    which the new format check then rejected. The plugin now adds the missing
    extension itself, logging the adapted name, which also covers cloning and
    restoring such guests.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 07 Aug 2026 15:00:20 +0200

libpve-storage-perl (9.1.7) trixie; urgency=medium

  * plugins: volume export: capture dd progress output line by line, instead of
    as a single long line requiring horizontal scrolling

  * zfspool: export: fix regression with printing progress output caused by
    missing newline characters.

  * fix #7811: storage: lvm: reject allocation on format and volume name
    mismatch. LVM historically only supported the raw format, and has no
    extension in the volume name for such volumes, which made them fall through
    the existing checks.

  * zfspool plugin: fix regression for rollback with refquota=none and a
    similar issue when creating linked clones of containers, both caused by ZFS
    not treating `0` as `none`.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 24 Jul 2026 11:57:30 +0200

libpve-storage-perl (9.1.6) trixie; urgency=medium

  * fix #7094: lvm: snapshot delete: when using 'snapshot-as-volume-chain',
    grow the target snapshot volume to fit its child before committing.
    Deleting the first snapshot of a volume that was resized after the
    snapshot was taken could otherwise fail, as the target LV was too small to
    hold the merged data. Handles the offline case; the online (running VM)
    case is fixed in qemu-server.

  * plugin api: backward compatible plugin api version bump for the new
    optional 'snapname' parameter of volume_resize() and the new
    'virtual-size' field returned by volume_snapshot_info(), both needed for
    snapshot removal with resized images on 'snapshot-as-volume-chain'
    storages.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 29 May 2026 21:45:40 +0200

libpve-storage-perl (9.1.5) trixie; urgency=medium

  * fix #7143: lvm plugin: scope qcow2 volume (de)activation to the actual
    target volume group via lvchange '--select' instead of the per-name tag.
    The tag-based selection previously pulled in volumes with the same name
    (and their snapshots) on other LVM storages.

  * fix #7280: lvm plugin: rename: activate the source qcow2 volume before
    reading its snapshot info, otherwise the rename failed for inactive qcow2
    LVs since qemu-img cannot read the header without a /dev node.

  * lvm plugin: rename: keep the per-VM tag (and, for qcow2, the per-volname
    tag) in sync when reassigning a volume to a different VM. Skip the
    lvchange invocation entirely when source and target VMID match (e.g.
    same-CT mountpoint reassign on raw LVs), since the equivalent '--addtag X
    --deltag X' could otherwise leave the volume untagged.

  * fix #6819: lvm plugin: list_images: for inactive qcow2 LVs, report the LV
    allocation size as the new 'approximate-size' field instead of activating
    each LV per listing call. Activating is costly and, on shared LVM, often
    impossible because the LV may already be active on another node.

  * api/cli: list content: declare 'size' as optional and add a new
    'approximate-size' field for storages where determining the exact size has
    technical limitations. The 'pvesm list' CLI prefixes such values with '~'.
    External API consumers should treat 'size' as potentially absent and fall
    back to 'approximate-size'.

  * plugin: activate_storage: improve error reporting when creating the
    per-content-type subdirectories fails, including an explicit hint about
    read-write access to the storage on EACCES/EROFS errors.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 18 May 2026 21:12:27 +0200

libpve-storage-perl (9.1.4) trixie; urgency=medium

  * fix #3936: zfspool: validate the 'blocksize' property via a new dedicated
    JSON schema format, requiring a power of two between 512 bytes and 16 MiB
    with optional 'k' or 'm' suffix. Previously invalid values were silently
    accepted at the storage configuration level and only surfaced as errors on
    first volume allocation.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 15 May 2026 10:13:05 +0200

libpve-storage-perl (9.1.3) trixie; urgency=medium

  * fix #2350: zfspool: support `zfs send` without preserving encryption, to
    allow storage migration and replication of ZFS-native-encrypted guest
    disks while inheriting encryption settings from the target dataset, rather
    than requiring raw sends that bind keys per volume. Receiving nodes need
    this fix applied before the first such send to avoid creating the
    destination dataset unencrypted under an encrypted parent.

  * api: add new `GET /nodes/{node}/storage/{storage}/identity` endpoint that
    returns a stable identifier for the underlying storage backend. Initially
    supported for PBS storages, where it returns the recently added PBS
    instance ID, This is intended to be consumed by PDM to map PBS storages to
    configured PBS remotes. Other storage types may add support over time via
    the new `get_identity()` plugin method.

  * plugin api: backward compatible plugin api version bump for the new
    `get_identity()` method, justified by the new API and plugin method being
    completely optional.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 13 May 2026 03:56:16 +0200

libpve-storage-perl (9.1.2) trixie; urgency=medium

  * import: contain XML parser with simple seccomp filter that disallows all
    but the absolutely required syscalls as defense-in-depth sandbox.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 21 Apr 2026 17:55:57 +0200

libpve-storage-perl (9.1.1) trixie; urgency=medium

  * cifs: fix connection check for Kerberos-authenticated shares. With
    smbclient 4.22 (shipped in Debian trixie), the previous guest-user
    fallback no longer works, causing the check to fail. Properly detect
    Kerberos from the mount options and use native Kerberos authentication for
    the connection check instead.

  * api: status: fix storage size values being returned in scientific notation
    for large storages, which broke deserialization in PDM.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 17 Mar 2026 21:54:31 +0100

libpve-storage-perl (9.1.0) trixie; urgency=medium

  * import/export formats: fix regression for import/export of 'images'
    content. This affected offline migration of guest volumes.

  * lvm plugin: fix hanging on the storage lock when doing a snapshot rollback
    through the CLI.

  * fix #6900: accept all API tokens that are valid for Proxmox Backup Server,
    which is slightly more flexible than the implementation in Proxmox VE.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 20 Nov 2025 14:59:42 +0100

libpve-storage-perl (9.0.18) trixie; urgency=medium

  * api: OCI image download improvements:
    - use temporary file and only rename to real one if pulling the image
      finished successfully.
    - forbid to override existing files.
    - improve reference regex to allow more safe characters, like e.g. '-',
      in the image name.
    - allow one to override the target filename for the image.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 17 Nov 2025 21:53:43 +0100

libpve-storage-perl (9.0.17) trixie; urgency=medium

  * api: add endpoint to pull OCI images from a OCI registry directly to a
    storage.

 -- Proxmox Support Team <support@proxmox.com>  Sun, 16 Nov 2025 23:59:48 +0100

libpve-storage-perl (9.0.16) trixie; urgency=medium

  * add pve-vm-image-format standard option for VM image formats.

  * disks: add a guard possible nonexistent field to avoid useless warning.

  * storage migrate: remove remnant from rsync-based migration

  * storage migrate: avoid ssh overhead when moving a volume locally.

  * allow volume import of iso, snippets, vztmpl and import.

  * lvm thin plugin: do not combine activation change and property change to
    avoid a warning and hedge against potential unknown issues/edge cases.

  * api: smart: return unknown health instead of error message, like the web
    UI already expects us too.

  * fix #6224: disks: get: set timeout for retrieval of SMART stat data

  * plugin: introduce hints for activating and mapping volumes.

  * rbd: pass rxbounce when mapping Windows VM guest volumes.

  * close #6669: plugin api: introduce on_update_hook_full() method.

  * lvm plugin: disallow disabling 'snapshot-as-volume-chain' while a qcow2
    image exists.

  * plugin api: backward compatible plugin api version bump for new volume
    activation hints and new on_update_hook_full method.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 14 Nov 2025 00:39:39 +0100

libpve-storage-perl (9.0.15) trixie; urgency=medium

  * allow uncompressed .tar files to be used as container templates.

  * rrd metrics: always use modern pve-storage-9.0 metric path, now that we
    transparently read from old or new files depending on the requested time
    frame.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 13 Nov 2025 07:39:05 +0100

libpve-storage-perl (9.0.14) trixie; urgency=medium

  * fix #6073: esxi: fix zombie process after storage removal

  * iscsi: add hostname support in portal addresses

  * api: status: document return types

  * fix #6845: make regexes in zvol deletion retry logic less restrictive

  * pvesm: print units in 'status' subcommand table headings

  * lvmplugin: use blkdiscard when supported instead cstream to saferemove drive

  * fix #6941: lvmplugin: fix volume activation of raw disk before secure delete

  * lvm plugin: improve error handling

  * lvm plugin: volume chains: add missing locking for import and snapshot actions

  * api: list: return 'formats' info in JSONSchema compatible fashion

 -- Proxmox Support Team <support@proxmox.com>  Wed, 05 Nov 2025 09:11:18 +0100

libpve-storage-perl (9.0.13) trixie; urgency=medium

  * deactivate volumes: terminate error message with newline.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 01 Aug 2025 18:36:51 +0200

libpve-storage-perl (9.0.12) trixie; urgency=medium

  * plugin: fix parse_name_dir regression for custom volume names.

  * fix #6584: plugin: list_images: only include parseable filenames.

  * plugin: extend snapshot name parsing to legacy volnames.

  * plugin: parse_name_dir: drop noisy deprecation warning.

  * plugin: nfs, cifs: use volume qemu snapshot methods from dir plugin to
    ensure a online-snapshot on such storage types with
    snapshot-as-volume-chain enabled does not takes a internal qcow2 snapshot.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 31 Jul 2025 14:22:12 +0200

libpve-storage-perl (9.0.11) trixie; urgency=medium

  * lvm volume snapshot info: untaint snapshot filename

 -- Proxmox Support Team <support@proxmox.com>  Thu, 31 Jul 2025 09:18:56 +0200

libpve-storage-perl (9.0.10) trixie; urgency=medium

  * RRD metrics: use new pve-storage-9.0 format RRD file location, if it
    exists.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 31 Jul 2025 04:14:19 +0200

libpve-storage-perl (9.0.9) trixie; urgency=medium

  * fix #5181: pbs: store and read passwords as unicode.

  * fix #6587: lvm plugin: snapshot info: fix parsing snapshot name.

  * config: drop 'maxfiles' parameter, it was replaced with the more flexible
    prune options in Proxmox VE 7.0 already.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 30 Jul 2025 19:51:07 +0200

libpve-storage-perl (9.0.8) trixie; urgency=medium

  * snapshot-as-volume-chain: fix offline removal of snapshot on directory
    storage via UI/API by untainting/validating a filename correctly.

  * snapshot-as-volume-chain: fix typo in log message for rebase operation.

  * snapshot-as-volume-chain: ensure backing file references are kept relative
    upon snapshot deletion. This ensures the backing chain stays intact should
    the volumes be moved to a different path.

  * fix #6561: ZFS: ensure refquota for container volumes is correctly applied
    after rollback. The quota is tracked via a ZFS user property.

  * btrfs plugin: remove unnecessary mkpath call

  * drop some left-overs for 'rootdir' sub-directory handling that were
    left-over from when Proxmox VE supported OpenVZ.

  * path to volume ID conversion: properly quote regexes for hardening.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Jul 2025 17:17:11 +0200

libpve-storage-perl (9.0.7) trixie; urgency=medium

  * fix #6553: lvmthin: implement volume_rollback_is_possible sub

  * plugin: add get_formats() method and use it instead of default_format()

  * lvm plugin: implement get_formats() method

  * lvm plugin: check if 'fmt' parameter is defined before comparisons

  * api: status: rely on get_formats() method for determining format-related info

  * introduce resolve_format_hint() helper

  * improve api change log style

 -- Proxmox Support Team <support@proxmox.com>  Tue, 22 Jul 2025 15:01:49 +0200

libpve-storage-perl (9.0.6) trixie; urgency=medium

  * lvm plugin: properly handle qcow2 format when querying volume size info.

  * lvm plugin: list images: properly handle qcow2 format.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 18 Jul 2025 14:28:53 +0200

libpve-storage-perl (9.0.5) trixie; urgency=medium

  * config: rename external-snapshots option to snapshot-as-volume-chain.

  * d/postinst: drop obsolete migration for CIFS credential file path, left
    over from upgrade to PVE 7.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Jul 2025 19:52:21 +0200

libpve-storage-perl (9.0.4) trixie; urgency=medium

  * fix #5071: zfs over iscsi: add 'zfs-base-path' configuration option.

  * zfs over iscsi: on-add hook: dynamically determine base path.

  * rbd storage: add missing check for external ceph cluster.

  * LVM: add initial support for storage-managed snapshots through qcow2.

  * directory file system based storages: add initial support for external
    qcow2 snapshots.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Jul 2025 01:17:05 +0200

libpve-storage-perl (9.0.3) trixie; urgency=medium

  * fix #4997: lvm: volume create: disable auto-activation for new logical
    volumes, as that can be problematic for VGs on top of a shared LUN used by
    multiple cluster nodes, for example those accessed via iSCSI/Fibre
    Channel/direct-attached SAS.

  * lvm-thin: disable auto-activation for new logical volumes to stay
    consistent with thick LVM and to avoid the small overhead on activating
    volumes thatmight not be used.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 09 Jul 2025 17:34:36 +0200

libpve-storage-perl (9.0.2) trixie; urgency=medium

  * plugin: add method to get qemu blockdevice options for a volume

  * implement qemu_blockdevice_options for iscsi direct, zfs iscsi, zfs pool,
  * and rbd plugins

  * ceph/rbd: set 'keyring' in ceph configuration for externally managed RBD storages

  * plugin api: bump api version and age

 -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Jul 2025 11:44:15 +0200

libpve-storage-perl (9.0.1) trixie; urgency=medium

  * drop support for accessing Gluster based storage directly due to its
    effective end of support. The last upstream release happened over 2.5
    years ago and there's currently no one providing enterprise support or
    security updates.
    User can either stay on Proxmox VE 8 until its end-of-life (probably end
    of June 2026), or mount GlusterFS "manually" (e.g., /etc/fstab) and add it
    as directory storage to Proxmox VE.
    We recommend moving to another storage technology altogether though.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 16 Jun 2025 16:12:37 +0200

libpve-storage-perl (9.0.0) trixie; urgency=medium

  * re-build for Debian 12 "Trixie" based Proxmox VE 9 release.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 11 Jun 2025 10:04:22 +0200

libpve-storage-perl (8.3.6) bookworm; urgency=medium

  * plugin: file size info: be consistent about size of directory subvol to
    avoid breakage at use sites, like storage migration with btrfs.

  * plugin: volume export formats: avoid superfluous file_size_info() call.

  * api: volume info: do not fail for zero-sized subvolumes.

  * btrfs: die early for broken subvolume resize.

  * import: allow upload of guest images files into import storage.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 07 Apr 2025 22:18:14 +0200

libpve-storage-perl (8.3.5) bookworm; urgency=medium

  * fix #3716: api: download from url: use proxy option for https, not just
    http.

  * extend the storage plugin interface providing:
    + helper to query features that plugins can declare to support
    + add new_backup_provider plugin method to allow creating a storage that
      implements backup functionality that natively integrates into PVE.
    + declare which properties are sensitive or not centrally in a plugin.

  * disk management: allow leading white space in the serial number property.

  * btrs: various small fixes in preparation for fully supported volume
    export.

  * fix #3986: directory plugin: remove trailing slashes to avoid multiple
    consecutive slashes; while they do not have any effect they rather look
    odd and users might misinterpret them as causing problems.

 -- Proxmox Support Team <support@proxmox.com>  Sun, 06 Apr 2025 21:18:38 +0200

libpve-storage-perl (8.3.4) bookworm; urgency=medium

  * rbd plugin: drop broken cache for pool specific information in list image.

  * iSCSI direct: drop broken cache for storeid-specific information in list
    image.

  * fix #3873: btrfs: volume export: avoid that snapshots of other disks get
    picked up to fix storage migration with multiple volumes and snapshots.

  * btrfs: volume import: forcefully set image to readwrite to be able to
    recreate snapshots.

  * fix #957: iscsi: improve check for already available sessions to a portal,
    reducing log-noise on the iSCSI server.

  * plugin: file size info: remove ancient 'cow' from formats, dropped
    upstream in QEMU version 2.2.

  * api: alloc: allow explicitly passing 'vmdk' for the 'format' option
    instead of just detecting that format indirectly.

  * introduce 'pve-storage-image-format' standard option for image schema
    format

 -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Apr 2025 19:20:17 +0200

libpve-storage-perl (8.3.3) bookworm; urgency=medium

  * plugin: export/import: fix calls to path() method

  * rbd plugin: schema: document default value for 'krbd' setting

  * export: redirect stdout to avoid any unrelated messages ending up in the export stream

  * rbd plugin: implement volume import/export (partially fix #5890)

  * rbd plugin: improve volume exists helper

  * iscsi plugin: support volume export

  * iscsi direct plugin: support volume export

  * common: introduce common module

  * plugins: volume import: align size up to 1KiB

 -- Proxmox Support Team <support@proxmox.com>  Thu, 19 Dec 2024 15:11:41 +0100

libpve-storage-perl (8.3.2) bookworm; urgency=medium

  * btrfs: fix regression for handling non-images volumes

 -- Proxmox Support Team <support@proxmox.com>  Wed, 11 Dec 2024 15:29:38 +0100

libpve-storage-perl (8.3.1) bookworm; urgency=medium

  * esxi: anchor vmdk regex in `parse_volname`

  * esxi: fix return value of volume_size_info for vmx volumes

  * storage: plugin: return 'raw' format when parsing non-image volumes

  * file_size_info: add warning when falling back to raw format

 -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Dec 2024 14:32:01 +0100

libpve-storage-perl (8.3.0) bookworm; urgency=medium

  * file_size_info: avoid spurious warnings by always setting `format`
    parameter

 -- Proxmox Support Team <support@proxmox.com>  Mon, 09 Dec 2024 12:00:12 +0100

libpve-storage-perl (8.2.10) bookworm; urgency=medium

  * file_size_info: add format parameter and checks

 -- Proxmox Support Team <support@proxmox.com>  Mon, 09 Dec 2024 10:08:45 +0100

libpve-storage-perl (8.2.9) bookworm; urgency=medium

  * untrusted image checks: also handle multi-part vmdk files, to harden the
    new import OVA through API feature also for VMDK backed images.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 19 Nov 2024 21:05:43 +0100

libpve-storage-perl (8.2.8) bookworm; urgency=medium

  * directory backed storage: implement import content type to support
    uploading and importing OVA images.

  * various improvements to the OVF parser to better support parsing basic
    resources and also improve coping  with more quirks from OVA images.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 18 Nov 2024 21:11:43 +0100

libpve-storage-perl (8.2.7) bookworm; urgency=medium

  * file size info: implement untrusted mode to check some extra attributes
    for files that originate from outside the PVE storage system.

  * move OVF module over from qemu-server

  * api: iso up/download: check file content to prevent users from uploading
    files that they then cannot use as an ISO or raw image.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 18 Nov 2024 15:51:20 +0100

libpve-storage-perl (8.2.6) bookworm; urgency=medium

  * iscsi: disable Open-iSCSI login retries to reduce timeout to 15s, logins
    will be already retried on a higher level (pvestatd).

  * fix #5267: storage: add bzip2 support to volumes that already support some
    compression like VM images or ISOs, Container templates, or backup
    archives.

  * iscsi: fix activation of second iSCSI storage on other cluster nodes.

  * iscsi: disallow slashes in volume name

  * iscsi: verify volume disks are part of target to harden against
    misconfiguration.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 13 Nov 2024 16:19:43 +0100

libpve-storage-perl (8.2.5) bookworm; urgency=medium

  * api: annotate file-restore endpoint as download-enabled

 -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Sep 2024 11:23:12 +0200

libpve-storage-perl (8.2.4) bookworm; urgency=medium

  * volume import: assume target API version is at least 9, which is supported
    since the initial Proxmox VE 7.0 release. This allows removing some code
    while keeping our upgrade path from 7 to 8.

  * btrfs: log executed command on failures

  * fix #5587: esxi: add support for more variants of how the VMX file
    references disk file paths, allowing some nore niche use case like, e.g.,
    importing VMs from ESXi that where originally created on (older versions)
    of the VMWare Player application.

  * fix #4272: btrfs: expose the ability to change the owner of a guest image
    backed by a btrfs storage.

  * file size info query: avoid false-positive error when the qemu-img command
    fails to return any output, which most often indicates that it timed out

 -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Sep 2024 12:26:15 +0200

libpve-storage-perl (8.2.3) bookworm; urgency=medium

  * esxi: revert change to error handling from the fuse mount tool which would
    cause the mount operation to wrongfully appear to never be finished and
    cause pvestatd to hang

 -- Proxmox Support Team <support@proxmox.com>  Fri, 21 Jun 2024 13:50:59 +0200

libpve-storage-perl (8.2.2) bookworm; urgency=medium

  * esxi: don't bail on whitespaces in backing devices

  * esxi: fixup error message when getting file size info

  * esxi: improve error handling for fuse mount tool

 -- Proxmox Support Team <support@proxmox.com>  Fri, 07 Jun 2024 13:23:07 +0200

libpve-storage-perl (8.2.1) bookworm; urgency=medium

  * esxi import: add "longhorn" to possible Windows Server 2008 OS types

 -- Proxmox Support Team <support@proxmox.com>  Tue, 23 Apr 2024 17:20:10 +0200

libpve-storage-perl (8.2.0) bookworm; urgency=medium

  * fix insecure migration failing if it must wait on the lock

  * storage migrate: only output about cleaning-up snapshots if there are any

  * fix #1611: implement import of base-images for LVM-thin Storage

  * upload: use SSH helper to get ssh/scp options to ensure the new
    node-specific public key files inside pmxcfs are used

 -- Proxmox Support Team <support@proxmox.com>  Fri, 19 Apr 2024 09:07:08 +0200

libpve-storage-perl (8.1.5) bookworm; urgency=medium

  * esxi: status: mark as active if its mounted

  * esxi: add mapping for windows server 2016/2019

  * ceph config: rewrite parser/writer, allow arbitrary sections

 -- Proxmox Support Team <support@proxmox.com>  Thu, 11 Apr 2024 11:56:49 +0200

libpve-storage-perl (8.1.4) bookworm; urgency=medium

  * esxi: add optional 'port' config parameter

 -- Proxmox Support Team <support@proxmox.com>  Thu, 28 Mar 2024 17:36:54 +0100

libpve-storage-perl (8.1.3) bookworm; urgency=medium

  * esxi: detect existing MAC addresa of VM also when the type is 'static'
    (manual defined) ord 'vpx' (generated by vCenter)

  * esxi: reduce cache invalidation time to 30s to make changes on the ESXi
    source host appear a bit faster on the PVE target host

 -- Proxmox Support Team <support@proxmox.com>  Wed, 27 Mar 2024 12:38:53 +0100

libpve-storage-perl (8.1.2) bookworm; urgency=medium

  * esxi: add warning for losing EFI state on import

  * esxi: only add a 'scsihw' key if it's defined in the source VM

  * esxi: detect correct os type in 'other' family, mainly BSD and Solaris
    variants

  * esxi: use the stderr of our API client (listvms.py) as error message

  * esxi: have the fuse process drop its privileges

 -- Proxmox Support Team <support@proxmox.com>  Fri, 22 Mar 2024 16:39:27 +0100

libpve-storage-perl (8.1.1) bookworm; urgency=medium

  * storage plugins: add 'import' content type to allow interfacing with
    virtual guests of foreign sources or formats to Proxmox VE.

  * add storage/{storage}/import-metadata API endpoint to query information
    about external guests so that a frontend can use this to provide a
    interface for users to import such guests.

  * add a plugin for connecting to a ESXi instance, exposign it's VMs through
    the new import content type and metadata mechanisms.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 13 Mar 2024 15:16:19 +0100

libpve-storage-perl (8.1.0) bookworm; urgency=medium

  * zfs: fix duplicate word typo in error message

  * plugin schema: improve description of 'nodes' and 'shared' properties

  * fix #5254: api: allow usage of download-url with Sys.AccessNetwork

  * d/control: add missing dependency relation on libpve-access-control

 -- Proxmox Support Team <support@proxmox.com>  Wed, 06 Mar 2024 18:25:58 +0100

libpve-storage-perl (8.0.5) bookworm; urgency=medium

  * btrfs: fix calling parent create_base method in fall-back

 -- Proxmox Support Team <support@proxmox.com>  Tue, 21 Nov 2023 21:20:53 +0100

libpve-storage-perl (8.0.4) bookworm; urgency=medium

  * cifs: bubble up NT_STATUS_INVALID_PARAMETER during connection c

  * fix #3004: show progress of offline migration in task log

  * fix #254: iscsi: add support for multipath targets

  * api/filerestore: add tar parameter to download api

  * disks: get: add osdid-list return parameter

 -- Proxmox Support Team <support@proxmox.com>  Mon, 13 Nov 2023 18:12:34 +0100

libpve-storage-perl (8.0.3) bookworm; urgency=medium

  * fix #4849: support decompressing ISOs downloaded from URLs

 -- Proxmox Support Team <support@proxmox.com>  Fri, 18 Aug 2023 10:40:10 +0200

libpve-storage-perl (8.0.2) bookworm; urgency=medium

  * cifs: adapt check connection call for smbclient version in bookworm

 -- Proxmox Support Team <support@proxmox.com>  Wed, 28 Jun 2023 09:31:56 +0200

libpve-storage-perl (8.0.1) bookworm; urgency=medium

  * api: config: add/update storage: check for type mismatch first

  * content-dirs check: silently skip paths that cannot be resolved

  * fix #4785: avoid overly noisy mkdir deprecation warning for now

  * disk api: avoid using unrelated Datastore.Audit priv for disk management

  * disk api: only ask for Datastore.Allocate if actually adding newly created
    file system, LVM or ZFS directly to the Proxmox VE storage config

 -- Proxmox Support Team <support@proxmox.com>  Sat, 17 Jun 2023 15:34:00 +0200

libpve-storage-perl (8.0.0) bookworm; urgency=medium

  * activate storage: ensure content directories are created before checking
    them

 -- Proxmox Support Team <support@proxmox.com>  Fri, 09 Jun 2023 14:01:17 +0200

libpve-storage-perl (8.0.0~2) bookworm; urgency=medium

  * content-dirs: enforce that all content dirs are pairwise non-equal, as
    the same directory must not be used for multiple content types

  * volume export: explicitly state that the unit of bandwidth limit is
    bytes/s

  * rbd: don't specify useless allow-shrink flag

  * rbd: volume resize: avoid passing floating point value to rbd, by
    ceiling the result we can make resizes like +0.01 GB work

  * changed regex to allow @ in directory storage paths, which is often
    used to signify btrfs subvolumes.

  * fix #2920: cifs: add options parameter

 -- Proxmox Support Team <support@proxmox.com>  Wed, 07 Jun 2023 19:10:09 +0200

libpve-storage-perl (8.0.0~1) bookworm; urgency=medium

  * add 'create-base-path' and 'create-subdirs' option to path based storages

  * deprecate 'mkdir' option

 -- Proxmox Support Team <support@proxmox.com>  Mon, 05 Jun 2023 14:46:13 +0200

libpve-storage-perl (7.99.0) bookworm; urgency=medium

  * re-build for Proxmox VE 8 / Debian 12 Bookworm

  * switch to native versioning scheme

 -- Proxmox Support Team <support@proxmox.com>  Wed, 24 May 2023 14:12:01 +0200

libpve-storage-perl (7.4-3) bullseye; urgency=medium

  * fix variable declared in conditional statement in cephfs and rbd, avoiding
    a (theoretical) unsoundness

  * api: upload: record the pattern of the tmpfilename parameter in the schema

 -- Proxmox Support Team <support@proxmox.com>  Tue, 23 May 2023 08:45:58 +0200

libpve-storage-perl (7.4-2) bullseye; urgency=medium

  * cifs: use empty string instead of / as default directory to avoid
    regression with the mount detection

  * feature: enable 'content-dirs' property for cephfs

 -- Proxmox Support Team <support@proxmox.com>  Tue, 21 Mar 2023 16:49:27 +0100

libpve-storage-perl (7.4-1) bullseye; urgency=medium

  * nfs: check connection: support NFSv4-only servers without rpcbind, by
    simply doing a ping with the expected port as a fallback

  * fix #2641: allow mounting of CIFS subdirectories

  * config: use relative paths for content overrides

  * content path overrides: allow single dots and enforce max-lengths

  * api: fix get content call response type for RBD/ZFS/iSCSI volumes

 -- Proxmox Support Team <support@proxmox.com>  Mon, 20 Mar 2023 17:04:55 +0100

libpve-storage-perl (7.3-2) bullseye; urgency=medium

  * revert using /sys to map nvmeXnY to nvmeX as this is not necessary anymore
    to address the issue from bug #2020 with modern Kernels (Linux 5.4+) and
    seemingly doesn't always resolved to the correct device neither.

  * disk manage: pass full NVMe device path to smartctl, which can cope with
    that since a while

  * zfs: list: only cache and list images for actually requested storage/pool

  * config: allow one to add overrides for default (sub-)directory locations
    of content-type specific files thorugh the `content-dirs` storage option.

  * zfs: list zvol: skip different pools during parsing already

  * zfs: list zvol: limit recursion depth to 1 to avoid scanning volumes that
    cannot be a storage volume anyway

  * fix #4390: rbd: snapshot delete: avoid early return to fix handling TPM
    drive

 -- Proxmox Support Team <support@proxmox.com>  Wed, 11 Jan 2023 16:47:22 +0100

libpve-storage-perl (7.3-1) bullseye; urgency=medium

  * get bandwidth limit: improve detecting if storages are involved to avoid
    ignoring the datacenter config limit due to detecting a false-positive
    override from the storage one

 -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Nov 2022 08:26:47 +0100

libpve-storage-perl (7.2-12) bullseye; urgency=medium

  * fixup bogus dereferenc of perl variable when creating dRAID

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Nov 2022 19:12:34 +0100

libpve-storage-perl (7.2-11) bullseye; urgency=medium

  * api: pbs: file restore: don't use namespaced parameters

  * pbs: prune: avoid getting all snapshots for group assembly if fixed anyway

  * fix #3967: enable ZFS dRAID creation via API

  * api: pbs file restore: decode and return proper error of file-restore
    listing

  * api: pbs file restore: make use of file-restores and guis timeout
    mechanism

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Nov 2022 17:51:07 +0100

libpve-storage-perl (7.2-10) bullseye; urgency=medium

  * (remote) export: check and untaint format

  * fix #4165: disk: SMART: add normalized field

 -- Proxmox Support Team <support@proxmox.com>  Thu, 29 Sep 2022 14:33:07 +0200

libpve-storage-perl (7.2-9) bullseye; urgency=medium

  * fix #4189: pbs: bump list_volumes timeout to 2mins

  * RBD plugin: path: conditionalize get_rbd_dev_path() call

  * RBD plugin: librados connect: increase timeout when in worker

  * disks: allow add_storage for already configured local storage

 -- Proxmox Support Team <support@proxmox.com>  Tue, 20 Sep 2022 09:19:34 +0200

libpve-storage-perl (7.2-8) bullseye; urgency=medium

  * pbs: die if encryption key is configured, but missing

  * pbs: die if master public key is configured, but missing

 -- Proxmox Support Team <support@proxmox.com>  Tue, 16 Aug 2022 13:56:52 +0200

libpve-storage-perl (7.2-7) bullseye; urgency=medium

  * pbs: fix namespace handling in list_volumes

 -- Proxmox Support Team <support@proxmox.com>  Fri, 15 Jul 2022 13:36:35 +0200

libpve-storage-perl (7.2-6) bullseye; urgency=medium

  * pbs: use vmid parameter in list_snapshots to avoid scanning to many
    items on the remote unnecessarily

  * btrfs plugin: reuse the update/get_volume_attribute methods of the
    directory plugin, allowing one to set the protected status or notes on a
    btrfs hosted backup

 -- Proxmox Support Team <support@proxmox.com>  Thu, 14 Jul 2022 13:47:11 +0200

libpve-storage-perl (7.2-5) bullseye; urgency=medium

  * fix #4060: rbd: show data-pool usage when configured

  * disks api: add 'mounted' boolean and drop '(mounted)' string from usage

  * fix #3972: remove .notes file when deleting backups

 -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Jun 2022 10:52:48 +0200

libpve-storage-perl (7.2-4) bullseye; urgency=medium

  * pbs: backup-ns parameter was renamed to ns

  * rbd: add fallback default poolname 'rbd' to status

  * rbd: warn if no stats for a pool could be gathered

 -- Proxmox Support Team <support@proxmox.com>  Fri, 13 May 2022 14:27:24 +0200

libpve-storage-perl (7.2-3) bullseye; urgency=medium

  * pbs: namespace support

 -- Proxmox Support Team <support@proxmox.com>  Thu, 12 May 2022 14:48:55 +0200

libpve-storage-perl (7.2-2) bullseye; urgency=medium

  * rbd: unmap volume after rename

  * fix #3969: rbd: add rbd dev paths with cluster info

  * storage plugins: en/decode volume notes as UTF-8

  * zfs pool: bump non-worker timeoiut default to 10s

  * fix #3803: ZFSPoolPlugin: zfs_request: increase minimum timeout in
    worker

 -- Proxmox Support Team <support@proxmox.com>  Thu, 28 Apr 2022 18:19:47 +0200

libpve-storage-perl (7.1-2) bullseye; urgency=medium

  * add volume_import/export_start helpers

  * fix #3894: cast 'size' and 'used' to integer

  * zfs: volume import: use correct format for renaming

  * activate storage: improve error when check_connection dies

  * cifs: check connection: bubble up NT_STATUS_LOGON_FAILURE

  * list volumes: also return backup type for backups

  * pvesm: extract config: check for VM.Backup privilege

  * check volume access: improve checks

  * check volume access: optionally check content type

  * pvesm extract config / api file restore: check content type

  * plugins: allow limiting the number of protected backups per guest

 -- Proxmox Support Team <support@proxmox.com>  Wed, 6 Apr 2022 13:27:34 +0200

libpve-storage-perl (7.1-1) bullseye; urgency=medium

  * pbs: update attribute: improve error message if remote PBS is to old to
    support that

  * zfs: use -r parameter when listing snapshots to fix a regression for ZFS
    over iSCSI

  * ceph: ensure that there's always a newline for the $secret as the RBD
    library errors out if that's not the case

  * fix #1816: rbd: add support for using erasure coded (EC) pools

 -- Proxmox Support Team <support@proxmox.com>  Fri, 04 Feb 2022 18:08:01 +0100

libpve-storage-perl (7.0-15) bullseye; urgency=medium

  * api: disks: implement destroy for dir, lvm, lvmthin, zfs

  * api: list thin pools: add volume group to properties

  * api: disks: delete: add flag for wiping disks

  * api: disks: delete: add flag for cleaning up storage config

  * lvm thin: don't assume that a thin pool and its volumes are active

 -- Proxmox Support Team <support@proxmox.com>  Wed, 10 Nov 2021 14:25:18 +0100

libpve-storage-perl (7.0-14) bullseye; urgency=medium

  * rbd plugin: free image: use actual command in error message

  * cephfs: add support for multiple ceph filesystems

  * zfspool: support blockers parameter to volume_snapshot_is_possible

  * plugin: add volume_snapshot_info function, replaces volume_snapshot_list

  * dir plugin: improve notes handling

  * add generalized functions to manage volume attributes

  * prune mark: preserve additional information for the keep-all case

  * fix #3307: make it possible to set protection for backups

  * prune: mark renamed and protected backups differently

  * pbs: integrate support for protected

  * add rename volume feature

  * bump plugin APIVER (10) and APIAGE (1):
    - Add rename feature
    - Replace `volume_snapshot_list` with `volume_snapshot_info`
    - Add `blockers` parameter to `volume_rollback_is_possible`
    - Replace get/update_volume_notes with generic get/update_volume_attribute

 -- Proxmox Support Team <support@proxmox.com>  Tue, 9 Nov 2021 13:08:35 +0100

libpve-storage-perl (7.0-13) bullseye; urgency=medium

  * btrfs: free image: only remove snapshots for current subvol

  * diskmanage: wipe blockdev: also change partition type

  * diskmanage: don't set usage for unused partitions

  * partially fix #2285: api: disks: allow partitions for creation paths

  * ct templates: support zstd compressed archives

  * fix #3580: plugins: make preallocation mode selectable for qcow2 and
    raw images

 -- Proxmox Support Team <support@proxmox.com>  Thu, 14 Oct 2021 11:22:25 +0200

libpve-storage-perl (7.0-12) bullseye; urgency=medium

  * btrfs: avoid undef warnings with format

  * prune: validate, mark: preserve input parameter

  * fix #3610: properly build ZFS detail tree

  * fix #3609: cifs: add support to SMB 3.11

  * cifs: allow "3" and "default" for version parameter

  * cifs: do not pass an explicity version by default to negotiate the highest
    common SMB2+ version supported by both, server and client

  * api: disk: work around udev bug to ensure its database is updated

  * status: can now remove sleep(1) hack in file upload

  * fix #3505: status: add checksum and algorithm to file upload

  * import: don't check for 1K aligned size

 -- Proxmox Support Team <support@proxmox.com>  Tue, 05 Oct 2021 06:25:04 +0200

libpve-storage-perl (7.0-11) bullseye; urgency=medium

  * zfs: avoid dying on unmount when the dataset is already unmounted

  * ceph: rbd/cephfs: add keyring parameter for external clusters

  * btrfs: fix call convention of alloc_image from DirPlugin for a special case

  * upload: remove the temporary uploaded local file directly in the API
    endpoint instead of the HTTP server code as special case

 -- Proxmox Support Team <support@proxmox.com>  Mon, 06 Sep 2021 08:40:33 +0200

libpve-storage-perl (7.0-10) bullseye; urgency=medium

  * fix #3555: BTRFS: call the free_image method from the base plugin correctly

  * api: disks: allow zstd compression when creating zfs pools

  * api: status: fix unlink on file upload when we copied to another, proxied
    node

  * status: add max length and disclaimer to file upload's filename

 -- Proxmox Support Team <support@proxmox.com>  Fri, 30 Jul 2021 15:23:14 +0200

libpve-storage-perl (7.0-9) bullseye; urgency=medium

  * lvm: tell lvcreate to always wipe any existing traces of signatures
    for new LVs

  * extract backup config: less precise matching for broken pipe detection

 -- Proxmox Support Team <support@proxmox.com>  Tue, 06 Jul 2021 16:28:44 +0200

libpve-storage-perl (7.0-7) bullseye; urgency=medium

  * btrfs: fix "path is mounted" invocation

 -- Proxmox Support Team <support@proxmox.com>  Mon, 05 Jul 2021 19:01:10 +0200

libpve-storage-perl (7.0-6) bullseye; urgency=medium

  * btrfs: support newer prune-backups for backup retention

 -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Jun 2021 16:12:02 +0200

libpve-storage-perl (7.0-5) bullseye; urgency=medium

  * btrfs: assert that path is actually on a btrfs file system on add and
    activation

 -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Jun 2021 11:43:56 +0200

libpve-storage-perl (7.0-4) bullseye; urgency=medium

  * tree-wide: fix typos in comments and error messages

  * plugins: untaint volume_size_info returned data

  * add BTRFS storage plugin as technology preview

  * bump storage API: update import/export methods, APIAGE was reset

  * api: content: correctly handle warnings status for delayed task

  * status: add download-url endpoint for downloading a HTTP(s) ISO or CT
    template image to a storage directly.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Jun 2021 22:50:57 +0200

libpve-storage-perl (7.0-3) bullseye; urgency=medium

  * api: get rid of moved usb call, moved to manager

  * config: add backup content type to default local storage

  * config: mention that maxfiles is deprecated

  * postinst: move old cifs credential files into new subdirectory upon update

  * prune backups: always activate storage

  * api: status: sort index and add missing "file-restore"

  * lvm: volume import: handle worker returned by free_image

  * vdisk_list: only scan storages with the correct content type(s)

 -- Proxmox Support Team <support@proxmox.com>  Mon, 21 Jun 2021 11:27:22 +0200

libpve-storage-perl (7.0-2) bullseye; urgency=medium

  * api: add wipedisk endpoint

 -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Jun 2021 16:32:11 +0200

libpve-storage-perl (7.0-1) pve; urgency=medium

  * remove the old, internal and unmaintained, DRBD plugin which was replaced
    by an external maintained version already in PVE 5.

  * bump for for Debian 11 Bullseye based releases

 -- Proxmox Support Team <support@proxmox.com>  Wed, 12 May 2021 13:14:28 +0200

libpve-storage-perl (6.4-1) pve; urgency=medium

  * import: allow storage import from UNIX socket

  * diskmanage: improve detecting usage for whole disk with include-partitions

  * Proxmox Backup Server: allow setting up a master key

  * add FileRestore API for Proxmox Backup Server

 -- Proxmox Support Team <support@proxmox.com>  Fri, 23 Apr 2021 16:18:43 +0200

libpve-storage-perl (6.3-9) pve; urgency=medium

  * backup files: don't match the VMID against the full path, but the file name
    only, to avoid false positives

  * fix #3286: rbd: add basic namespace support

  * fix #3345: zfs: restore container volume to ZFS with size 0

  * volume export/import: allow uppercase letters in snapshot names

 -- Proxmox Support Team <support@proxmox.com>  Mon, 12 Apr 2021 16:14:31 +0200

libpve-storage-perl (6.3-8) pve; urgency=medium

  * api: disks: zfs: "scan" property is optional

  * api: disks: allow listing also if an Sys.Audit permission for the node is
    present

  * fix #3354: support backup-notes on cephfs storage

  * fix #3363: avoid undef-warning  when checking for encryption in Proxmox
    Backup Server snapshots

  * fix #3348: NFS: select correct IPv4/IPv6 transport when checking the
    connection to the remote

 -- Proxmox Support Team <support@proxmox.com>  Thu, 01 Apr 2021 14:58:49 +0200

libpve-storage-perl (6.3-7) pve; urgency=medium

  * ZFS: check if pool is imported and mounted, as a pool can be imported but
    not mounted. Try to mount in that case.

  * storage migration: improve logging when IP or port cannot be detected

 -- Proxmox Support Team <support@proxmox.com>  Fri, 19 Feb 2021 15:49:15 +0100

libpve-storage-perl (6.3-6) pve; urgency=medium

  * fix checking connection for NFSv4 only server

  * fix #3159: lvm: RAID LVs as storage content

  * mark Proxmox Backup Server storages as shared

  * Disks: return correct journal disk candidates

  * Diskmanage: also check for filesystem type when determining usage

  * Diskmanage: also detect BIOS boot, EFI and ZFS reserved type partitions

  * Diskmanage: allow  one to optionally also include partitions and their
    usage

 -- Proxmox Support Team <support@proxmox.com>  Tue, 09 Feb 2021 12:13:55 +0100

libpve-storage-perl (6.3-5) pve; urgency=medium

  * fix #3199: backup prune: correctly format time also in edge cases

  * Diskmanage: extend wearout detection for SAS disk

  * add workaround for incorrect handling of mmap caches when doing a ZFS
    subvolume rollback

 -- Proxmox Support Team <support@proxmox.com>  Tue, 26 Jan 2021 18:37:33 +0100

libpve-storage-perl (6.3-4) pve; urgency=medium

  * api: content/backup: handle deletion of notes

  * nfs and cifs: implement backup notes helper

  * prune mark: correctly keep track of already included backups when dealing
    with smaller intervalls being included in two greater (e.g., a week which
    goes over a month boundary)

 -- Proxmox Support Team <support@proxmox.com>  Mon, 14 Dec 2020 16:15:01 +0100

libpve-storage-perl (6.3-3) pve; urgency=medium

  * pbs: allow one the use of API tokens when adding a new storage again

 -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Dec 2020 17:24:56 +0100

libpve-storage-perl (6.3-2) pve; urgency=medium

  * plugin: hooks: add explicit returns to avoid some accidental return schema
    verification

  * pbs: add scan datastore as new API endpoint and a pvesm scan pbs CLI command

  * pbs: activate storage: fully validate if storage config works on storage
    addition and storage update

  * api: scan cifs: port over NT_STATUS filter from pve-manager

 -- Proxmox Support Team <support@proxmox.com>  Tue, 01 Dec 2020 19:27:50 +0100

libpve-storage-perl (6.3-1) pve; urgency=medium

  * Proxmox Backup Server: add/update: save encryption-key fingerprint in
    storage config for reference

  * Proxmox Backup Server: add/update: autogen key: rename old one if existing

  * api: content: return backup encryption status for Proxmox Backup Server
    images

 -- Proxmox Support Team <support@proxmox.com>  Tue, 24 Nov 2020 23:20:50 +0100

libpve-storage-perl (6.2-12) pve; urgency=medium

  * api: rename comment to notes

  * api: storage/content: use more generic volume size info helper

  * plugins: add get/update_volume_comment and implement for all directory
    based storages

 -- Proxmox Support Team <support@proxmox.com>  Tue, 24 Nov 2020 16:05:15 +0100

libpve-storage-perl (6.2-11) pve; urgency=medium

  * pbs: autogen encryption key: bubble up error message

  * api: content listing: add comment and verification fields

  * don't pass along keep-options equal to zero to Proxmox Backup client

  * prune mark: keep all if all prune options are zero/missing

  * lvmthin: Match snapshot remove regex to allowed names

  * fix volume activation for ZFS subvols

  * prune: introduce keep-all option

  * convert 'maxfiles' to new 'prune-backups' option when reading the storage
    configuration

 -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Nov 2020 19:36:41 +0100

libpve-storage-perl (6.2-10) pve; urgency=medium

  * fix #3097: cifs, nfs: increase connection check timeout to 10s

  * fix #1452: also log stderr of remote command with insecure storage
    migration

  * Diskmanage: Use S.M.A.R.T. attributes for SSDs wearout lookup

  * ZFS pool plugin: avoid noisy output on volume import

  * fix #3030: always activate volumes in storage_migrate

 -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Nov 2020 19:05:01 +0100

libpve-storage-perl (6.2-9) pve; urgency=medium

  * file_size_info: handle dangling symlinks

  * disk management: set more specific type for NVMe attached SSDs

  * ZFS over iSCSI: untaint LUN number

  * LIO: untaint values read from remote config

 -- Proxmox Support Team <support@proxmox.com>  Tue, 13 Oct 2020 11:14:04 +0200

libpve-storage-perl (6.2-8) pve; urgency=medium

  * PBS: add support to specify port, for when a reverse proxy or similar is
    used

  * PBS: use simple TCP ping for online check for now, reducing the amout of
    status API calls

 -- Proxmox Support Team <support@proxmox.com>  Fri, 02 Oct 2020 16:09:06 +0200

libpve-storage-perl (6.2-7) pve; urgency=medium

  * storage_migrate: log bandwidth limit

  * cli: pvesm prune-backups: use keep-options directly

  * zfs: rollback: improve error message and handle unexpectedly missing
    snapshots better

  * zfs: check and mount subvolumes on volume activation

  * api/disks: create zfs: instantiate import unit for newly created ZFS
    pool

 -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Sep 2020 18:55:53 +0200

libpve-storage-perl (6.2-6) pve; urgency=medium

  * introduce prune-backups property for directory-based storages

  * add intial API and pvesm endpoints for pruning backups

  * config: add hint for set encryption key

 -- Proxmox Support Team <support@proxmox.com>  Fri, 24 Jul 2020 19:10:00 +0200

libpve-storage-perl (6.2-5) pve; urgency=medium

  * fix pvesm's handling of `--encryption-key`

 -- Proxmox Support Team <support@proxmox.com>  Tue, 14 Jul 2020 13:58:24 +0200

libpve-storage-perl (6.2-4) pve; urgency=medium

  * when scanning storages for disk images, don't activate ones which cannot
    contain disk images

 -- Proxmox Support Team <support@proxmox.com>  Tue, 14 Jul 2020 13:44:26 +0200

libpve-storage-perl (6.2-3) pve; urgency=medium

  * pbs: prune command failing with encryption enabled

 -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Jul 2020 14:59:29 +0200

libpve-storage-perl (6.2-2) pve; urgency=medium

  * archive info: further relax custom name handling

  * archive info: use timelocal correctly

  * pbs: encryption support

  * pbs: support passing encryption key as file-descriptor, avoiding issues
    when backing up an unprivileged container

  * pvesm: encryption key parameter should load files

 -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Jul 2020 14:03:29 +0200

libpve-storage-perl (6.2-1) pve; urgency=medium

  * ceph: get_local_version: allow optional v prefix for version number

  * fix #2777 create zpools with stable dev paths

  * docs: Clarify that pvesm export is mostly internal

  * fix #2763: Revert "storage_migrate: check if target storage supports content type"

  * improve CIFS server scanning

  * fix #2460: use dm-uuid-mpath- as fallback for multipath

 -- Proxmox Support Team <support@proxmox.com>  Tue, 07 Jul 2020 19:23:50 +0200

libpve-storage-perl (6.1-8) pve; urgency=medium

  * backup archives: relax file name matching again to same level as before
    6.2, only enforce as much as we require to be able to actually restore it.

  * Fix #2737: avoid a noisy warning message when triggering a file deletion
    over the API

 -- Proxmox Support Team <support@proxmox.com>  Fri, 15 May 2020 19:41:23 +0200

libpve-storage-perl (6.1-7) pve; urgency=medium

  * ZFSPoolPlugin: fix #2662 get volume size correctly

  * disk_tests: improve nvme smart test

  * fix nvme wearout parsing

  * Fix #2705: cephfs: mount fails with bad option

  * storage: replace built-in stat occurrences

  * add lots of tests

  * fix: backup ctime was from stat not file name

  * fix: path_to_volume_id returned wrong content

  * fix: add missing snippets subdir

  * backup: compact regex for backup file filter

  * fix: #2124 storage: add zstd support

 -- Proxmox Support Team <support@proxmox.com>  Mon, 4 May 2020 14:02:26 +0200

libpve-storage-perl (6.1-6) pve; urgency=medium

  * list_volumes: try to return vmid also for backups

  * fix #2620: storage API: iSCSI: return active field as integer

  * iscsi: sort and split module usage

  * iscis: add iscsi_session helper

  * api: storage/content: add ctime to return schema

  * plugins: add ctime for various file types

  * api: storage/content: fix return schema property descriptions

  * allow passing options to volume_has_feature

  * fix #2474: always show iscsi content

  * fix #2647: Add snippet content type for Gluster

  * storage_migrate: check if target storage supports content type

  * pvesm: add apiinfo helper

  * storage_migrate: API change, collapse options into single hash parameter

  * storage_migrate: add optional rename feature in case of volname conflicts

 -- Proxmox Support Team <support@proxmox.com>  Thu, 9 Apr 2020 08:39:45 +0200

libpve-storage-perl (6.1-5) pve; urgency=medium

  * ZFS pool plugin: check whether 'zfs get mountpoint' returns a valid
    absolute path when setting the mountpoint property on storage addition

  * storage migrate: also log when using an insecure connection

  * api: introduce "on update" hook for plugins

  * volume resize: align (round up) size to 1 KiB to avoid issues with some
    storage backends which cannot handle sizes which aren't multiples of 512 or
    1024

  * add experimental storage plugin

  * CIFS: fix credential handling on storage update by using new on_update_hook

 -- Proxmox Support Team <support@proxmox.com>  Thu, 20 Feb 2020 13:45:39 +0100

libpve-storage-perl (6.1-4) pve; urgency=medium

  * cifs-plugin: Add bwlimit storage option

  * fix potential hanging of reboot for multiple minutes due to a systend mount
    unit ordering constraint cycle due to an active CephFS mount in combination
    with a systemd issue. Do this by actively generating a ephemeral mount unit
    with the correct ordering constraints ourself. Do that for both, Kernel and
    FUSE backed CephFS usage.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 29 Jan 2020 20:03:58 +0100

libpve-storage-perl (6.1-3) pve; urgency=medium

  * base find_free_diskname: refactor mapping from disks to volid array

  * rbd: unprotect all snapshots on image removal

  * When resizing a ZFS volume always ensure that size is aligned to 1M

  * calculate reasonable metadatasize for lvm thin pools on creation

  * grammar fix: s/does not exists/does not exist/g

 -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Dec 2019 12:18:32 +0100

libpve-storage-perl (6.1-2) pve; urgency=medium

  * rbd: update features of image when mapping snapshot

  * LVM commands: ignore "No medium found" bogus warnings

 -- Proxmox Support Team <support@proxmox.com>  Sat, 30 Nov 2019 19:38:10 +0100

libpve-storage-perl (6.1-1) pve; urgency=medium

  * fix #2309: allow LVM Volume Group names starting with a digit

  * pvesm import: improve handling of interrupted export

 -- Proxmox Support Team <support@proxmox.com>  Wed, 27 Nov 2019 14:46:39 +0100

libpve-storage-perl (6.0-12) pve; urgency=medium

  * RBD: disable and enable disk image features depending on kernel version

  * add zfs-zed to recommends

 -- Proxmox Support Team <support@proxmox.com>  Mon, 25 Nov 2019 18:28:51 +0100

libpve-storage-perl (6.0-11) pve; urgency=medium

  * pvesm list: add content type column to output

  * fix #2085: add mountpoint property for non-default ZFS pool MPs

  * fix #2467: avoid duplicate volumes & tag with correct content type

  * RBD: fix ceph version detection

 -- Proxmox Support Team <support@proxmox.com>  Fri, 22 Nov 2019 16:06:17 +0100

libpve-storage-perl (6.0-10) pve; urgency=medium

  * various LIO target improvements

  * convert vmid to int to conform with return type declaration

  * use correct local IP address helper

  * use PVE::DataCenterConfig, PVE::SSHInfo and PVE::RRD

 -- Proxmox Support Team <support@proxmox.com>  Mon, 18 Nov 2019 12:04:55 +0100

libpve-storage-perl (6.0-9) pve; urgency=medium

  * warn if filesize info could not be read due to error and use JSON
    interface from qemu-img

  * fix VMID filter for backup listing

  * ZFS over iSCSI/LIO: Don't remove and recreate lun when changing a
    volume

  * ZFS over iSCSI/LIO: set TRIM, UNMAP, DISCARD (TPU) to true for new
    images to allow to reclaim free space

  * ZFS over iSCSI/LIO: fix volname parsing for linked clones

 -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Sep 2019 18:17:37 +0200

libpve-storage-perl (6.0-8) pve; urgency=medium

  * Fix #2346: rbd storage shows wrong %-usage

  * fix #2216: Allow .img files in 'iso' type storages

 -- Proxmox Support Team <support@proxmox.com>  Tue, 03 Sep 2019 10:24:37 +0200

libpve-storage-perl (6.0-7) pve; urgency=medium

  * fix #2317: list images on 'rootdir' only storages

  * ZFS: wait for zvol symlinks in more cases

 -- Proxmox Support Team <support@proxmox.com>  Tue, 6 Aug 2019 14:07:20 +0200

libpve-storage-perl (6.0-6) pve; urgency=medium

  * fix #582: Add move-to-background delay logic when deleting volumes
    or images

  * storage plugin: new list_volumes plugin method

  * Diskmanage: add flag for encrypted osds

 -- Proxmox Support Team <support@proxmox.com>  Thu, 25 Jul 2019 13:34:52 +0200

libpve-storage-perl (6.0-5) pve; urgency=medium

  * fix missing osd info for osd 0

  * fix #2266: Diskmanage: get correct osd id

  * pvesm import: allow to pass a tcp://<IP> as file

 -- Proxmox Support Team <support@proxmox.com>  Thu, 11 Jul 2019 19:37:19 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog libpve-storage-perl`.
