Re: [ceph-users] A confuse of using rbd image disk with kvm

2014-01-10 Thread lyz_pro
users] A confuse of using rbd image disk with kvm Hi Ceph uses thin-provisioning so it will not allocate the full block device when you create it with qemu-img. When you write to the data it then allocates the block devices. However, you can enable TRIM/DISCARD in the VM as per the documentation

Re: [ceph-users] A confuse of using rbd image disk with kvm

2014-01-10 Thread Bradley Kite
Hi Ceph uses thin-provisioning so it will not allocate the full block device when you create it with qemu-img. When you write to the data it then allocates the block devices. However, you can enable TRIM/DISCARD in the VM as per the documentation here: http://ceph.com/docs/next/rbd/qemu-rbd/ - t