[Gluster-Maintainers] Fwd: Bug#913677: glusterfs-client: Hard link limit?
Shyam Ranganathan
srangana at redhat.com
Wed Nov 14 20:41:04 UTC 2018
Are they hitting the setting introduced in 4.0 that limits the # of
hardlinks per file? [1]
To check if that is true, the brick logs should contain the log message
[2] when they hit this option induced limit. Also, inspection of "Links"
output for the file in question would help determine how many links it
already has.
If it is local-FS specific, they may hit this message instead [3].
Although, it could be an incarnation of the extended attribute size that
we store hard link names for GFID backpointers as in this bug [4]. This
should not occur on XFS (which is what the user is reporting as being
used), but useful to keep in check.
Hth,
Shyam
[1] option introduced to control max hardlinks:
https://github.com/gluster/glusterfs/blob/release-4.0/doc/release-notes/4.0.0.md#5-add-option-in-posix-to-limit-hardlinks-per-inode
[2] Error message when posix xlator detects the max-hardlink is being
exceeded on the brick logs:
https://github.com/gluster/glusterfs/blob/release-4.1/xlators/storage/posix/src/posix-entry-ops.c#L1921
[3] Error message if creating the hardlink is failing on the local-FS on
the brick logs:
https://github.com/gluster/glusterfs/blob/release-4.1/xlators/storage/posix/src/posix-entry-ops.c#L1948
[4] Running out of xattr space:
https://bugzilla.redhat.com/show_bug.cgi?id=1602262#c5
On 11/14/2018 07:10 AM, Patrick Matthäi wrote:
> Hello,
>
> can anyone help with this issue here?:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913677
>
>
>
> -------- Weitergeleitete Nachricht --------
> Betreff: Bug#913677: glusterfs-client: Hard link limit?
> Weitersenden-Datum: Wed, 14 Nov 2018 11:27:02 +0000
> Weitersenden-Von: Dean Hamstead <dean at fragfest.com.au>
> Weitersenden-An: debian-bugs-dist at lists.debian.org
> Weitersenden-CC: Patrick Matthäi <pmatthaei at debian.org>
> Datum: Wed, 14 Nov 2018 22:09:12 +1100
> Von: Dean Hamstead <dean at fragfest.com.au>
> Antwort an: Dean Hamstead <dean at fragfest.com.au>, 913677 at bugs.debian.org
> An: pmatthaei at debian.org, Dean Hamstead <dean at fragfest.com.au>,
> 913677 at bugs.debian.org
>
>
>
> xfs in this case
>
> On 14/11/18 7:18 pm, Patrick Matthäi wrote:
>> Am 14.11.2018 um 01:09 schrieb Dean Hamstead:
>>> Package: glusterfs-client
>>> Version: 4.1.5-1~bpo9+1
>>> Severity: normal
>>>
>>> Dear Maintainer,
>>>
>>> I've not been able to determine if this is a fuse limit, a gluster
>>> limit, or something else entirely.
>>>
>>> Anyway, I have been rsync'ing from a $commercial NFS over to a new shiny
>>> gluster volume.
>>>
>>> However it seems there is hard link limit I have hit.
>>>
>>> From rsync:
>>>
>>> rsync: link
>>> "/opt/nximages/pi/ae/266c042d7ec532c9fb8bf9f81d1012512e86b5-26253/.full.jpg.23309"
>>> => 02/f6b1b71161fbd3900b5b04cc0eca8ba5ec5efd-26253/full.jpg failed: Too
>>> many links (31)
>>> rsync: link
>>> "/opt/nximages/pi/ae/266c042d7ec532c9fb8bf9f81d1012512e86b5-26253/.merch.jpg.23309"
>>> => 02/f6b1b71161fbd3900b5b04cc0eca8ba5ec5efd-26253/merch.jpg failed: Too
>>> many links (31)
>> Hi,
>>
>> do you use xfs or ext4 as filesystem?
>>
>
>
>
> _______________________________________________
> maintainers mailing list
> maintainers at gluster.org
> https://lists.gluster.org/mailman/listinfo/maintainers
>
More information about the maintainers
mailing list