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.

[Plugin] unbalanced

Featured Replies

When trying to use the Gather function, the menu is failing to load correctly. Scatter works fine, but this step of Gather is impassable as I can't select a disk to transfer to.

 

image.thumb.png.6a8365de7ede183c20f7feeba82183ed.png

  • Replies 2.4k
  • Views 616k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • jbrodriguez
    jbrodriguez

    ✭ unBALANCE is now unbalanced !! ✭     NOTE: To install it, look for "unbalanced" in Community Apps (the old unbalance plugin will be deprecated by Squid)   i had the op

  • jbrodriguez
    jbrodriguez

    there's something in the works with unbalance(d), i thought i could be done by now, turns out that's not the case 😀   happy holidays to all !!   teaser pic:  

  • jbrodriguez
    jbrodriguez

    v2019.10.26 (5.6.3) is available !   - Support 6.8.x - Add missing isNumber function - Upgrade some libraries - Switch to yarn

Posted Images

I don't have any non-chromium browsers to test in. Doesn't work on Chrome desktop or mobile, or Edge desktop.

  • Author
On 2/26/2024 at 2:42 PM, Renegade605 said:

I don't have any non-chromium browsers to test in. Doesn't work on Chrome desktop or mobile, or Edge desktop.

cool, could you open the console (View > Devloper > Javascript Console). to check for any errors ?

1 minute ago, jbrodriguez said:

cool, could you open the console (View > Devloper > Javascript Console). to check for any errors ?

Sorry I should have mentioned I did that right away. 

 

No errors when connected local ip:port. When connected via reverse proxy there's an error loading site.manifest. Not related though as the problem is present either way. 

  • Author

i tested on my server and it works

 

is it possible that you're giving it too much data and it doesn't show a target disk because there's no available target disk to hold those 2 shares ? (i don't remember i tried that case, but not showing any disk makes sense)

 

if you try selecting a subset of either share, does it work ?

37 minutes ago, jbrodriguez said:

is it possible that you're giving it too much data and it doesn't show a target disk because there's no available target disk to hold those 2 shares ? (i don't remember i tried that case, but not showing any disk makes sense)

 

You're correct! That's not super intuitive, perhaps it should show a message about that when this is the case.

 

But, I had also expected it to work like Scatter, and just grab as much of those folders as possible to move even if it couldn't do all of them. I'm trying to balance out the free space on my disks, and I assumed Gather would take whatever it could from disks 2 - 8 to move to disk 1 until they all have 1.5 TB free space (I set that as the limit in the settings), instead of picking and choosing which parts to move.

  • Author
14 hours ago, Renegade605 said:

 

You're correct! That's not super intuitive, perhaps it should show a message about that when this is the case.

 

yes, it should show a message :)

 

14 hours ago, Renegade605 said:

...

But, I had also expected it to work like Scatter, and just grab as much of those folders as possible to move even if it couldn't do all of them.

not sure about this one, the idea of gather is to collect all of a given folder

 

maybe a different algorithm could be applied, i've been thinking about this, a user could "plug" different algorithms to perform transfers, however it's just in the ideas stage :) 

It's been a while since I've used this plugin -- I was curious if it's still required or recommended that all dockers be shutoff while running a scatter operation to clear a drive?  I'm particularly interested in keeping Plex running while it performs a multi-day scatter (with Mover disabled).  

 

Is this likely to cause serious problems or just potentially not completely scatter (thus requiring me to perform a much smaller scatter after the large primary scatter)?

 

Thanks

  • Author
10 hours ago, andCoffee said:

I'm particularly interested in keeping Plex running while it performs a multi-day scatter (with Mover disabled).  

the trade off that you need to evaluate are

 

- if a docker/plugin/vm/process is writing data to the same disk that unbalanced is writing to, there's a contention for disk allocations, it may (or may not) cause one or both of them to fail, depending on free space

 

- reading and writing from/to the same disk will cause transfers to slow down

 

you know your context the best, so you can make an informed decision

 

if plex is only reading from disk1 and you're transferring between disks 2 and 4, then you should be fine (there might be some additional i/o bottlenecks on the controller, but that's too advanced for me to figure out :)

Hi - I am using unbalanced to scatter one of the disks that is getting too full. Everything seems to work but it leaves the folders behind on the original disk (Using move). Pretty sure from memory when I was using the old plugin it didn't do this.

How do I get it to move the folder as well as the files within going forward and what is the easy way to delete the 10 or so folders left behind on the old disk?

Thanks!

  • Author
3 minutes ago, Starfox said:

what is the easy way to delete the 10 or so folders left behind on the old disk

hi, can you check in the history tab if there are some yellow marked commands for that operation ? they should have a rmsrc button that you can use to delete the source folder, just make sure that your target folder is ok.

 

