On 01/12/2016 10:34 PM, Wido den Hollander wrote:
On 01/13/2016 07:27 AM, wd_hw...@wistron.com wrote:
Thanks Wido.
So it seems there is no way to do this under Hammer.


Not very easily no. You'd have to count and stat all objects for a RBD
image to figure this out.

For hammer you'd need another loop and sum around this:
http://permalink.gmane.org/gmane.comp.file-systems.ceph.user/3684

Josh

WD

-----Original Message-----
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Wido 
den Hollander
Sent: Wednesday, January 13, 2016 2:19 PM
To: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] How to check the block device space usage

On 01/13/2016 06:48 AM, wd_hw...@wistron.com wrote:
Hi,

   Is there any way to check the block device space usage under the
specified pool? I need to know the capacity usage. If the block device
is used over 80%, I will send an alert to user.


This can be done in Infernalis / Jewel, but it requires new RBD features.

It needs the fast-diffv2 feature iirc.



   Thanks a lot!



Best Regards,

WD



*---------------------------------------------------------------------
----------------------------------------------------------------------
--------------------*

*This email contains confidential or legally privileged information
and is for the sole use of its intended recipient. *

*Any unauthorized review, use, copying or distribution of this email
or the content of this email is strictly prohibited.*

*If you are not the intended recipient, you may reply to the sender
and should delete this e-mail immediately.*

*---------------------------------------------------------------------
----------------------------------------------------------------------
--------------------*



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



--
Wido den Hollander
42on B.V.
Ceph trainer and consultant

Phone: +31 (0)20 700 9902
Skype: contact42on
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




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

Reply via email to