Rsync error between two NAS devices

R

ruppelju

Guest
Hi All,
I'm fairly new to linux and I'm encountering a problem that I can't seem to figure out. I've tried some of the solutions I've seen on the forums with no success.

Here's my situation: I'm trying to backup all my data from one NAS hard drive to another (they are both Dlink DNS storage devices). I'm trying to use Rsync . . .when I run my code it starts transferring files, but after a little while (usually between 10 -15min) it stops and gives me the following error message:

Code:

rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]:
Broken pipe (32)
rsync: connection unexpectedly closed (265874 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at
io.c(601) [sender=3.0.7]

This is the code I am trying to use (I've used ##'s for the passwords and ip addresses):


mount -t cifs -o username=###,password=### //192.168.##.###/Volume_1 /mnt/backup1/
mount -t cifs -o username=###,password=### //192.168.##.###/Volume_1 /mnt/backup2/
rsync -rltDz --exclude=.recycle --exclude=.DS_Store /mnt/backup1/ /mnt/backup2/



Any ideas? Thanks very much in advance.
 


Doing a little trouble shooting, I've found that I see the following error message showing up a lot in the file /var/log/Messages: "CIFS VFSL No response to cmd 46 . . ."
I've done a bit of searching and haven't been able to figure out what this means. Thanks! Any help is greatly appreciated . . .
 
This is a fairly old thread but we've seen these types of issues before with rsync. It's usually a firewall or IPS device in the middle that's blocking the traffic. Check your firewalls, IPS and all gateway devices in between to ensure they're not blocking.
 
Can you ssh to both of the NAS systems? Why not just use rsync to copy from the one to the other? There's no need to mount them. My employer (until yesterday) did this to handle backups of the servers.
 

Members online


Latest posts

Top