richardgaywood
Cadet
- Joined
- Jul 15, 2018
- Messages
- 4
Hi forum. Long time listener, first time caller.
I am setting up a brand new FreeNAS 11.1 box and migrating all data and jails from my ageing 9.3 install. I couldn't do zfs snapshot transfer (apparently I needed 9.10 or later on the older server, I'm not sure why) so I switched on rsyncd on the new server and set up an rsync task on the old one to push my data over.
The task is set up with the following options ticked: recursive, preserve permissions, delay updates. It uses the rsync module with a module name that exists on the newer server. It sends stuff over as root.
At first, it seemed to work: stuff started copying. I gave it a couple of days to think about it. That's when things went a bit weird:
I am setting up a brand new FreeNAS 11.1 box and migrating all data and jails from my ageing 9.3 install. I couldn't do zfs snapshot transfer (apparently I needed 9.10 or later on the older server, I'm not sure why) so I switched on rsyncd on the new server and set up an rsync task on the old one to push my data over.
The task is set up with the following options ticked: recursive, preserve permissions, delay updates. It uses the rsync module with a module name that exists on the newer server. It sends stuff over as root.
At first, it seemed to work: stuff started copying. I gave it a couple of days to think about it. That's when things went a bit weird:
- The old server has ~4 TB on it. When I checked, the new drive had ~8 TB of data! On closer inspection, this is because there's dupes of almost all the files in .~tmp~ directories. This is presumably linked to the "delay updates" setting in the rsync task.
- If I look around the new server's filesystem, the transfer looks about complete. I can see lots of files that should be there. But there could be some missing, of course.
- If I do a manual rsync command line from the old server to the new (using ssh for transport), it still starts copying files, even if they appear to be present on the new server. I did .Code:
rsync -arvz --progress
- If I do md5sums on the old and new files, they have the same signatures on both servers. Yet rsync insists on pushing fresh copies.