Josh7890 Posted January 14, 2016 Share Posted January 14, 2016 I'm running it at the moment, evacuating a 3TB Red that's sounding very ill. I'll let you know the results. How'd it go? Quote Link to comment
danioj Posted January 14, 2016 Share Posted January 14, 2016 I'm running it at the moment, evacuating a 3TB Red that's sounding very ill. I'll let you know the results. How'd it go? Just headed over to this thread to ask the same question! Quote Link to comment
kizer Posted January 14, 2016 Share Posted January 14, 2016 I was just playing with this. It would be really nice if we could set a reserve space for instance 5% or 10% from full or whatever the user deems necessary. Kinda slick too. I've been running dry runs for the heck of it. Quote Link to comment
jbrodriguez Posted January 14, 2016 Author Share Posted January 14, 2016 I was just playing with this. It would be really nice if we could set a reserve space for instance 5% or 10% from full or whatever the user deems necessary. Kinda slick too. I've been running dry runs for the heck of it. Yes, it should be possible. It would still have a hard floor, in case the percentage represents too little space. I'll take a look at it. Quote Link to comment
kizer Posted January 14, 2016 Share Posted January 14, 2016 Thanks. Just an idea. What is the current Hard Floor? Quote Link to comment
jbrodriguez Posted January 15, 2016 Author Share Posted January 15, 2016 Thanks. Just an idea. What is the current Hard Floor? It's set to 450Mb. I should have an update by the weekend. Quote Link to comment
kizer Posted January 15, 2016 Share Posted January 15, 2016 Thanks. I'm running it now to move some stuff around to aid in my quest to format some drives to XFS. I was at first a bit skeptical, but I must say its working great. Talk about a serious time saver Time/Patience Saver One thing that threw me off and its not a complaint just for anybody who didn't catch it. My Google Chrome Browser locked up and I thought oh great files moving and now I can't stop it. Glad it runs in the background and a browser refresh simply shows you progress and nothing do with the actual moving of data. Brilliant script Quote Link to comment
Ryland Posted January 15, 2016 Share Posted January 15, 2016 I installed the plugin, went Settings->Unbalance and hit Done after making sure its set to Enabled yet it shows the Status as Stopped and I cant access the unbalance page. This is on version unBALANCE v1.2.15. Edit: I had to switch it to Enabled: No, hit Apply then Enabled: Yes and hit apply for the server to start. Edit2: Is it possible to select shares to move files from to balance then have it only as much as required to balance the disks? Quote Link to comment
kizer Posted January 16, 2016 Share Posted January 16, 2016 It doesn't per say Balance the discs. It takes everything off a Disk and spreads it amoung your other discs to clear the selected disk. For Example. I'm trying to remove all files off my Disk4 to I can format it to XFS. I selected all the shares I want moved on a particular disk in settings then to Home and clicked all the drives I want it to populate then the Calculate button to make sure it has room amoung all the discs. Click Move and it rips along. Remember its called UnBalance, not Balance. Quote Link to comment
Ryland Posted January 16, 2016 Share Posted January 16, 2016 Remember its called UnBalance, not Balance. And here I thougth he was being clever with the name making it be a Balancing plugin for Unraid..thus UnBalance Quote Link to comment
jbrodriguez Posted January 16, 2016 Author Share Posted January 16, 2016 Thanks. I'm running it now to move some stuff around to aid in my quest to format some drives to XFS. I was at first a bit skeptical, but I must say its working great. Talk about a serious time saver Time/Patience Saver One thing that threw me off and its not a complaint just for anybody who didn't catch it. My Google Chrome Browser locked up and I thought oh great files moving and now I can't stop it. Glad it runs in the background and a browser refresh simply shows you progress and nothing do with the actual moving of data. Brilliant script Thank you for the kind words kizer ! Yes, the app is a process running on the unRAID server, so closing the browser or even shutting down your workstation won't affect the move operation. When you open your browser again, it shows you the progress from that moment on. Quote Link to comment
jbrodriguez Posted January 16, 2016 Author Share Posted January 16, 2016 ... Edit: I had to switch it to Enabled: No, hit Apply then Enabled: Yes and hit apply for the server to start. ... Yes, I noticed that too. I've already fixed it in the next version (default it to "Enabled: No"). Quote Link to comment
jbrodriguez Posted January 16, 2016 Author Share Posted January 16, 2016 It doesn't per say Balance the discs. It takes everything off a Disk and spreads it amoung your other discs to clear the selected disk. For Example. I'm trying to remove all files off my Disk4 to I can format it to XFS. I selected all the shares I want moved on a particular disk in settings then to Home and clicked all the drives I want it to populate then the Calculate button to make sure it has room amoung all the discs. Click Move and it rips along. Remember its called UnBalance, not Balance. I think I might include this in the first post, it's a spot on description Quote Link to comment
kizer Posted January 16, 2016 Share Posted January 16, 2016 Lol, Your very welcome. Its kinda why I avoided this script for a while because I was trying to balance my server and thought how dumb is this script? Now I totally see the brilliance of it. Quote Link to comment
Ryland Posted January 16, 2016 Share Posted January 16, 2016 It doesn't per say Balance the discs. It takes everything off a Disk and spreads it amoung your other discs to clear the selected disk. For Example. I'm trying to remove all files off my Disk4 to I can format it to XFS. I selected all the shares I want moved on a particular disk in settings then to Home and clicked all the drives I want it to populate then the Calculate button to make sure it has room amoung all the discs. Click Move and it rips along. Remember its called UnBalance, not Balance. I think I might include this in the first post, it's a spot on description Have the ability to rebalance when the formatting is done could also be useful. You move files so that you can format the disks to the new filesystem then balance the array. Quote Link to comment
Ryland Posted January 16, 2016 Share Posted January 16, 2016 I just ran into another problem. I have 3 folders, NCIS, NCIS LA and NCIS NO, I am able to add NCIS but neither of the other two to the "Folders to be Moved" category. If I start with NCIS LA I can then move NCIS NO but not NCIS. Edit: and another problem I am seeing is receiving "rsync: failed to set times on "/mnt/disk2/TVShows/Bones": Operation not permitted (1)" on a lot of files. Quote Link to comment
danioj Posted January 17, 2016 Share Posted January 17, 2016 I'm running it at the moment, evacuating a 3TB Red that's sounding very ill. I'll let you know the results. How'd it go? Just headed over to this thread to ask the same question! Just had to say this is an excellent script. I am using to move files from a drive that has over filled to a new drive that I have just installed. If in future it can become integrated into the unRAID GUI in some way then it will be just awesome! Great work! Thank you! Quote Link to comment
jbrodriguez Posted January 17, 2016 Author Share Posted January 17, 2016 ... Have the ability to rebalance when the formatting is done could also be useful. You move files so that you can format the disks to the new filesystem then balance the array. You might want to look into consld8, which does some rebalancing. Quote Link to comment
jbrodriguez Posted January 17, 2016 Author Share Posted January 17, 2016 I just ran into another problem. I have 3 folders, NCIS, NCIS LA and NCIS NO, I am able to add NCIS but neither of the other two to the "Folders to be Moved" category. If I start with NCIS LA I can then move NCIS NO but not NCIS. ... Well, that's a bug I have a check in place to avoid including a subfolder of an already selected folder/share ... for example, it doesn't allow you to add both /movies and /movies/comedies, because /movies/comedies is contained within /movies. In the best case, it would be moving folders once (all /movies hierarchy), then throwing errors about not finding /movies/comedies in the source disk (it's already been moved) I'll have to improve the check. ... Edit: and another problem I am seeing is receiving "rsync: failed to set times on "/mnt/disk2/TVShows/Bones": Operation not permitted (1)" on a lot of files. Internally, unBALANCE uses the diskmv script, which uses rsync. I've seen rsync throw those errors when the time of a file is kind of weird ... maybe empty, maybe too far in the past or future Or probably some permission issue. Who's the owner of the "Bones" folder ? Is it nobody:users or some other user ? Quote Link to comment
jbrodriguez Posted January 17, 2016 Author Share Posted January 17, 2016 ... Just had to say this is an excellent script. I am using to move files from a drive that has over filled to a new drive that I have just installed. If in future it can become integrated into the unRAID GUI in some way then it will be just awesome! Great work! Thank you! Thank you danioj ! As for integrating, for my part all good ... except I wouldn't do it myself since I don't like php THAT much Quote Link to comment
jbrodriguez Posted January 17, 2016 Author Share Posted January 17, 2016 I've published v1.3.0. Features/Bug Fixes: It allows you to choose the reserved minimum space (in either Mb, Gb or a percentage), but still keeps a minimum hard limit of 450Mb (per kizer) It also has a better check to prevent adding a subfolder of an existing folder and finally the plugin is disabled by default (per Ryland) Quote Link to comment
Ryland Posted January 17, 2016 Share Posted January 17, 2016 Who's the owner of the "Bones" folder ? Is it nobody:users or some other user ? Bones is in the TVShow share but on the drive its now showing up as owned by "root". Whats weird is that my folders in the TVShows share show a combination of being owned by "root" or "nobody" and Im not seeing a pattern. Quote Link to comment
kizer Posted January 17, 2016 Share Posted January 17, 2016 How do you set the Reserved Space? I can't seem to find an option for it anywhere. Quote Link to comment
jbrodriguez Posted January 18, 2016 Author Share Posted January 18, 2016 How do you set the Reserved Space? I can't seem to find an option for it anywhere. It isn't showing up in the Settings page ? Quote Link to comment
Ryland Posted January 18, 2016 Share Posted January 18, 2016 How do you set the Reserved Space? I can't seem to find an option for it anywhere. It isn't showing up in the Settings page ? Its not for me after upgrading to 1.3.0 Quote Link to comment
Recommended Posts
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.