Hi,
I've got a problem shrinking the .raw disk using the ZFS as storage.
I've tried following statements without success
The last command print that it succeeded, but the disk size it still same in proxmox gui.
Am I doing something wrong?
edit:
Thank You
I've got a problem shrinking the .raw disk using the ZFS as storage.
I've tried following statements without success
Code:
:/#qm resize 101 virtio0 10G
unable to skrink disk size
:/# qm resize 101 virtio0 -- -10GB
400 Parameter verification failed.
size: value does not match the regex pattern
qm resize <vmid> <disk> <size> [OPTIONS]
:/# qemu-img resize -f raw /dev/zvol/<removed>/vm-101-disk-2 -10G
Image resized.
The last command print that it succeeded, but the disk size it still same in proxmox gui.
Am I doing something wrong?
edit:
Code:
:/# pveversion -v
proxmox-ve: 4.3-66 (running kernel: 4.4.19-1-pve)
pve-manager: 4.3-1 (running version: 4.3-1/e7cdc165)
pve-kernel-4.4.19-1-pve: 4.4.19-66
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-46
qemu-server: 4.0-88
pve-firmware: 1.1-9
libpve-common-perl: 4.0-73
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-61
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6.1-6
pve-container: 1.0-75
pve-firewall: 2.0-29
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.4-1
lxcfs: 2.0.3-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
zfsutils: 0.6.5.7-pve10~bpo80
Thank You