NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Siyfion
Sep 19, 2013Aspirant
Rsync just hangs..
So I have three shares on a ReadyNAS 3200 that I'd like to sync with a ReadyNAS Pro 4 which is used as an in-house backup, before the data is eventually backed up onto external HDDs and removed off-si...
AlexPe
Oct 26, 2013NETGEAR Expert
Some questions,
1. What are you rsyncing source and destination?
2. Are you able to rsync to the 3200 as the destination vice versa?
3. Are you initiating this job from the GUI or command line?
1. What are you rsyncing source and destination?
2. Are you able to rsync to the 3200 as the destination vice versa?
3. Are you initiating this job from the GUI or command line?
- 8ohmhJan 03, 2020Guide
Holger Ohmacht aka h8ohmh / 8ohmh:
The problem lies in the filesystem buffer / usage of the interworking of harddisk/hw so far as I could investigate.
Temporal solution for local drives (eg. USB3<->HD) : A script which is polling the changing disk space. If no changing free disk space then rsync is stalled and have to be restarted
cmd="rsync -aW --progress --stats --preallocate --super <here your source dir> <here your dest dir>" eval "$cmd" & rm ./ndf.txt rm ./odf.txt while [[ 0 == 0 ]]; do df > ./ndf.txt cmp ./odf.txt ./ndf.txt res="$?" echo "$res" if [[ $res == 0 ]]; then echo "#################################################" ls -al "./ndf.txt" ls -al "./odf.txt" killall rsync eval "$cmd" & else cp ./ndf.txt ./odf.txt fi sleep 60 done
`
Change `<source dir>` etc to your paths!In my case it is always stalling after some few 100's files by usage of rsync's --preallocate option files (normally because of better disk performance and rescueing continuous blocks), so as long as the disk and filesystem drivers not reworked there just this solution
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!