Discard works with virtio-scsi controllers for disks in QEMU.
Just use discard=unmap in the disk section (scsi disk).


> On 12 Dec 2014, at 13:17, Max Power <[email protected]> 
> wrote:
> 
>> Wido den Hollander <[email protected]> hat am 12. Dezember 2014 um 12:53
>> geschrieben:
>> It depends. Kernel RBD does not support discard/trim yet. Qemu does
>> under certain situations and with special configuration.
> 
> Ah, Thank you. So this is my problem. I use rbd with the kernel modules. I 
> think
> I should port my fileserver to qemu/kvm environment then and hope that it is
> safe to have a big qemu-partition with around 10 TB.
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Cheers.
––––
Sébastien Han
Cloud Architect

"Always give 100%. Unless you're giving blood."

Phone: +33 (0)1 49 70 99 72
Mail: [email protected]
Address : 11 bis, rue Roquépine - 75008 Paris
Web : www.enovance.com - Twitter : @enovance

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to