Hi Anthony,
Previously, you had a volume which was pure replicate and it had the servers
Volume Name: venus
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: ylal3020:/soft/venus
Brick2: ylal3030:/soft/venus
and then you created another distributed-replicate volume which used the
bricks of previous volume as part of the new volume
Volume Name: venus
Type: Distributed-Replicate
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: ylal3020:/soft/venus
Brick2: ylal3030:/soft/venus
Brick3: yval1000:/soft/venus
Brick4: yval1010:/soft/venus
So, what I suspect is the extended attributes were carried forward as part
of the of the new volume. So, when a file is created in the new volume, for
quota it will the extended attribute value + the new file size. If this is
true in your case, then please use fresh backend directories(newly created
directories) and kindly report if you see the same behavior.
Junaid
On Mon, Sep 5, 2011 at 11:45 PM, Mohammed Junaid <junaid at gluster.com>
wrote:
> Hi Anthony,
>
> Are you reachable on #gluster irc, it will be easy to debug this issue on
> irc. I will be available at gluster irc after 11am IST. I will reply to
your
> mail but it will speedup the debug process if you are on irc.
>
> Junaid
>
>
> On Mon, Sep 5, 2011 at 8:03 PM, anthony garnier <sokar6012 at
hotmail.com>wrote:
>
>> Hi Junaid,
>>
>> Sorry about the confusion, indeed I gave you the wrong output. So
let's
>> start to the beginning. I disabled quota and I reactivated it
>>
>> My configuration :
>>
>> Volume Name: venus
>> Type: Distributed-Replicate
>> Status: Started
>> Number of Bricks: 2 x 2 = 4
>> Transport-type: tcp
>> Bricks:
>> Brick1: ylal3020:/soft/venus
>> Brick2: ylal3030:/soft/venus
>> Brick3: yval1000:/soft/venus
>> Brick4: yval1010:/soft/venus
>> Options Reconfigured:
>> nfs.port: 2049
>> performance.cache-refresh-timeout: 60
>> performance.cache-size: 1GB
>> network.ping-timeout: 10
>> features.quota: on
>> features.limit-usage: /test:100MB,/psa:200MB,/:7GB,/soft:5GB
>> features.quota-timeout: 120
>>
>> Size of each folder from the mount point :
>> /test : 4.1MB <http://RteFrame_16.0.1823.0824.html?dl=dl#>
>> /psa : 160MB
>> /soft : 1.2GB
>> Total size 1.4GB
>> (If you want the complete output of du, don't hesitate)
>>
>>
>> gluster volume quota venus list
>> path limit_set size
>>
>>
----------------------------------------------------------------------------------
>> /psa 200MB 167.0MB <=OK
>> /soft 5GB 4.7GB <=
NO OK
>> /test 100MB 4.0MB <= OK
>> / 7GB 5.2GB <=
NO OK
>>
>> Is seems this is 4 time the original size for / and /soft
>>
>>
>> Getfattr for the four nodes :
>>
>> ylal3020:/etc/ucarp/interface # getfattr -n
trusted.glusterfs.quota.size
>> -e hex /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/soft
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus
>> trusted.glusterfs.quota.size=0x00000000b3ad6c00
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/test
>> trusted.glusterfs.quota.size=0x00000000001f8000
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/psa
>> trusted.glusterfs.quota.size=0x0000000004f62c00
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/soft
>> trusted.glusterfs.quota.size=0x0000000098f4b200
>>
>> ----
>> ylal3030:/etc/ucarp/interface # getfattr -n
trusted.glusterfs.quota.size
>> -e hex /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/soft
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus
>> trusted.glusterfs.quota.size=0x00000000b38e1c00
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/test
>> trusted.glusterfs.quota.size=0x00000000001f8000
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/psa
>> trusted.glusterfs.quota.size=0x0000000004f62c00
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/soft
>> trusted.glusterfs.quota.size=0x0000000098b5e200
>>
>> ----
>> yval1000:/soft/venus # getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/soft
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus
>> trusted.glusterfs.quota.size=0x0000000098a8ac00
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/test
>> trusted.glusterfs.quota.size=0x0000000000210000
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/psa
>> trusted.glusterfs.quota.size=0x000000000579e000
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/soft
>> trusted.glusterfs.quota.size=0x00000000930dcc00
>>
>> ----
>> yval1010:/soft/venus # getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex
>> /soft/venus/soft
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus
>> trusted.glusterfs.quota.size=0x0000000098a2ac00
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/test
>> trusted.glusterfs.quota.size=0x0000000000210000
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/psa
>> trusted.glusterfs.quota.size=0x000000000579e000
>>
>> getfattr: Removing leading '/' from absolute path names
>> # file: soft/venus/soft
>> trusted.glusterfs.quota.size=0x000000009307cc00
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110906/921dde1b/attachment.html>