[Plugin] unbalanced


Recommended Posts

8 minutes ago, jbrodriguez said:

M4ST3R-OWNER,

 

Do use the plugin jonathanm suggested for appdata.

 

I think I'll eventually add some warnings or so, when appdata or similar are included in the source folders to move/copy.

I'm looking at it now I did successfully copy everything else over to my last encryption drive I just got get the appdata fix I suppose 

Link to comment

I've used this on my server before, but a long time ago, which worked perfectly for what I wanted to do.

 

I've tried to use it today and all I get is ERR_INVALID_HTTP_RESPONSE even after reinstalling the plugin.

 

Edit: seems the link points to http when it should be https, use SSL/TLS is set to auto under my Unraid management settings.

Edited by Spies
Found a workaround
Link to comment
8 hours ago, daddygrant said:

I'm having an issue where the unbalance webUI is not coming up despite the fact the plugin is running.  Can anyone point me in the right direction?

 

I got same issue today. I access thru https and problem solve.

Link to comment
On 6/30/2018 at 4:31 PM, daddygrant said:

I'm having an issue where the unbalance webUI is not coming up despite the fact the plugin is running.  Can anyone point me in the right direction?

 

19 hours ago, tamito said:

 

I got same issue today. I access thru https and problem solve.

 

I did as well and what fixed it was doing https://IP:6237 even though your server might not be running HTTPS (like mine) it runs on HTTPS from the looks of it. 

Link to comment

Yep... Thanks.  Worked for me.

1 hour ago, yellowcooln said:

 

 

I did as well and what fixed it was doing https://IP:6237 even though your server might not be running HTTPS (like mine) it runs on HTTPS from the looks of it. 

 

21 hours ago, tamito said:

 

I got same issue today. I access thru https and problem solve.

 

Link to comment

Hello,

 

Not sure if anyone can help, but I just updated to the latest build. (I believe I was on the build 5.1.0). I was able to transfer 4TB from one drive to another on 3 days ago, but after the update, transferring no longer seems to be happening. I select one drive in the 'FROM' column and one drive in the 'TO' column and then select all the folders. I go to the next stage and the page loads with all the stats, but transferring does not seem to be happening. It has no 'end-time'. Last time I did this I immediately saw '28 hours' to go. Now when I try to go to the UnRAID main page or the UnBalance page ("https://10.10.10.201:6237" or "https://10.10.10.201") I get "The connection has timed out". This has happened twice already. This last time was after a server reboot.

unraid error.jpg

Edited by micokeman
Additional error information.
Link to comment

Hi guys,

 

I've just had a move operation fail half way through (the server crashed hard).

Some files have been transferred to the destination (about 1.5TB worth). But it seems like most, if not all, of the files remain on the source disk. So unbalance tells me there is not enough space at the destination if I try to begin the transfer again.

Is there any way I can resume the transfer that failed? If not, can I be sure that all of the files are still on the source disk?

 

I know that MOVE copies first then deletes, but I can't find info anywhere on whether it does that per folder, or it waits till everything is copied and then starts deleting. The easiest thing might be to reformat the destination disk and start again, but I don't want to do that till I'm sure obviously.

 

Thanks

Link to comment
11 hours ago, MystX said:

So unbalance tells me there is not enough space at the destination if I try to begin the transfer again

 

Instead of doing that, go the History page and replay (which in your case means resume) the operation.

 

This is assuming you haven't performed any other operation and haven't 'altered' the 'state' of your disks, meaning you haven't added or manually moved files/folders around in the target disks, so that the free space conditions obtained during the calculation phase remain the same (it doesn't matter that some files have already been copied).

 

11 hours ago, MystX said:

but I can't find info anywhere on whether it does that per folder, or it waits till everything is copied and then starts deleting

 

In MOVE operations, It deletes at the end of each command.

 

That would be each 'rsync ...' line for the operation in the History page.

 

 

Link to comment
49 minutes ago, jbrodriguez said:

Instead of doing that, go the History page and replay (which in your case means resume) the operation.

 

I think because the server crashed and I had to restart, the operation wasn't in history.

 

What I ended up doing was running:

rsync -n -ai /mnt/destinationDisk /mnt/sourceDisk

To see if there were any files in the destination disk that weren't in the source disk (destination and source from the point of view of my unbalance move). I.e. to see if unbalance had completed any operations and deleted. It hadn't, so I just formatted the destination disk and started again.

 

But thanks for that info for next time =)

Link to comment

I am running unRAID 6.5.3 and I am trying to install unBALANCE from the Comm. Apps. but I get this error.

I also get the error when go through plugins > install plugin manually.

 

plugin: installing: https://raw.githubusercontent.com/jbrodriguez/unraid/master/plugins/unbalance.plg
plugin: downloading https://raw.githubusercontent.com/jbrodriguez/unraid/master/plugins/unbalance.plg
plugin: downloading: https://raw.githubusercontent.com/jbrodriguez/unraid/master/plugins/unbalance.plg ... done

-----------------------------------------------------------
unBALANCE has been installed.
Copyright (c) Juan B. Rodriguez
Version: v2018.06.05
-----------------------------------------------------------

plugin: unable to create file: /tmp/unbalance-chkconf

Updating Support Links

 

Edited by sgibbers17
Link to comment
8 minutes ago, DZMM said:

hi is there a way to schedule a job?  I have seeding torrents I like to group on one disk periodically to reduce the amount of disks spinning.  It'd be great if I could I could run the same Gather on a schedule in a script.

 

Thanks

I know it's not a direct answer, but for similar reasons, my Utilities share is set to only write to disk3.

 

Failing that, presumably you could schedule an rsync script in User Scripts to replicate what unbalance would be doing?

Link to comment
2 hours ago, Cessquill said:

I know it's not a direct answer, but for similar reasons, my Utilities share is set to only write to disk3.

 

Failing that, presumably you could schedule an rsync script in User Scripts to replicate what unbalance would be doing?

Won't bore you with the reasons, but limiting a share to a disk doesn't work in this scenario.

 

I could probably figure out how to use rsync, I've just never used it before and I'd rediscovered this plugin this afternoon

Link to comment
21 hours ago, sgibbers17 said:

I am running unRAID 6.5.3 and I am trying to install unBALANCE from the Comm. Apps. but I get this error.

I also get the error when go through plugins > install plugin manually.

 

Hi, I'm not sure about this error.

 

Are you able to install other plugins ?

Link to comment
4 hours ago, DZMM said:

It'd be great if I could I could run the same Gather on a schedule in a script.

 

Hi, it's not possible to schedule operations.

 

But, alternatively, you could check out diskmv, it's a shell script made by another member of the forum, that uses rsync internally.

 

I used it initially, then went with straight rsync at some point.

 

I don't have the link to the thread at hand, but you can find it in the unBALANCE webui footer, it's the hard disk next to limetech limes :) 

Link to comment
4 minutes ago, jbrodriguez said:

 

Hi, it's not possible to schedule operations.

 

But, alternatively, you could check out diskmv, it's a shell script made by another member of the forum, that uses rsync internally.

 

I used it initially, then went with straight rsync at some point.

 

I don't have the link to the thread at hand, but you can find it in the unBALANCE webui footer, it's the hard disk next to limetech limes :) 

Thanks - I noticed whilst gather is running it shows the rsync command, so I'll just add those to a script

Link to comment
  • jbrodriguez changed the title to [Plugin] unbalanced

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.