Re: Disk usage incorrectly reported by du

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



On 03/19/2014 01:37 PM, John R Pierce wrote:
> On 3/19/2014 6:36 AM, Radu Radutiu wrote:
>> I'll modify my rsync command to preserve hard links.
>
> note that on a large file system with a large number of files, thats
> VERY expensive, as rsync has to keep a list of every inode number on the
> whole file system and verify each directory entry isn't pointing to an
> inode its already linked.  if there's a few million files, this data
> structure gets HUGE in memory.

I would hope that rsync is clever enough to do this only for non-directory
files with a link count greater than 1.  Yes, for some backup archives
that still could be the vast majority of the files.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux