[Plugin] unbalanced


Recommended Posts

I'm running into an odd issue where I ran unbalanced for scattering directly from one drive to an empty drive (with +2TB greater space than the source drive, so plenty of room).  Most things moved fine, but one top-level folder (a share) is having all of the files skipped with a yellow checkmark next to them.  I've run docker-safe permissions multiple times.  Here is a small example of what is being spit out in the log file: 

2024/03/22 02:39:00 command started: (src: /mnt/disk8) rsync -avPR -X "Unraid TV/For All Mankind" "/mnt/disk2/"

2024/03/22 02:39:01 command:end:error(exit status 23)

2024/03/22 02:39:01 command:retcode(0):exitcode(23)

2024/03/22 02:39:01 Command Finished

2024/03/22 02:39:01 Current progress: 52.04% done ~ 24s left (0.00 MB/s)

2024/03/22 02:39:01 skipping:deletion:(rsync command was flagged):(/mnt/disk2/Unraid TV/For All Mankind)

2024/03/22 02:39:01 command started: (src: /mnt/disk8) rsync -avPR -X "Unraid TV/The Newsroom 2012" "/mnt/disk2/"

2024/03/22 02:39:01 command:end:error(exit status 23)

2024/03/22 02:39:01 command:retcode(0):exitcode(23)

2024/03/22 02:39:01 Command Finished

2024/03/22 02:39:01 Current progress: 52.55% done ~ 23s left (0.00 MB/s)

2024/03/22 02:39:01 skipping:deletion:(rsync command was flagged):(/mnt/disk2/Unraid TV/The Newsroom 2012)

2024/03/22 02:39:01 command started: (src: /mnt/disk8) rsync -avPR -X "Unraid TV/House of Cards 2013" "/mnt/disk2/"

2024/03/22 02:39:02 command:end:error(exit status 23)

2024/03/22 02:39:02 command:retcode(0):exitcode(23)

2024/03/22 02:39:02 Command Finished

 

Link to comment
2 hours ago, andCoffee said:

but one top-level folder (a share) is having all of the files skipped with a yellow checkmark next to them

rsync error 23 can be triggered by many different reasons, which are not clearly specified 

due to that, unbalanced plays it "safe":

- it flags the command producing the error 23

- does not remove the source folder/files which triggered it

 

this gives you a chance, as the content owner to 

- check if the files in the destination look ok (probably a spot check or more thorough check if you have important data)

- allow you to remove the files on the source, via th rmsrc button on the history page, if you find the folder/files state to your satisfaction

 

to recap, rsync error 23 is too vague to be handled automatically, so it requires some user attention in order to validate the transfer

Link to comment
On 3/21/2024 at 12:44 PM, jbrodriguez said:

oh right, i misread the screenshot, unbalanced looks for children of a selection in order to transfer files, what if you select truenas4 folder and unselect $RECYCLE.BIN and any other file/folder you don't want to be transferred

Unfortunately same behaviour. I proceeded moving manually those files, meanwhile, a disk failed, so now I am trying to move the entire content of disk 6 (12TB) to disks 11 and 12 (8 TB + 8TB) and I'm getting the same problem.

 

It stays a while "checking issues" then the usual 1 byte transfer.

 

Is there some logging that would be useful to you?

 

In this case:

1149230629_ScreenShot2024-03-22at20_43_41.thumb.png.2297d67d3bbaa54ba6d41f1e6b163635.png

 

"The following items will not be transferred, because there's not enough space in the target disks"

But I'm trying to copy 11.86TB in 15+ TB drives:

 

565286566_ScreenShot2024-03-22at20_43_54.thumb.png.668d37acb79b8ae9b69ec2caf1a6df64.png

Edited by Jetro
Added screenshots
Link to comment
18 hours ago, Jetro said:

In this case:

1149230629_ScreenShot2024-03-22at20_43_41.thumb.png.2297d67d3bbaa54ba6d41f1e6b163635.png

 

this is sort of odd, looks like it can't list the items below the Truenas4 folder

 

can you run 

 

find "/mnt/disk1/TheHub/Truenas4/." ! -name . -prune -exec du -bs {} +

 

you don't need to post the whole listing, just the first couple of entries (just the size, edit the name if you want)

Link to comment

I got the right output:

147621332       /mnt/disk1/TheHub/Truenas4/./filename.mp4
976276944       /mnt/disk1/TheHub/Truenas4/./filename.mp4
3409636407      /mnt/disk1/TheHub/Truenas4/./filename.mp4
209565299       /mnt/disk1/TheHub/Truenas4/./filename.mp4
272780277       /mnt/disk1/TheHub/Truenas4/./filename.mp4
320218609       /mnt/disk1/TheHub/Truenas4/./filename.mp4
172232382       /mnt/disk1/TheHub/Truenas4/./filename.mp4

 

Then I also got folders which dimension is 6

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.