Jump to content

jbrodriguez

Community Developer
  • Posts

    1,967
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by jbrodriguez

  1. Thanks for the comments lishpy ! I'll take a look at the link opening code, to see if I can use ip address rather than hostname (probably, that's what's happening to huladaddy too). I'm a bit tied up until the end of next week, but I'll look into it. no idea what the webUI page is, but if you just have it as another .page file, then reference it as Settings/webUI and dynamix will handle everything for you... (turn on help, and look at the link for CA's manual, and look at caHelp.page Squid, in the settings page, when the app is started, there's a link to the app's user interface ... it's opens a new window/tab with the server's hostname, rather than ip address, I'm not sure if there's an env variable that holds the ip address can't you just do <a href="/settings/Unbalance.page" target="_blank"> and have unraid figure it out for itself? IIRC the browser will correctly go to either the IP or to the hostname depending upon how the originating page was loaded. I'll look tonight. don't remember why I was trying env variables, but your suggestion seems saner, will check it too
  2. Thanks, It's great that you made that, I'll give it a shot. My only other question now is whether it's possible to pause or stop unBALANCE after you start it. You can't stop it right now, except for killing the unbalance process and the rsync processes from the command line. unBALANCE will go down gracefully as soon as it is interrupted, but rsync will go down hard. Having said that, I think it's possible to add stopping the plugin in the middle of a move operation. I need to look at some scenarios to see how it might work. I don't know if the stock mover can be stopped as well ... it would help to check out how they did it, if they did
  3. hi smashingtool, Do you see anything out of the ordinary in either unraid's or unbalance's logs ? The heart of the operation is an rsync command, any error it might come up with should be written to the log. But rsync can also slow down/pause with a failing disk. Let me know if you find any other evidence of what might have happened.
  4. No point in using remove-source-files if you are planning on formatting the disk anyway. Copying vs moving is much faster. I have: Parity Disk1 - XFS Disk2 - RFS Disk3 - RFS Disk4 - RFS Disk5 - XFS (New drive, no user shares) I've just done Disk1, my plan is to use Disk 5 as a placeholder while I empty RFS drives followed by reformatting. So I'm using unBalance to move files from the RFS disk to my placeholder. Then I reformat it to XFS. Since there are no user shares on the placeholder, I can't use unBalance. I have a specific requirement for having a certain type of file/shares on certain disks, otherwise I wouldn't be moving them back. Should I use the diskmv script diskmv -f "" disk1 disk2 instead or maybe just mv mv /mnt/disk1/ /mnt/disk2 ? Hi CRD, If you're copying disk to disk, which means you have available space on the target disk, I would suggest doing a straight rsync copy .... there's a thread somewhere in the forums about this same topic (rfs to xfs transfer)
  5. Hi Unqualified Spectator, thanks for your kind words ! I really haven't thought about a use case where you're just copying files, not moving them. I'd like to share how I came up with the idea for this app/plugin The thing is .... I regularly deleted low quality content that I replaced with higher quality stuff or even deleted some content that I found uninteresting. This made some disks in my array to get some free space, which was wasted. But manually calculating which folders I could move from other disks to use that space was not scalable. I think I half did it one time And so ... unBALANCE was born ! I'll take a look at the idea over the weekend, but it does seem like a different concept.
  6. Thanks for the comments lishpy ! I'll take a look at the link opening code, to see if I can use ip address rather than hostname (probably, that's what's happening to huladaddy too). I'm a bit tied up until the end of next week, but I'll look into it. no idea what the webUI page is, but if you just have it as another .page file, then reference it as Settings/webUI and dynamix will handle everything for you... (turn on help, and look at the link for CA's manual, and look at caHelp.page Squid, in the settings page, when the app is started, there's a link to the app's user interface ... it's opens a new window/tab with the server's hostname, rather than ip address, I'm not sure if there's an env variable that holds the ip address
  7. Thanks for the comments lishpy ! I'll take a look at the link opening code, to see if I can use ip address rather than hostname (probably, that's what's happening to huladaddy too). I'm a bit tied up until the end of next week, but I'll look into it.
  8. I have the same problem -- blank page. Is there another way of getting unBalance to run? I am currently preclearing four disks and can't restart unraid. Hi huladaddy, not sure why you come up with a blank page. If the plugin is running (it shows the green Open Web ui link), you should be able to access it via either http://ip:6237/ or http://hostname:6237/, following whatever addressing scheme you have in your network. Does the log show that it's actually running (/boot/logs/unbalance.log) ?
  9. Yes, it copies then deletes. diskmv has a clobber option (-c "clobber, duplicates on destination will be overwritten"), but I'm not sure how sensible it would be to use it in the general case.
  10. Not sure why it doesn't pick up the latest version, unless you reboot or start/stop the plugin. I'll check the install/upgrade code.
  11. It isn't showing up in the Settings page ?
  12. 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)
  13. 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
  14. 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. 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 ?
  15. You might want to look into consld8, which does some rebalancing.
  16. I think I might include this in the first post, it's a spot on description
  17. Yes, I noticed that too. I've already fixed it in the next version (default it to "Enabled: No").
  18. 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.
  19. It's set to 450Mb. I should have an update by the weekend.
  20. 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.
  21. Good ! In addition to Squid, I'd like to thank dlandon (powerdown) and dmacias (shellinabox), from who I shamelessly stole plugin code to make it work
  22. Thanks jamescarlos ! As for the icon size, I thought I had _specifically_ solved that issue Is it possible that your browser is reading the old copy of the image (it was that big before). Can you try a hard refresh (Cmd + R on a Mac, I think it's Ctrl + R on Windows), and let me know if that solves it ?
  23. Ok, I think I solved the UI and startup issues with version 1.2.14. Let me know of any issues.
  24. your unbalance.page is trying to put the icon on the UserUtilities menu. It should actually be Utilities (That reference tells dynamix to find the Utilities.page file which is an OS file and put the icon there. Once that's fixed, then you've got an issue with the size of the icon. (The icons displayed by dynamix aren't resized automatically and have to be the correct size (I believe 48x48). Note that this is the local version of the icon. The URL you use in the template for CA can be any size (as it resizes everything to 96x96) Thank you Squid, yeah ... that was part of the problem
  25. I've uploaded version 1.2.12. I'm still learning how the plugin system works, so please bear with me for the next few days I've added the settings page, but it's not fully working yet. I'll keep looking into it. For now, stop/start the array to get the app running, then go to http://IP:6237/
×
×
  • Create New...