>From glusterfs list. Can you please check this and give me a feedback?

"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";


Am 14.11.2018 um 12:09 schrieb Dean Hamstead:
> 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?
>>

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
        patr...@linux-dev.org
*/

Reply via email to