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`.
