[Gluster-users] Quota calculation

Mohammed Junaid junaid at gluster.com
Tue Sep 6 15:59:22 UTC 2011


Can you provide the output of du -h? Also kindly provide the steps to
reproduce it.


Junaid

On Tue, Sep 6, 2011 at 7:15 PM, anthony garnier <sokar6012 at hotmail.com>wrote:

>  Junaid,
>
> I deleted the bakend and the volume and created a new volume with a new
> backend. I ran a ls -lRa but quota still display wrong values.
>
>
> Volume Name: venus
> Type: Distributed-Replicate
> Status: Started
> Number of Bricks: 2 x 2 = 4
> Transport-type: tcp
> Bricks:
> Brick1: ylal3020:/soft/export
> Brick2: ylal3030:/soft/export
> Brick3: yval1000:/soft/export
> Brick4: yval1010:/soft/export
>
> Options Reconfigured:
> nfs.port: 2049
> network.ping-timeout: 10
> performance.cache-refresh-timeout: 10
> performance.cache-size: 512MB
> features.quota: on
> features.limit-usage: /psa:200MB,/soft:5GB,/test:100MB,/:7GB
>
>
> # gluster volume quota venus list
>     path          limit_set         size
>
> ----------------------------------------------------------------------------------
> /psa                      200MB                2.0MB
> /soft                       5GB              209.4MB
> /test                     100MB                4.0MB
> /                           7GB              215.4MB
>
>
>  ylal3020
>  # getfattr -n trusted.glusterfs.quota.size -e hex /soft/export ; getfattr
> -n trusted.glusterfs.quota.size -e hex /soft/export/test ; getfattr -n
> trusted.glusterfs.quota.size -e hex /soft/export/psa;getfattr -n
> trusted.glusterfs.quota.size -e hex /soft/export/soft
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export
> trusted.glusterfs.quota.size=0x000000000d50fe00
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/test
>
> trusted.glusterfs.quota.size=0x00000000001f8000
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/psa
> trusted.glusterfs.quota.size=0x00000000001b5000
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/soft
> trusted.glusterfs.quota.size=0x000000000d162e00
> ---
>
> ylal3030 #
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export
> trusted.glusterfs.quota.size=0x000000000d50fe00
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/test
>
> trusted.glusterfs.quota.size=0x00000000001f8000
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/psa
> trusted.glusterfs.quota.size=0x00000000001b5000
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/soft
> trusted.glusterfs.quota.size=0x000000000d162e00
> ----
>
> yval1000#
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export
> trusted.glusterfs.quota.size=0x0000000000263000
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/test
>
> trusted.glusterfs.quota.size=0x0000000000210000
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/psa
> trusted.glusterfs.quota.size=0x0000000000053000
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/soft
> trusted.glusterfs.quota.size=0x0000000000000000
>
> -----
> yval1010 #
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export
> trusted.glusterfs.quota.size=0x0000000000263000
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/test
>
> trusted.glusterfs.quota.size=0x0000000000210000
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/psa
> trusted.glusterfs.quota.size=0x0000000000053000
>
>
> getfattr: Removing leading '/' from absolute path names
> # file: soft/export/soft
> trusted.glusterfs.quota.size=0x0000000000000000
>
>
>
>
> ------------------------------
> From: sokar6012 at hotmail.com
> To: junaid at gluster.com
>
> CC: gluster-users at gluster.org
> Subject: RE: Quota calculation
> Date: Tue, 6 Sep 2011 07:27:56 +0000
>
>
>  Hi Junaid,
>
> Sorry I was not able to reach you on IRC, I just see your email this
> morning because of the time difference.
> I'll try to delete the volume and the backend and start from scratch. I'll
> keep you in touch.
>
> Anthony
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110906/8f89c318/attachment.html>


More information about the Gluster-users mailing list