[PVE-User] Moving thin Provisioned disks to ZFS converts them toFat Disks
lindsay.mathieson at gmail.com
Fri Aug 21 04:55:34 CEST 2015
Ok as a test, I setup the following:
Created 3 10G disks on:
1. zfs storage
2. nfs storage
3. local storage
All disks are empty, never used by the VM.
I then moved the nfs and local disks to zfs. A "zfs get
reservation,volsize,usedbydataset zfs_vm/vm-301-disk-x" showed the
zfs_vm/vm-301-disk-1 reservation none default
zfs_vm/vm-301-disk-1 volsize 10G local
zfs_vm/vm-301-disk-1 usedbydataset 8K -
zfs_vm/vm-301-disk-2 reservation none default
zfs_vm/vm-301-disk-2 volsize 10G local
zfs_vm/vm-301-disk-2 usedbydataset 10.0G -
zfs_vm/vm-301-disk-4 reservation none default
zfs_vm/vm-301-disk-4 volsize 10G local
zfs_vm/vm-301-disk-4 usedbydataset 10.0G -
All the disks are thin provisioned (reservation=none), but 2 & 3 have been
filled with zero's to their capacity, something to do with the transfer
process I imagine.
I'll raise a bug for this.
On 21 August 2015 at 08:28, Michael Rasmussen <mir at miras.org> wrote:
> On Fri, 21 Aug 2015 08:07:08 +1000
> Lindsay Mathieson <lindsay.mathieson at gmail.com> wrote:
> > Quick clarifications - by:the following:
> > *Have you tried using scsi for controller and virtio-scsi for*
> > *implementation?*
> > Did you mean setting "SCSI Controller type" in "Options to VIRTIO and the
> > "Bus Type" for the disk to "SCSI"?
> > Re the results - it made no difference for me, still fat
> populated.(using a
> > test empty disk).
> Could it be a result of the chosen filesystem in the client?
> What filesystem is used in the client?
> > However - did you try this with compression set to "off"? because to me
> > from your results it looks like what your seeing is the effects of disk
> > compression, not thin provisioning.
> It couldn't be compression because when I moved the disk to a raw image
> on NFS the actual size of the image was reported by qemu-img info to be
> almost the same size as what was reported from zfs get written (11GB
> compared tom 12,4GB).
> Michael Rasmussen
> Get my public GnuPG keys:
> michael <at> rasmussen <dot> cc
> mir <at> datanom <dot> net
> mir <at> miras <dot> org
> /usr/games/fortune -es says:
> We gotta get out of this place,
> If it's the last thing we ever do.
> -- The Animals
> pve-user mailing list
> pve-user at pve.proxmox.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pve-user