Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] rsync issues copying between two UnRAID servers

Featured Replies

Hi, I've two UnRAID 5.04 servers and having some issues copying data from one NFS share to another using rsync, with source and destination shares on different UnRAID boxes.

 

I'm using a third box in the network to mount the source (/mnt/user/Music on vm-storage) and destination shares (/mnt/user/music on vm-storage-2) as /mnt/nfs/vm-storage/music and /mnt/nfs/vm-storage-2/music respectively. The resulting mount points are

vm-storage:/mnt/user/music on /mnt/nfs/vm-storage/music type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.2.62,mountvers=3,mountport=47886,mountproto=udp,local_lock=none,addr=192.168.2.62)
vm-storage-2:/mnt/user/Music on /mnt/nfs/vm-storage-2/music type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.2.72,mountvers=3,mountport=45960,mountproto=udp,local_lock=none,addr=192.168.2.72)

Using

rsync -avhP /mnt/nfs/vm-storage-2/music /mnt/nfs/vm-storage/music/maarten/unsorted/

starts transferring the contents as intended but after a while the transfer halts at some random file. In my last run for example this was at

music/FLAC/Nick Cave & The Bad Seeds/B-Sides & Rarities, Disc 2/Nick Cave - 15 - O'Malley's Bar, Pt. 3.flac
         33.40M 100%   51.70MB/s    0:00:00 (xfr#1864, ir-chk=1008/3126)
music/FLAC/Nick Cave & The Bad Seeds/B-Sides & Rarities, Disc 2/Nick Cave - 16 - Time Jesum Transeuntum et Non Riverentum.flac
         32.77K   0%   49.92kB/s    0:14:06

At this point it sits and doesn't move. If I send a CTRL+C it stops and spews out a long list of errors as

rsync: mkstemp "/mnt/nfs/vm-storage/music/maarten/unsorted/music/FLAC/Kaiser Chiefs/Employment/.Kaiser Chiefs - 08 - Saturday Night.flac.CtWDzD" failed: No such file or directory (2)

This list of errors goes back a long way before the transfer that doesn't go through. It will copy any number of files well, then start to error out, without actually showing these errors - ostensibly the rsync goes on perfectly fine, until it halts at some point (then I CTRL-C and see all these errors). But even though rsync may show as transferred, it will not actually have been copied unless it was transferred before it starts to error out. So this is quite unreliable.

 

I've attached the syslog here of the destination UnRAID server, as form the error message it would seem that the issue is on vm-storage (the destination). It doesn't seem to show anything out of the ordinary though, beside the mounting there seems to be no evidence of the operation.

 

I've tried this operation several times (more than ten) and every time it halts at a different point and will have copied a different number of files succesfully. Any suggestions are definitely welcome as I'm somewhat blocked here.

 

  • Author

For some further troubleshooting I've removed the third box and have mounted the destination NFS share directly on the source UnRAID box. Same issue. Are there other logs besides syslog that could be useful to troubleshoot this?

 

edit: I ran reiserfsck and permission reset to no avail. Now attempting rsync over SSH to see if that works better.

  • Author

rsync -e ssh works for transfers from one UnRAID server to another. Seems like the issue has to do with NFS, possibly the mounting parameters are off but I'm not sure. Anyhow problem "solved".

  • 2 months later...

rsync -e ssh works for transfers from one UnRAID server to another. Seems like the issue has to do with NFS, possibly the mounting parameters are off but I'm not sure. Anyhow problem "solved".

 

Could you tell the precise command line to move data (hopefully whole folders) from 1 UnRaid server to another please?  I have managed to manually mount the required disks of my failed Server and would like to copy certain folders to my backup/test server.

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.