jbrodriguez Posted November 22, 2019 Author Share Posted November 22, 2019 1 hour ago, sota said: Is there a technical reason unBALANCE can't see (or work with) unassigned devices? I have a lot of "scratch" work I need to do on a good collection of files spread across multiple devices, but would prefer not to pound on the array until I'm done folding/spindling/mutilating the collection, and then move everything on to the array in one big shot. Thanks. I think it can work with UD, haven't really thought about it, I think it will come down to how they're mounted .... as a first level estimate, I think it would take a lot of work in terms of touching some of the core functionality ... I'll give it a look when I work on it. Quote Link to comment
sota Posted November 23, 2019 Share Posted November 23, 2019 Cool. It's not a massive screaming deal, as I could probably do it "by hand" so to speak (console.) I just thought it curious that it didn't show UD's, but it does show the array disks individually, and the cache as a collective. Quote Link to comment
Thebadmf Posted November 23, 2019 Share Posted November 23, 2019 (edited) Hi there 1st time using this plugin and I'm frankly not sure if it's working. I've ran the fix permissions plugin and as per the screenshot as I'm trying to move data from disk 3 to disk 2 but when I click plan, the highlighted icon in the top right just animates and nothing else. Move and Copy have 'no entry' signs on mouseover. I've left it for 30 minutes and nothing else happens. Am I doing something wrong? Oh and all dockers are stopped, Mover had its schedule changed to 1st of the month. No VM's. No parity checking. Edited November 23, 2019 by Thebadmf clarification Quote Link to comment
jbrodriguez Posted November 23, 2019 Author Share Posted November 23, 2019 It should be doing something Can you check the log (/boot/logs/unbalance.log) for any clues ? Quote Link to comment
Thebadmf Posted November 24, 2019 Share Posted November 24, 2019 14 hours ago, jbrodriguez said: It should be doing something Can you check the log (/boot/logs/unbalance.log) for any clues ? Sorry, I'm new at this. I loaded up Krusader and went to nobody/boot but the folder was empty. Am I in the right place? Quote Link to comment
bastl Posted November 24, 2019 Share Posted November 24, 2019 @Thebadmf Either enter the following into a command line directly on unraid Quote nano /boot/logs/unbalance.log Or go to the "Main" page in unraid and click the folder icon all the way on the right behind your unraid flash device and go into the "logs" folder to find the unbalance.log file Quote Link to comment
Thebadmf Posted November 24, 2019 Share Posted November 24, 2019 3 hours ago, bastl said: @Thebadmf Either enter the following into a command line directly on unraid Or go to the "Main" page in unraid and click the folder icon all the way on the right behind your unraid flash device and go into the "logs" folder to find the unbalance.log file Thanks! Logs confirm it did nothing yesterday and I reinstalled the plugin this morning. unbalance.log Quote Link to comment
jbrodriguez Posted November 24, 2019 Author Share Posted November 24, 2019 Yes, it's doing absolutely nothing ... So two ideas - Can you try on another browser ? - Try opening the developer tools to check for any errors on the javascript console. The log is pretty much empty, it's very odd that it got to the point of showing the progress widget, yet nothing was written to the log. Quote Link to comment
Thebadmf Posted November 25, 2019 Share Posted November 25, 2019 7 hours ago, jbrodriguez said: Yes, it's doing absolutely nothing ... So two ideas - Can you try on another browser ? - Try opening the developer tools to check for any errors on the javascript console. The log is pretty much empty, it's very odd that it got to the point of showing the progress widget, yet nothing was written to the log. Uh. never had any issues with unraid and chrome but using firefox has resumed normal operation. Thanks. FYI I'm using the latest version of Chrome. Thanks for all your help. Quote Link to comment
NLS Posted November 26, 2019 Share Posted November 26, 2019 (edited) Is it possible to make unBALANCE actually inform us what it is doing, because in some cases it doesn't? More specifically, right now I am waiting seemingly forever (I don't think it is stuck though), to produce me a list of target destinations for a "Gather" task (only one of the disks popped early, waiting for the rest). If I select root folders (shares), it is usually fast. If I select to gather some deeper folder, it slows down considerably. I don't have an issue with it taking its time (if it cannot be faster), but I would really like to know what it does. In my case, possibly which disk/folder it scans currently to list my targets. Note that I really have space on more disks (and I already actually know the destination I want to choose and I am just waiting for unBALANCE to list it and allow me to tick it). EDIT: Erm... I actually redid this and this time it made a dark "window" listing progress and finished way faster. So something stuck the first time? Edited November 26, 2019 by NLS Quote Link to comment
jbrodriguez Posted November 28, 2019 Author Share Posted November 28, 2019 Hi, it's possible ! Critters in the software Quote Link to comment
sota Posted November 28, 2019 Share Posted November 28, 2019 So I recently had the no activity when planning problem pop up too. I tried uninstalling all the extra plugins I have, one by one: File Activity CA Mover Tuning Open Files Fix Common Problems Dynamix SSD Trim Dynamix System Temperature Nerd Tools ... to no effect. I then uninstalled an reinstalled unBALANCE, and it started working again. Finally, I reinstalled all my other plugins, one by one, and tested after each. unBALANCE worked fine after all of them. Quote Link to comment
rvoosterhout Posted November 28, 2019 Share Posted November 28, 2019 I got the same issue where that I can't uncheck the dryrun box. I changed the RSYNC flags, restarted the plugin a few times, reinstalled the plugin but nothing works. I'm running unraid version 6.7.2. I created a pastebin from the log: https://pastebin.com/PxZT3wMJ Is there any other thing I can try? Quote Link to comment
NLS Posted November 28, 2019 Share Posted November 28, 2019 2 hours ago, sota said: So I recently had the no activity when planning problem pop up too. I tried uninstalling all the extra plugins I have, one by one: File Activity CA Mover Tuning Open Files Fix Common Problems Dynamix SSD Trim Dynamix System Temperature Nerd Tools ... to no effect. I then uninstalled an reinstalled unBALANCE, and it started working again. Finally, I reinstalled all my other plugins, one by one, and tested after each. unBALANCE worked fine after all of them. I think that was a bit too much. Quote Link to comment
jbrodriguez Posted November 28, 2019 Author Share Posted November 28, 2019 5 hours ago, rvoosterhout said: I got the same issue where that I can't uncheck the dryrun box. I changed the RSYNC flags, restarted the plugin a few times, reinstalled the plugin but nothing works. I'm running unraid version 6.7.2. I created a pastebin from the log: https://pastebin.com/PxZT3wMJ Is there any other thing I can try? Hi, you need to enable the plan button first, by selecting one of the source/destination folders/disks. Quote Link to comment
rvoosterhout Posted November 29, 2019 Share Posted November 29, 2019 10 hours ago, jbrodriguez said: Hi, you need to enable the plan button first, by selecting one of the source/destination folders/disks. Ah yeah, got it! I completely looked over it. I though when you run a dry run, after that you can uncheck the dryrun box. Thanks for the quick response! Quote Link to comment
gfjardim Posted December 2, 2019 Share Posted December 2, 2019 On 11/22/2019 at 7:28 PM, jbrodriguez said: I think it can work with UD, haven't really thought about it, I think it will come down to how they're mounted .... as a first level estimate, I think it would take a lot of work in terms of touching some of the core functionality ... I'll give it a look when I work on it. If you need some help, maybe a json or ini file pointing which disks are currently mounted by UD, I can help with that. Quote Link to comment
jbrodriguez Posted December 3, 2019 Author Share Posted December 3, 2019 12 hours ago, gfjardim said: If you need some help, maybe a json or ini file pointing which disks are currently mounted by UD, I can help with that. Hey thanks ! That would certainly help. Is there something like that already or you would need to create it (json or ini file) ? Quote Link to comment
gfjardim Posted December 3, 2019 Share Posted December 3, 2019 5 minutes ago, jbrodriguez said: Hey thanks ! That would certainly help. Is there something like that already or you would need to create it (json or ini file) ? I have to create it. Which information you need there? Quote Link to comment
sota Posted December 3, 2019 Share Posted December 3, 2019 On 11/22/2019 at 5:28 PM, jbrodriguez said: I think it can work with UD, haven't really thought about it, I think it will come down to how they're mounted .... as a first level estimate, I think it would take a lot of work in terms of touching some of the core functionality ... I'll give it a look when I work on it. 21 hours ago, gfjardim said: If you need some help, maybe a json or ini file pointing which disks are currently mounted by UD, I can help with that. 9 hours ago, jbrodriguez said: Hey thanks ! That would certainly help. Is there something like that already or you would need to create it (json or ini file) ? 9 hours ago, gfjardim said: I have to create it. Which information you need there? <John "Hannibal" Smith> I love it when a plan comes together. </John "Hannibal" Smith> 1 Quote Link to comment
jbrodriguez Posted December 3, 2019 Author Share Posted December 3, 2019 9 hours ago, gfjardim said: I have to create it. Which information you need there? Generally speaking something resembling `/var/local/emhttp/disks.ini`, json would definitely be better. I'm checking the code and I seem to use most of the fields for each disk entry. Also, array disks are mounted under /mnt (/mnt/disk1, etc.). Is that the case for UD disks ? It does look like the code will require some precision surgery to add UD, but I'm willing to give it a go as soon as I can spare some time. Quote Link to comment
dlandon Posted December 3, 2019 Share Posted December 3, 2019 9 minutes ago, jbrodriguez said: Is that the case for UD disks ? UD disks are mounted at /mnt/disks/. Quote Link to comment
jbrodriguez Posted December 3, 2019 Author Share Posted December 3, 2019 Hey, I remembered I worked with dlandon, to enable UD support on ControlR and we added an 'endpoint' to get the UD drives on a server. I think someone sent me the output of this endpoint, that I used to lay out the data types I'd still need to invoke that endpoint with a valid csrf_token (and auth cookie I think?), but will look into it some more // { // "automount": true, // "avail": 1354998996992, // "command": false, // "command_bg": false, // "device": "/dev/sdf1", // "disk": "/dev/sdf", // "fstype": "xfs", // "label": "Mercury_Elite_Pro_Elite_Pro", // "logfile": "/tmp/unassigned.devices/.log", // "luks": "/dev/sdf1", // "mountpoint": "/mnt/disks/deluge", // "openfiles": "39\n", // "owner": "user", // "part": "1", // "prog_name": "", // "serial": "ugeneric", // "serial_short": "ugeneric", // "shared": true, // "size": 2999127797760, // "target": "/mnt/disks/deluge", // "used": 1644128800768 // } export interface IPartition { automount: boolean avail: number command: boolean command_bg: boolean device: string disk: string fstype: string label: string logfile: string luks: string mountpoint: string openfiles: string owner: string part: string prog_name: string serial: string serial_short: string shared: boolean size: number target: string used: string } // "device":"\/dev\/sdi","type":"ata","partitions":[],"temperature":"","size":18253611008,"serial_short":"09000000000000000001","serial":"VMware_Virtual_SATA_Hard_Drive_09000000000000000001 export interface IDevice { device: string type: string partitions: IPartition[] temperature: string size: number serial_short: string serial: string } Quote Link to comment
gfjardim Posted December 4, 2019 Share Posted December 4, 2019 2 hours ago, jbrodriguez said: Generally speaking something resembling `/var/local/emhttp/disks.ini`, json would definitely be better. I'm checking the code and I seem to use most of the fields for each disk entry. Also, array disks are mounted under /mnt (/mnt/disk1, etc.). Is that the case for UD disks ? It does look like the code will require some precision surgery to add UD, but I'm willing to give it a go as soon as I can spare some time. I've added a code to UD to export mounted devices information at /var/state/unassigned.devices/unassigned.devices.json . Will be available on the next UD update, I hope. 1 Quote Link to comment
jbrodriguez Posted December 4, 2019 Author Share Posted December 4, 2019 1 hour ago, gfjardim said: I've added a code to UD to export mounted devices information at /var/state/unassigned.devices/unassigned.devices.json . Will be available on the next UD update, I hope. Awesome ! That sounds very easy to consume, thanks ! 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.