August 10, 20232 yr I've been running Unraid on 2 HP microserver: Z-Prime and Z-Secondary. I use the Z-Secondary for testing. And I wanted to get some experience running rsync but ran into this: rsync: [receiver] write failed on "/root/==delete/Photos/2004/Microsoft Clip Organizer/2005/2005-Yellowstone/2005-06-14-083555.JPG": No space left on device (28) rsync error: error in file IO (code 11) at receiver.c(380) [receiver=3.2.7] rsync: [sender] write error: Broken pipe (32) rsync error: error in file IO (code 11) at io.c(848) [sender=3.2.7] Here is the command I entered: root@Z-PRIME:~# rsync -avh /mnt/user/Photos /mnt/remotes/Z-SECONDARY_test --delete Background: 2 Unraid servers running 6.12.3. The Z-Prime server is an HP microsever gen 8, the Z-Secondary is an HP microserver Gen 7 The share Photos is set primary storage Cache, secondary Array, High Water The share test is set primary storage Array, Fill-up. It looks to me that it is trying to delete a file on the Prime server but can't find room but from what I can tell there is plenty. Can someone point me in the right direction? Thanks, Bill z-prime-diagnostics-20230810-0658.zip z-prime-syslog-20230810-1623.zip Edited August 10, 20232 yr by HotWaterJoe Hit enter too soon.
August 10, 20232 yr Community Expert 38 minutes ago, HotWaterJoe said: ==delete I've never seen this flag, I know --delete or --delete-before, where did you see this?
August 10, 20232 yr Author That was my bad - I copied my command incorrectly. It was -- delete rsync -avh /mnt/user/Photos /mnt/remotes/Z-SECONDARY_test --delete I will correct my post - thanks. Edited August 10, 20232 yr by HotWaterJoe
August 11, 20232 yr Author SMB shares from Secondary server Edited August 11, 20232 yr by HotWaterJoe
August 11, 20232 yr Author All the shares on both server WERE set to High Water. I have since changed them all to Fill-Up and will re-test Results after changing all shares to Fill-up: same results rsync: [receiver] write failed on "/root/==delete/Photos/2004/Microsoft Clip Organizer/2005/2005-Yellowstone/2005-06-12-155132.JPG": No space left on device (28) Edited August 11, 20232 yr by HotWaterJoe
August 11, 20232 yr Community Expert Try without delete first, e.g. rsync -avh /mnt/user/Photos/ /mnt/remotes/Z-SECONDARY_test/Photos/ failing that try over ssh: rsync -avh /mnt/user/Photos/ root@remote_IP:/path/to/dest
August 11, 20232 yr Author 4 hours ago, JorgeB said: Try without delete first, e.g. rsync -avh /mnt/user/Photos/ /mnt/remotes/Z-SECONDARY_test/Photos/ failing that try over ssh: rsync -avh /mnt/user/Photos/ root@remote_IP:/path/to/dest rsync without the delete works. I'm a little confused on why rsync only lists 5 folders - I must have several hundred folders in the Photos share. But it did work. Edited August 11, 20232 yr by HotWaterJoe
August 11, 20232 yr Author 9 minutes ago, HotWaterJoe said: rsync -avh /mnt/user/Photos/ root@remote_IP:/path/to/dest rsync over ssh is way over my head - let me see if I can figure out how the heck to do that. Thanks, Bill
August 12, 20232 yr Community Expert 10 hours ago, HotWaterJoe said: I'm a little confused on why rsync only lists 5 folders That is normal, total size (209.11G) should be correct I've nerver used --delete in the end, not sure it makes any difference, what if you try: rsync -avh --delete /mnt/user/Photos/ /mnt/remotes/Z-SECONDARY_test/Photos/
August 12, 20232 yr Author rsync -avh /mnt/user/Photos/ [email protected]:/mnt/user/Area-for-Prime-BU/Photos Finally got around to trying this command and it worked great. Yes 209G is correct. I'm gonna copy the pictures on my Prime server to a test area - if I lose these pictures my wife will kick me in my b@lls. LOL Edited August 12, 20232 yr by HotWaterJoe
August 12, 20232 yr Author I have some interesting clues. Today, I used rsync to copy all the files from my Photos share to a newly created share (test-photos) on the same Prime server. I successfully copies them and successfully used the --delete option. Then I tried to copy all the files from my Prime server share "test-photos" to my Backup server (Secondary) rsync -avh /mnt/user/test-photos /mnt/remotes/Z-SECONDARY_test/Photos --delete This ran with no errors.
August 13, 20232 yr Community Expert Not sure what the problem was before, but as long as it's working now...
August 13, 20232 yr Author Solution It appears there is something in the Photos share that rsync does NOT like. Perhaps something got corrupted, I don't know. So what I have done is copy all the files from the Photos share to another share (test-photos). Then I renamed the Photos share to "Old-Share-For-Photos" and removed it from export ability. Then I renamed my "test-photos" to "Photos". I will just move on......
August 13, 20232 yr Author 3 hours ago, JorgeB said: Not sure what the problem was before, but as long as it's working now... Thank you for helping. Plus I learned something new about using ssh with rsync. Bill
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.