I'm about to replace the HBA card used for my hdd_pool, so I want to temporarily move the ZVOL virtual drives of my VMs from the hdd_pool to the ssd_pool, just to be safe.
I tested with one of the smaller virtual drives that's set to look like a 32G drive to the guest OS and has 7.52G actually stored in it. Before I executed the "Move Disk" operation, the ZVOL showed in "zfs list" as 7.52G used:
But after the move completed, it shows as 32G in ssd_pool:
As you can see, the ssd_pool size shows has going from 90.6G to 123G.
However, in the Proxmox list of ZFS pools, it shows the allocation in the pool as going from 90.7G to 97.24G.
Questions:
--Dan
I tested with one of the smaller virtual drives that's set to look like a 32G drive to the guest OS and has 7.52G actually stored in it. Before I executed the "Move Disk" operation, the ZVOL showed in "zfs list" as 7.52G used:
Code:
NAME USED AVAIL REFER MOUNTPOINT
hdd_pool 286G 10.5T 112K /hdd_pool
hdd_pool/vm-100-disk-1 7.52G 10.5T 7.52G -
...
ssd_pool 90.6G 340G 104K /ssd_pool
But after the move completed, it shows as 32G in ssd_pool:
NAME USED AVAIL REFER MOUNTPOINT
hdd_pool 278G 10.5T 112K /hdd_pool
...
ssd_pool 123G 307G 104K /ssd_pool
ssd_pool/vm-100-disk-1 32.1G 307G 32.1G -
As you can see, the ssd_pool size shows has going from 90.6G to 123G.
However, in the Proxmox list of ZFS pools, it shows the allocation in the pool as going from 90.7G to 97.24G.
Questions:
- Why am I seeing this discrepancy?
- Why didn't the Proxmox Move Disk operation only copy the allocated contents of the ZVOL rather than the entire size of the ZVOL?
- Most importantly, what is a better way to move a ZVOL (with only its allocated contents) from one pool to another?
--Dan
Last edited: