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.

rsync: [receiver] write failed

Featured Replies

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 by HotWaterJoe
Hit enter too soon.

Solved by HotWaterJoe

  • 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?

  • 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 by HotWaterJoe

  • Author

Here is a screen shot of my drives:

Prime-Main-Screen.JPG

  • Community Expert

And the remotes share?

  • Author

SMB shares from Secondary server

 

SMB-Shared-from-Secondary.JPG

Edited by HotWaterJoe

  • 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 by HotWaterJoe

  • 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

 

  • 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.

Rsync-without-delete.JPG

Edited by HotWaterJoe

  • 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

  • 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/

 

 

  • 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 by HotWaterJoe

  • 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.  

  • Community Expert

Not sure what the problem was before, but as long as it's working now...

  • 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......

  • 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.

Guest
Reply to this topic...

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.