this happens because rsync flagged the command with some error (generally timestamps, permission or possibly i/o errors)

 

46 minutes ago, Starfox said:

leaves the folders behind on the original disk (Using move)

This is normal behaviour of the plugin. You have to do a 2nd run with the same parameters to get rid of the empty folders.

I guess, he does the move recursively, but when the tree is finished, he forgets to "move" the toplevel folder.

 

Annoying, but harmless...

1 hour ago, jbrodriguez said:

hi, can you check in the history tab if there are some yellow marked commands for that operation ? they should have a rmsrc button that you can use to delete the source folder, just make sure that your target folder is ok.

 

this happens because rsync flagged the command with some error (generally timestamps, permission or possibly i/o errors)

 


Thanks - no yellow marked command for the operation no (And hence I can't see any button to delete the folders).

 

23 minutes ago, MAM59 said:

This is normal behaviour of the plugin. You have to do a 2nd run with the same parameters to get rid of the empty folders.

I guess, he does the move recursively, but when the tree is finished, he forgets to "move" the toplevel folder.

 

Annoying, but harmless...


Tried to do the second run (Is that really the workflow here?). Unbalanced got stuck in plan mode. Refreshed and tried again. Would only allow me to do one folder at a time (Kept saying destination was full which given it was just an empty folder obvious was not the case). Got there in the end. Thanks

Can unBalanced be open remotely, through the unraid connect server management?

Files with $ character aren't removed from the source drive, it seems.

Hello, on the "source disk" side in scatter, it doesn't show the correct free space anymore. It's been a week now, I checked it every other day, refreshed a lot, but it still shows the incorrect available space. Either that or the unraid shows the incorrect free space.

Is there anything I can do to fix that?

  • Author
On 3/9/2024 at 6:34 AM, wulperdinger said:

Hello, on the "source disk" side in scatter, it doesn't show the correct free space anymore. It's been a week now, I checked it every other day, refreshed a lot, but it still shows the incorrect available space. Either that or the unraid shows the incorrect free space.

Is there anything I can do to fix that?

can you post a screenshot of the issue ?

Hello guys,

I'm trying to use unbalanced to free up some space on my disk1, however after selecting files and destination disk it only transfer 1 byte and say everything is done, while it's not.

 

I tried many times, and in one case it transferred files, in the others no.

 

What am I doing wrong?

  • Author
22 minutes ago, Jetro said:

however after selecting files and destination disk it only transfer 1 byte and say everything is done, while it's not.

can you check the logs in /var/log/unbalanced.log ?

Sure, i set it to verbose, but i don't see anything useful:

    logounbalanced

    SCATTERGATHERHISTORYSETTINGSLOG

2024/03/20 08:18:16

2024/03/20 08:18:16 =========================================================

2024/03/20 08:18:16 disk(/mnt/disk4):no-items:currentFree(51.09 GB)

2024/03/20 08:18:16 ---------------------------------------------------------

2024/03/20 08:18:16 ---------------------------------------------------------

2024/03/20 08:18:16

2024/03/20 08:18:16 =========================================================

2024/03/20 08:18:16 disk(/mnt/disk5):no-items:currentFree(50.99 GB)

2024/03/20 08:18:16 ---------------------------------------------------------

2024/03/20 08:18:16 ---------------------------------------------------------

(cut)

2024/03/20 08:18:16 =========================================================

2024/03/20 08:18:16 Bytes To Transfer: 1.00 B

2024/03/20 08:18:16 ---------------------------------------------------------

 

As you can see, it say "Bytes To Transfer: 1.00 B", then the rest looks ok

Then:

 

1691001483_ScreenShot2024-03-20at16_26_54.thumb.png.f974209c39df33425aeb6d44d8761e7c.png

 

Here you can see history:

1209924112_ScreenShot2024-03-20at16_26_39.thumb.png.74c0c8d403c3d7f77f64739bafa4725d.png

 

Settings I choose:

Screen Shot 2024-03-20 at 16.22.20.png

Screen Shot 2024-03-20 at 16.24.17.png

Edited by Jetro
Added infos

  • Author

i see, it's not finding anything to transfer, the 1 byte is just a default

 

instead of selecting the children of $RECYCLE.BIN, can you select $RECYCLE.BIN itself ?

 

however, i think someone mentioned here or in github that it doesn't transfer files/folders that start with a $, i haven't been able to confirm that.

$RECYCLE.BIN is empty and not expanded, selected files belongs to "Truenas4" directory and I can't select it because it's something like 12TB while I need to transfer aroung 30GB.

 

Tried also copying files from the bottom (names starts with "z") and same behaviour

  • Author

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

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.