Rsync error between two NAS devices

Discussion in 'Command Line' started by ruppelju, Apr 29, 2013.

  1. ruppelju

    ruppelju New Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    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.
  2. ruppelju

    ruppelju New Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    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 . . .
  3. ruppelju

    ruppelju New Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0

Share This Page