NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dcg13
Aug 27, 2018Aspirant
Cron, rsync, broken pipe, and SSH disconnecting
Hi- I'm trying to move 3TB of files from a Drobo to a ReadyNAS 214.
The Drobo is directly connected to the ReadyNAS via USB.
My approach is to SSH into the ReadyNAS then use rsync.
However, there are frequent errors in the process (see attached screenshots, please) that cause the rsync to fail, either due to broken pipe(32) or the SSH connection closing (pic).
I was thinking of making a script and placing it into cron.hourly. Would this accomplish the task?
Thanks.
5 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee Retired
You can try using things such as screen, nohup or dtach rather than running on a schedule if you prefer.
- dcg13Aspirant
Thanks for the suggestions, I will try to try those.
I wrote 'try to try' because of how frequently the SSH session closes-- I can barely "get in" before it exits. While nohup will help me to continue processes after logout, how can I resolve the SSH disconnects? I'm running
ssh -v root@10.0.1.2
- mdgm-ntgrNETGEAR Employee Retired
Not sure why the SSH connection would be disconnecting so quickly. My SSH connections I've always found to be reliable.
Related Content
NETGEAR Academy

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