Re: [ceph-users] RBD hole punching

2013-08-22 Thread Michael Lowe
I use the virtio-scsi driver. On Aug 22, 2013, at 12:05 PM, David Blundell wrote: >> I see yet another caveat: According to that documentation, it only works with >> the IDE driver, not with virtio. >> >>Guido > > I've just been looking into this but have not yet tested. It looks like >

Re: [ceph-users] RBD hole punching

2013-08-22 Thread David Blundell
> I see yet another caveat: According to that documentation, it only works with > the IDE driver, not with virtio. > > Guido I've just been looking into this but have not yet tested. It looks like discard is supported in the newer virtio-scsi devices but not virtio-blk. This Sheepdog pag

Re: [ceph-users] RBD hole punching

2013-08-22 Thread Guido Winkelmann
Am Donnerstag, 22. August 2013, 10:32:30 schrieb Mike Lowe: > There is TRIM/discard support and I use it with some success. There are some > details here http://ceph.com/docs/master/rbd/qemu-rbd/ The one caveat I > have is that I've sometimes been able to crash an osd by doing fstrim > inside a gu

Re: [ceph-users] RBD hole punching

2013-08-22 Thread Mike Lowe
There is TRIM/discard support and I use it with some success. There are some details here http://ceph.com/docs/master/rbd/qemu-rbd/ The one caveat I have is that I've sometimes been able to crash an osd by doing fstrim inside a guest. On Aug 22, 2013, at 10:24 AM, Guido Winkelmann wrote: > H

[ceph-users] RBD hole punching

2013-08-22 Thread Guido Winkelmann
Hi, RBD has had support for sparse allocation for some time now. However, when using an RBD volume as a virtual disk for a virtual machine, the RBD volume will inevitably grow until it reaches its actual nominal size, even if the filesystem in the guest machine never reaches full utilization.