Re: [ceph-users] Enabling discard/trim

2014-03-04 Thread Alexandre DERUMIER
Hi, you should have -drive file=rbd:libvirt,discard=on in command line, to have discard enabled - Mail original - De: "ljm李嘉敏" À: ceph-us...@ceph.com Envoyé: Mercredi 5 Mars 2014 02:37:52 Objet: [ceph-users] Enabling discard/trim Dear all, I try to use

[ceph-users] Enabling discard/trim

2014-03-04 Thread ljm李嘉敏
Dear all, I try to use ceph block device within my VM, and configure the vm following the steps in http://ceph.com/docs/dumpling/rbd/libvirt/, eventually I can see the logical device in the VM. Then I want to enabling the discard/trim for this logical device, and add the parameter discard_gran