[Gluster-users] Features - Object Count

Sachin Pandit spandit at redhat.com
Fri May 29 09:35:54 UTC 2015


----- Original Message -----
> From: "aasenov1989" <aasenov1989 at gmail.com>
> To: "Humble Devassy Chirammal" <humble.devassy at gmail.com>
> Cc: "Gluster-users at gluster.org List" <gluster-users at gluster.org>
> Sent: Friday, May 29, 2015 12:22:43 AM
> Subject: Re: [Gluster-users] Features - Object Count
> 
> Thanks Humble,
> But as far as I understand the object count is connected with the quotas set
> per folders. What I want is to get number of files I have in entire volume -
> even when volume is distributed across multiple computers. I think the
> purpose of this feature:
> http://gluster.readthedocs.org/en/latest/Feature%20Planning/GlusterFS%203.7/Object%20Count/

Hi,

You are absolutely correct. You can retrieve number of files in the entire
volume if you have the "limit-objects" set on the root. If "limit-objects"
is set on the directory present in a mount point then it will only show
the number of files and directories of that particular directory.

In your case, if you want to retrieve number of files and directories
present in the entire volume then you might have to set the object limit
on the root.


Thanks,
Sachin Pandit.


> is to provide such functionality. Am I right or there is no way to retrieve
> number of files for entire volume?
> 
> Regards,
> Asen Asenov
> 
> On Thu, May 28, 2015 at 8:09 PM, Humble Devassy Chirammal <
> humble.devassy at gmail.com > wrote:
> 
> 
> 
> Hi Asen,
> 
> https://gluster.readthedocs.org/en/latest/Features/quota-object-count/ , hope
> this helps.
> 
> --Humble
> 
> 
> On Thu, May 28, 2015 at 8:38 PM, aasenov1989 < aasenov1989 at gmail.com > wrote:
> 
> 
> 
> Hi,
> I wanted to ask how to use this feature in gluster 3.7.0, as I was unable to
> find anything. How can I retrieve number of objects in volume and number of
> objects in particular brick?
> 
> Thanks in advance.
> 
> Regards,
> Asen Asenov
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
> 
> 
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users


More information about the Gluster-users mailing list