Brilliant, thanks! That'll do for now. Not something we can do real time given the speed, but certainly enough to get by on for generating reports.
Cheers,
On 17 October 2013 08:41, Josh Durgin <josh.durgin@xxxxxxxxxxx> wrote:
On 10/15/2013 08:56 PM, Blair Bethwaite wrote:
<mailto:mark.kirkwood@catalyst.net.nz>>
> To: Wido den Hollander <wido@xxxxxxxx <mailto:wido@xxxxxxxx>>,
ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxx.com> <mailto:525E02C9.9050904@catalyst.net.nz>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 16/10/13 15:53, Wido den Hollander wrote:
> > On 10/16/2013 03:15 AM, Blair Bethwaite wrote:
> >> I.e., can we see what the actual allocated/touched size of an RBD
is in
> >> relation to its provisioned size?
> >>
> >
> > No, not an easy way. The only way would be to probe which RADOS
> > objects exist, but that's a heavy operation you don't want to do with
> > large images or with a large number of RBD images.
> >
>
> So maybe a 'df' arg for rbd would be a nice addition to blueprints?
Yes, I think so. It does seem a little conflicting to promote Ceph as
doing thin-provisioned volumes, but then not actually be able to
interrogate their real usage against the provisioned size. As a cloud
admin using Ceph as my block-storage layer I really want to be able to
look at several metrics in relation to volumes and tenants:
total GB quota, GB provisioned (i.e., total size of volumes&snaps), GB
allocated
When users come crying for more quota I need to whether they're making
efficient use of what they've got.
This actually leads into more of a conversation around the quota model
of dishing out storage. IMHO it would be much more preferable to do
things in a more EBS oriented fashion, where we're able to see actual
usage in the backend. Especially true with snapshots - users are
typically dismayed that their snapshots count towards their quota for
the full size of the originally provisioned volume (despite the fact the
snapshot could usually be truncated/shrunk by a factor of two or more).
You can see the space written in the image and between snapshots (not
including fs overhead on the osds) since cuttlefish:
http://permalink.gmane.org/gmane.comp.file-systems.ceph.user/3684
It'd be nice to wrap that in a df or similar command though.
Cheers,
~Blairo
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com