NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
937carrera
Mar 03, 2017Aspirant
Rsync, hanging, OS 6,
I have a couple of old Sparc Duos that I am wanting to transfer the data to my new(to me) RN104. One of them has 0.2TB, the other 1.8TB data. I have previously transferred about 80% of the data from ...
Sandshark
Mar 04, 2017Sensei
The folder timestamps don't really make a difference. Rsync uses the file size and "modified" timestamp to determine if there is a newer file.
I don't think you realize that most of the OS, including rsync, is just Linux, not something Netgear invented, though they have chosen the default options for rsync and given us very little control. From what I can tell those options are -v -8 --timeout=1800 --recursive --links --times --omit-dir-times --devices --specials --one-file-system --modify-window=1 --delete --owner --group --acls --exclude [name of any excluded file here] for an incremental backup with files deleted on target that are deleted on source and one or more files excluded. From your observation, --omit-dir-times must be specified in OS6.x and not OS4.x (why, I have no idea). I never noticed how it behaved regarding directory timestamps when I was still using an OS 4.x device.
If you have SSH enabled, you can use top to see if rsync really is still running and what percentage of CPU it is taking. You may need to add a filter by pressing O, then typing COMMAND=rsync to only show the rsync process(es). If it's using a small amount of CPU time, it's probably going through files it does not need to update. If it's a large percentage, it's probably copying a file. If it's not really running, then something's amiss and you should stop it in Frontview. I do see the CPU time sit at zero for a while when it's running, even when very little else is taking any time, so you have to watch it a while to see that it really is running. I don't quite understand why, but surely it is one of the things that makes an rsync backup take so long.
I would love to have more control over rsync. An RSync Plus app would be one way if they don't want all of the options confusing those who would never use them.
937carrera
Mar 05, 2017Aspirant
Thanks Sandshark, that makes a lot of sense.
I haven't set SSH up yet so will go away to do that and learn about the top command you mention.
I'll come back with more information after that, but on the basis the HDD lights are still flashing on both drives I'm assuming that the backup job has not yet completed the file comparison process.
I like using rsync, but the job has been running for 96 hours now. There's only 1.6TB data in 5951 files in 1550 folders. That seems quite a bit slower than I remember on the sparc boxes when I thought using the RN104 with the faster processor would run quicker
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!