Re: crazy quota numbers

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

 



Hi lejeczek,

We have seen this issue before. https://bugzilla.redhat.com/show_bug.cgi?id=1421933
The problem here is that the accounting xattr in the backend becomes FFFFF...
This happens likely due to an underflow (value goes below 0) on some operation like rm/unlink/truncate/mv. We would be adding defensive checks to prevent this, but that will not solve the accounting issue.

This is a race and we do not have a consistent reproducer for it yet. Could you describe the operations that were being done on the volume when u ran into this?

Due to the way quota works, if xattr of any directory goes wrong they get bubbled up to all its ancestors. So, it would also help if we can identify the lowest directory in the tree where the xattr has gone wrong and then try to find the operations on that particular directory.
Could you also share the xattr values on all bricks: find . | xargs getfattr -d -m. -e hex

To recover from this you could do a quota disable and enable.

Thanks and Regards,
Sanoj
_______________________________________________
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