Re: Ceph Block device and Trim/Discard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Discard is supported in kernel 3.18 rc1 or greater as per https://lkml.org/lkml/2014/10/14/450


> -----Original Message-----
> From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of
> Robert Sander
> Sent: Friday, December 12, 2014 7:01 AM
> To: ceph-users@xxxxxxxxxxxxxx
> Subject: Re:  Ceph Block device and Trim/Discard
> 
> On 12.12.2014 12:48, Max Power wrote:
> 
> > It would be great to shrink the used space. Is there a way to achieve
> > this? Or have I done something wrong? In a professional environment
> > you may can live with filesystems that only grow. But on my small
> > home-cluster this really is a problem.
> 
> As Wido already mentioned the kernel RBD does not support discard.
> 
> When using qemu+rbd you cannot use the virto driver as this also does not
> support discard. My best experience is with the virtual SATA driver and the
> options cache=writeback and discard=on.
> 
> Regards
> --
> Robert Sander
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
> 
> http://www.heinlein-support.de
> 
> Tel: 030 / 405051-43
> Fax: 030 / 405051-19
> 
> Zwangsangaben lt. §35a GmbHG:
> HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
> Geschäftsführer: Peer Heinlein -- Sitz: Berlin

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux