Hi all,
I came across the situation that VM disk resizing on the fly on Proxmox is not working.
1.) Proxmox is running on ZFS.
2.) VM disks are created as zfs volume.
As soon i increase either via GUI or via qm command the new size of the disk, it will be not recognized inside the vm.
For example, vm disk size is 18G and if i increase the disk size by +2G, i can see the correct size on the proxmox.
But when i check the size on vm itself with fdisk, the new size is not applied, which i could then expand.
Could that be, that i need to activate something on zfs level on proxmox?
Thanks
PS: on PVE with ext4 fs online resizing works fine
I came across the situation that VM disk resizing on the fly on Proxmox is not working.
Bash:
# pveversion
pve-manager/7.2-11/b76d3178 (running kernel: 5.15.53-1-pve)
1.) Proxmox is running on ZFS.
2.) VM disks are created as zfs volume.
As soon i increase either via GUI or via qm command the new size of the disk, it will be not recognized inside the vm.
For example, vm disk size is 18G and if i increase the disk size by +2G, i can see the correct size on the proxmox.
Bash:
# zfs get volsize rpool/data/vm-102-disk-0
NAME PROPERTY VALUE SOURCE
rpool/data/vm-102-disk-0 volsize 20G local
But when i check the size on vm itself with fdisk, the new size is not applied, which i could then expand.
Bash:
# fdisk -l /dev/sda
Disk /dev/sda: 18 GiB, 19327352832 bytes, 37748736 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6c9d0a72
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 20971519 20969472 10G 83 Linux
Could that be, that i need to activate something on zfs level on proxmox?
Thanks
PS: on PVE with ext4 fs online resizing works fine
Last edited: