]> git.proxmox.com Git - pve-storage.git/commit
volume_resize: align size to 1 KiB
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 19 Feb 2020 10:31:31 +0000 (11:31 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Feb 2020 14:24:09 +0000 (15:24 +0100)
commitc72155735dc20066d609d9202b0ea11bc28349e0
tree01fcc03fa66e6c5853f647da0d2edeff56ce77d6
parent462537a270ee7375cfaf6d8369ffbf70d9f2aea4
volume_resize: align size to 1 KiB

1. Avoids the error
qemu-img: The new size must be a multiple of 512
for qcow2 disks.
2. Because volume_import expects disk sizes to be a multiple of 1 KiB.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Storage.pm