[Plugin] unbalanced


Recommended Posts

Just updated and I'm getting connection_reset messages when trying to go to the plugin.  I've disabled, and re-enabled a few times.  

 

Syslog looks fine, and the process is running.  Not sure what other debugging would be helpful?

 

Ok, I'm not running SSL and it looks like things are broken:

 

root@Storage:/mnt/disk1/Backups# cd /usr/local/emhttp/plugins/unbalance
root@Storage:/usr/local/emhttp/plugins/unbalance# killall unbalance
root@Storage:/usr/local/emhttp/plugins/unbalance# ./unbalance
I: 2018/05/12 20:42:12 app.go:51: unbalance v5.2.0-1070-aea11c7-v2018.05.12 starting ...
I: 2018/05/12 20:42:12 app.go:59: Using config file located at /boot/config/plugins/unbalance ...
I: 2018/05/12 20:42:12 server.go:54: Starting service Server ...
I: 2018/05/12 20:42:12 server.go:71: Serving files from /usr/local/emhttp/plugins/unbalance
I: 2018/05/12 20:42:12 server.go:130: Server started listening https on :6237
I: 2018/05/12 20:42:12 array.go:46: starting service Array ...
I: 2018/05/12 20:42:12 planner.go:52: starting service Planner ...
I: 2018/05/12 20:42:12 core.go:101: starting service Core ...
W: 2018/05/12 20:42:12 core.go:116: Unable to read history: open /boot/config/plugins/unbalance/unbalance.hist: no such file or directory
I: 2018/05/12 20:42:12 app.go:73: Press Ctrl+C to stop ...
echo: http: TLS handshake error from 192.168.1.7:56665: tls: first record does not look like a TLS handshake
echo: http: TLS handshake error from 192.168.1.7:56666: tls: first record does not look like a TLS handshake
echo: http: TLS handshake error from 192.168.1.7:56667: tls: first record does not look like a TLS handshake
echo: http: TLS handshake error from 192.168.1.7:56668: tls: first record does not look like a TLS handshake

 

Edited by Tybio
Link to comment
29 minutes ago, jbrodriguez said:

Ok, what's your unRAID ssl settings: yes, no or auto ?

 

Auto, this is a recent upgrade so I'm still settling into 6.5.  I could turn it on, not going to hurt anything, but with a nice 'net facing firewall I don't really see the point so I left it defaulted.

Link to comment

Hi all so the problem I have been having out of no where is #1 I can't access the webUI without using https for some reason. I have never touched any settings relating to the best of my knowledge. #2 issue is I followed the space invader vids.. but I am unable to select any disk at all. Here is the error I am seeing. 

 

 

Screen Shot 2018-05-13 at 6.23.28 PM.png

Screen Shot 2018-05-13 at 6.44.30 PM.png

Link to comment
3 hours ago, jbrodriguez said:

Hi ivanf, can you send me /boot/logs/unbalance.log to check it out ? (pm if you prefer)

 

As for https, if your unRAID's SSL is set to 'yes' or 'auto', the plugin will listen on https.

Extremely sorry for the trouble. How would I be able to access this? I'm new to linux and unraid.

Link to comment
2 hours ago, ivanf said:

Extremely sorry for the trouble. How would I be able to access this? I'm new to linux and unraid.

Flash should be a hidden share on your unraid system (unless you've changed it), so if you're on Windows, open Windows Explorer and enter...

 

\\<ip of server>\flash\

OR

\\tower\flash\ (assuming your unraid box is called tower)

 

From there, go to logs, and the log file will be in there

Link to comment
9 hours ago, Cessquill said:

Flash should be a hidden share on your unraid system (unless you've changed it), so if you're on Windows, open Windows Explorer and enter...

 

\\<ip of server>\flash\

OR

\\tower\flash\ (assuming your unraid box is called tower)

 

From there, go to logs, and the log file will be in there

Sorry for the late reply I see this.

 

QVbHDLh.png

Link to comment

ivanf, these are the relevant log lines

I: 2018/05/14 21:43:49 planner.go:157: Running gather planner ...
I: 2018/05/14 21:43:49 planner.go:352: scanning:disk(/mnt/disk1):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(6):size(2.95 TB)
I: 2018/05/14 21:43:56 planner.go:352: scanning:disk(/mnt/disk2):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(1):size(219.05 GB)
I: 2018/05/14 21:43:56 planner.go:352: scanning:disk(/mnt/cache):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(2):size(5.02 GB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk1):fs(reiserfs):no-items:currentFree(39.05 GB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk2):fs(reiserfs):no-items:currentFree(2.78 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk3):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk4):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk5):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/cache):fs(btrfs):no-items:currentFree(470.91 GB)

You're trying to gather the Downloads share into a single disk, but there's not enough space in any of your disks to do so.

 

A consolidated Downloads folder would be approx 3.17Tb (2.95Tb + 219Gb + 5Gb)

 

Your largest disk is 3Tb, so it can't fit the whole Downloads share into a single disk.

Link to comment
2 hours ago, jbrodriguez said:

ivanf, these are the relevant log lines


