[Gluster-users] Quota limits gone after upgrading to 3.8

mabi mabi at protonmail.ch
Tue May 9 17:29:50 UTC 2017


Hi Sanoj,

Thanks for pointing me at this bug, I was not aware about it.

As this is a production GlusterFS cluster I would rather not mess with the quota.conf file as you suggested. Instead I will simply re-add all my quotas by running the following command again:

gluster volume quota myvolume limit-usage /directory1 100GB

Can you confirm me that this is safe to run again?

As soon as I have a minute I will complete your survey about quotas.

Best,
M.

-------- Original Message --------
Subject: Re: [Gluster-users] Quota limits gone after upgrading to 3.8
Local Time: May 9, 2017 6:50 AM
UTC Time: May 9, 2017 4:50 AM
From: sunnikri at redhat.com
To: mabi <mabi at protonmail.ch>
Gluster Users <gluster-users at gluster.org>

Hi mabi,

This bug was fixed recently, https://bugzilla.redhat.com/show_bug.cgi?id=1414346. It would be available in 3.11 release. I will plan to back port same to earlier releases.

Your quota limits are still set and honored, It is only the listing that has gone wrong. Using list with command with single path should display the limit on that path. The printing of list gets messed up when the last gfid in the quota.conf file is not present in the FS (due to an rmdir without a remove limit)

You could use the following workaround to get rid of the issue.
=> Remove exactly the last 17 bytes of " /var/lib/glusterd/vols/<volname>/quota.conf"

Note: keep a backup of quota.conf for safety
If this does not solve the issue, please revert back with
1) quota.conf file
2) output of list command (when executed along with path)

3) getfattr -d -m . -e hex <path_on_brick _where_limit_is_set> | grep limit
It would be great to have your feedback for quota on this thread (http://lists.gluster.org/pipermail/gluster-users/2017-April/030676.html)

Thanks & Regards,
Sanoj

On Mon, May 8, 2017 at 7:58 PM, mabi <mabi at protonmail.ch> wrote:
Hello,

I upgraded last week my 2 nodes replica GlusterFS cluster from 3.7.20 to 3.8.11 and on one of the volumes I use the quota feature of GlusterFS. Unfortunately, I just noticed by using the usual command "gluster volume quota myvolume list" that all my quotas on that volume are gone. I had around 10 different quotas set on different directories.

Does anyone have an idea where the quotas have vanished? are they gone for always and do I need to re-set them all?

Regards,
M.

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170509/790a846a/attachment.html>


More information about the Gluster-users mailing list