Re: Quotas not working after adding arbiter brick to replica 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sanoj,

I copied over the quota.conf file from the affected volume (node 1) and opened it up with a hex editor but can not recognize anything really except for the first few header/version bytes. I have attached it within this mail (compressed with bzip2) as requested.

Should I recreate them manually? there where around 10 of them. Or is there a hope of recovering these quotas?

Regards,
M.



-------- Original Message --------
Subject: Re: [Gluster-users] Quotas not working after adding arbiter brick to replica 2
Local Time: August 2, 2017 1:06 PM
UTC Time: August 2, 2017 11:06 AM
From: sunnikri@xxxxxxxxxx
To: mabi <mabi@xxxxxxxxxxxxx>
Gluster Users <gluster-users@xxxxxxxxxxx>

Mabi,

We have fixed a couple of issues in the quota list path.
Could you also please attach the quota.conf file (/var/lib/glusterd/vols/patchy/quota.conf)
(Ideally, the first few bytes would be ascii characters followed by 17 bytes per directory on which quota limit is set)
Regards,
Sanoj

On Tue, Aug 1, 2017 at 1:36 PM, mabi <mabi@xxxxxxxxxxxxx> wrote:
I also just noticed quite a few of the following warning messages in the quotad.log log file:

[2017-08-01 07:59:27.834202] W [MSGID: 108027] [afr-common.c:2496:afr_discover_done] 0-myvolume-replicate-0: no read subvols for (null)




-------- Original Message --------
Subject: [Gluster-users] Quotas not working after adding arbiter brick to replica 2
Local Time: August 1, 2017 8:49 AM
UTC Time: August 1, 2017 6:49 AM
To: Gluster Users <gluster-users@xxxxxxxxxxx>

Hello,

As you might have read in my previous post on the mailing list I have added an arbiter node to my GlusterFS 3.8.11 replica 2 volume. After some healing issues and help of Ravi that could get fixed but now I just noticed that my quotas are all gone.

When I run the following command:

glusterfs volume quota myvolume list

There is no output...

In the /var/log/glusterfs/quotad.log I can see the following two lines when running the list command:

[2017-08-01 06:46:04.451765] W [dict.c:581:dict_unref] (-->/usr/lib/x86_64-linux-gnu/glusterfs/3.8.11/xlator/features/quotad.so(+0x1f3d) [0x7fe868e21f3d] -->/usr/lib/x86_64-linux-gnu/glusterfs/3.8.11/xlator/features/quotad.so(+0x2d82) [0x7fe868e22d82] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(dict_unref+0xc0) [0x7fe86f5c2b10] ) 0-dict: dict is NULL [Invalid argument]
[2017-08-01 06:46:04.459154] W [dict.c:581:dict_unref] (-->/usr/lib/x86_64-linux-gnu/glusterfs/3.8.11/xlator/features/quotad.so(+0x1f3d) [0x7fe868e21f3d] -->/usr/lib/x86_64-linux-gnu/glusterfs/3.8.11/xlator/features/quotad.so(+0x2d82) [0x7fe868e22d82] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(dict_unref+0xc0) [0x7fe86f5c2b10] ) 0-dict: dict is NULL [Invalid argument]

In case you need this info, I have added by arbiter node to the replica 2 by using this command:

gluster volume add-brick myvolume replica 3 arbiter 1 arbiternode.domain.tld:/srv/glusterfs/myvolume/brick



How can I get my quotas back working as before? I had defined around 20 quotas on different directories of that volume.

Regards,
Mabi


_______________________________________________
Gluster-users mailing list

Attachment: quota.conf.bz2
Description: application/bzip

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux