]> git.proxmox.com Git - pve-storage.git/commit
fix #3345: zfs: restore container volume to ZFS with size 0
authorAaron Lauterer <a.lauterer@proxmox.com>
Fri, 9 Apr 2021 15:10:25 +0000 (17:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Apr 2021 12:37:50 +0000 (14:37 +0200)
commit8c858f7eebd6e130d06222286645a8f7c495f17c
tree5bc8aa54856ed1643cef097e724410304dfc9b46
parentc27fe64810682f2a124dc38a975f3e34782db1b1
fix #3345: zfs: restore container volume to ZFS with size 0

A restore to ZFS for a container which has a volume (rootfs / mount
point) of size 0 failed because the refquota property does not accept
'0k' but wants 'none' in that situation.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/ZFSPoolPlugin.pm