So in the mean time, are there any common work-arounds?

I'm assuming monitoring imageused/imagesize ratio and if its greater
than some tolerance create a new image and move file system content over
is an effective, if crude approach.  I'm not clear on how to measure the
amount of storage an image uses at the RBD level.  Probably because I
don't understand info output:

$ sudo rbd --id nova info somecontainer
rbd image 'somecontainer':
        size 1024 GB in 262144 objects
        order 22 (4096 kB objects)
        block_name_prefix: rb.0.176f3.238e1f29
        format: 1

Are there others?

I assume snapshotting images doesn't help here since RBD still wouldn't
be able to distinguish what's in use and what's not.

Thoughts?

~jpr

On 04/17/2014 01:38 AM, Wido den Hollander wrote:
> On 04/17/2014 02:39 AM, Somnath Roy wrote:
>> It seems Discard support for kernel rbd is targeted for v80..
>>
>> http://tracker.ceph.com/issues/190
>>
> 
> True, but it will obviously take time before this hits the upstream
> kernels and goes into distributions.
> 
> For RHEL 7 it might be that the krbd module from the Ceph extra repo
> might work. For Ubuntu it's waiting for newer kernels to be backported
> to the LTS releases.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to