How to mirror filesystems with millions of hardlinks?
- by Thomas Berger
We have one big problem at the moment: We need to mirror a filesystem for one of our customers. Thats usual not really a problem, but here it is:
On this filesystem there is one folder with millions of hardlinks (yes! MILLIONS!). rsync requires more then 4 days to just build the filelist.
We use the following rsync options:
rsync -Havz --progress serverA:/data/cms /data/
Has anyone a idea how to speed up this rsync, or use alternatives? We could not use dd as the target disk is smaller then the source.