I am having an issue with Gluster quotas. User is set to to 200GB and he is using about 57 GB on mounted file system, Gluster says he is using 180 GB, gluster volume quota home list /user shows he is using 180 GB Is this a bug is this looking at the replicas? Here is the volume info Volume Name: home Type: Distributed-Replicate Volume ID: 9e0ffc91-9d46-477a-b8eb-dfd3b7d65765 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: gluster1:/export/cluster1 Brick2: gluster2:/export/cluster1 Brick3: gluster3:/export/cluster1 Brick4: gluster4:/export/cluster1 Options Reconfigured: -- Barry Stetler HIVELOCITY | Devops and Operations Leader 888-869-4678 ext. 224 | Hivelocity.net <http://hivelocity.net> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140407/0bec4b0a/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: sig.png Type: image/png Size: 208 bytes Desc: not available URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140407/0bec4b0a/attachment.png>
Are these sparse files? Check to see what the file allocation is vs what the actual size is: ~# ls -lsah -Dave On Mon, Apr 7, 2014 at 8:53 AM, Barry Stetler <barry at hivelocity.net> wrote:> I am having an issue with Gluster quotas. User is set to to 200GB and he > is using about 57 GB on mounted file system, Gluster says he is using 180 > GB, > > gluster volume quota home list /user > > shows he is using 180 GB > > Is this a bug is this looking at the replicas? > > Here is the volume info > > Volume Name: home > Type: Distributed-Replicate > Volume ID: 9e0ffc91-9d46-477a-b8eb-dfd3b7d65765 > Status: Started > Number of Bricks: 2 x 2 = 4 > Transport-type: tcp > Bricks: > Brick1: gluster1:/export/cluster1 > Brick2: gluster2:/export/cluster1 > Brick3: gluster3:/export/cluster1 > Brick4: gluster4:/export/cluster1 > Options Reconfigured: > > > -- > Barry Stetler HIVELOCITY | Devops and Operations Leader 888-869-4678 > ext. 224 | Hivelocity.net <http://hivelocity.net> > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140407/98a0d2c5/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: sig.png Type: image/png Size: 208 bytes Desc: not available URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140407/98a0d2c5/attachment.png>
Can you please provide these info? - gluster --version - getfattr -d -m . -e hex <quota-limit-directories-in-the-backend> - logs Thanks Varun Shastry On Monday 07 April 2014 06:23 PM, Barry Stetler wrote:> I am having an issue with Gluster quotas. User is set to to 200GB and > he is using about 57 GB on mounted file system, Gluster says he is > using 180 GB, > > gluster volume quota home list /user > > shows he is using 180 GB > > Is this a bug is this looking at the replicas? > > Here is the volume info > > Volume Name: home > Type: Distributed-Replicate > Volume ID: 9e0ffc91-9d46-477a-b8eb-dfd3b7d65765 > Status: Started > Number of Bricks: 2 x 2 = 4 > Transport-type: tcp > Bricks: > Brick1: gluster1:/export/cluster1 > Brick2: gluster2:/export/cluster1 > Brick3: gluster3:/export/cluster1 > Brick4: gluster4:/export/cluster1 > Options Reconfigured: > > > -- > Barry Stetler > HIVELOCITY | Devops and Operations Leader > 888-869-4678 ext. 224 | Hivelocity.net <http://hivelocity.net> > > > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140407/d3939981/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 208 bytes Desc: not available URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140407/d3939981/attachment.png>