Re: [CentOS] hardlinks

2020-07-17 Thread Alessandro Baggi
Hi Martin, thank you very much for your explanation. +1 Il Ven 17 Lug 2020, 12:14 J Martin Rushton via CentOS ha scritto: > On 17/07/2020 10:30, Alessandro Baggi wrote: > > > > Il 17/07/20 10:54, Karl Vogel ha scritto: > >> It depends on the size of the variables in the structure used by the >

Re: [CentOS] hardlinks

2020-07-17 Thread J Martin Rushton via CentOS
On 17/07/2020 10:30, Alessandro Baggi wrote: Il 17/07/20 10:54, Karl Vogel ha scritto: It depends on the size of the variables in the structure used by the stat() call.  In ext4, the "links" variable is an unsigned 16-bit integer, so you have your limit of 64k or so.  I've worked with systems

Re: [CentOS] hardlinks

2020-07-17 Thread Alessandro Baggi
Il 17/07/20 10:54, Karl Vogel ha scritto: It depends on the size of the variables in the structure used by the stat() call. In ext4, the "links" variable is an unsigned 16-bit integer, so you have your limit of 64k or so. I've worked with systems where the limit was a signed 16-bit integer, s

[CentOS] [OT] What is the max hardlink number for a single file on XFS

2020-07-17 Thread Alessandro Baggi
Hi list, I have a little script that uses rysnc and hardlink to perform backups. Some days ago a friend told me that rsync could crash if the hardlink limit is reached. I know (and tested) that for ext4 the max number of hardlink for a single file is 65000 but I can't get a limit on XFS. Due