I: 2018/05/14 21:43:49 planner.go:157: Running gather planner ...
I: 2018/05/14 21:43:49 planner.go:352: scanning:disk(/mnt/disk1):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(6):size(2.95 TB)
I: 2018/05/14 21:43:56 planner.go:352: scanning:disk(/mnt/disk2):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(1):size(219.05 GB)
I: 2018/05/14 21:43:56 planner.go:352: scanning:disk(/mnt/cache):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(2):size(5.02 GB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk1):fs(reiserfs):no-items:currentFree(39.05 GB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk2):fs(reiserfs):no-items:currentFree(2.78 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk3):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk4):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk5):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/cache):fs(btrfs):no-items:currentFree(470.91 GB)

You're trying to gather the Downloads share into a single disk, but there's not enough space in any of your disks to do so.

 

A consolidated Downloads folder would be approx 3.17Tb (2.95Tb + 219Gb + 5Gb)

 

Your largest disk is 3Tb, so it can't fit the whole Downloads share into a single disk.

Yes only disk 1 and part of another disk is also being used. I made a mistake by having my shares go from highwater to Phil. What I want to do now is actually have them go back to what it was before.

Edited by ivanf
Link to comment
On 5/15/2018 at 6:00 AM, jbrodriguez said:

ivanf, these are the relevant log lines


I: 2018/05/14 21:43:49 planner.go:157: Running gather planner ...
I: 2018/05/14 21:43:49 planner.go:352: scanning:disk(/mnt/disk1):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(6):size(2.95 TB)
I: 2018/05/14 21:43:56 planner.go:352: scanning:disk(/mnt/disk2):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(1):size(219.05 GB)
I: 2018/05/14 21:43:56 planner.go:352: scanning:disk(/mnt/cache):folder(Downloads)
I: 2018/05/14 21:43:56 planner.go:381: items:count(2):size(5.02 GB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk1):fs(reiserfs):no-items:currentFree(39.05 GB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk2):fs(reiserfs):no-items:currentFree(2.78 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk3):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk4):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/disk5):fs(reiserfs):no-items:currentFree(3.00 TB)
I: 2018/05/14 21:43:56 planner.go:505: disk(/mnt/cache):fs(btrfs):no-items:currentFree(470.91 GB)

You're trying to gather the Downloads share into a single disk, but there's not enough space in any of your disks to do so.

 

A consolidated Downloads folder would be approx 3.17Tb (2.95Tb + 219Gb + 5Gb)

 

Your largest disk is 3Tb, so it can't fit the whole Downloads share into a single disk.

 

What I want to know is it it possible to have the default highwater do 50% for all disk so my 1st 3tb disk does not get full? I wanted to restore everything to its default.

Link to comment
9 hours ago, ivanf said:

What I want to know is it it possible to have the default highwater do 50% for all disk so my 1st 3tb disk does not get full? I wanted to restore everything to its default.

Not sure if this is what you mean or not, but changing a user share setting only affects where new writes go. Nothing is done to existing files.

Link to comment
On 5/17/2018 at 2:42 AM, trurl said:

Not sure if this is what you mean or not, but changing a user share setting only affects where new writes go. Nothing is done to existing files.

 

 

Oh I see. Is there a way I can change or do new writes for the existing files?

Link to comment
3 hours ago, ivanf said:

Oh I see. Is there a way I can change or do new writes for the existing files?

 

I think the purpose of the "Scatter" function of this plugin is to redistribute the files from a disk to others. I haven't used this plugin since that was added. Have you tried it?

Link to comment
On 5/18/2018 at 2:01 PM, trurl said:

 

I think the purpose of the "Scatter" function of this plugin is to redistribute the files from a disk to others. I haven't used this plugin since that was added. Have you tried it?

 

Thank you! I think thats what I was looking for :D

Link to comment

I'm having an interesting issue - I've run unBalance a few times on my main server and it's worked great, but I'm setting up a new server for a friend and I can't get it to run - all I get is the attached screenshot when I try to pull up the UI - any thoughts? I'm trying to access this on my Mac, but I get the same result on Ubuntu as well (Firefox both times).

Screen Shot 2018-05-20 at 9.31.24 PM.png

Link to comment

I recently used the unBalance plugin (awesome plugin by the way!), and am having a small subsequent issue I'm hoping someone can help me solve.  For context, I used the plugin to move data from one disk to the remaining disks so that the empty disk could be wiped and encrypted.  Rince and repeat till all disks are encrypted, job done.

 

During that process, there were some permission issues detected by unBalance so I ran the fix permissions and continued to move the files.  The lingering problem is that now on every other reboot of the host, Shares don't load, Docker doesn't start and show's no containers, and VM's doesn't start and show's no VM's. I reboot the host again and everything is fine till the next reboot.

 

I'm not sure where to begin looking to troubleshoot this but my suspicion is there may be some outdated file that reference the database of shares, conainers and VM's and perhaps this outdated file is pointing to a previous location that doesn't exist any more.  As to why it may attempt to load this file every other reboot I'm not sure.

 

I may be way off on my suspicion so I'll open it up to you experts to provide some ideas, I appreciate any help.

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.