Albin

Members
  • Posts

    120
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Albin's Achievements

Apprentice

Apprentice (3/14)

1

Reputation

  1. I recently Shrank the amount of disk in my array but increased the capacity of the array (more TB with fewer disks). During this transition, I used unBalance to move everything off the drives that I intended to remove from the array. After moving all the files off the drives, I specifically included "disk 3" for every share. After having the disks empty I Replaced one with a higher capacity, and in a separate process I removed one (then used the "New Config" tool). This multi step process took my array from (2) 4TB parity disks and (4) 4TB drives to a larger array of (2) 18TB parity disks, (1) 16TB Data drive and (1) 18TB data drive. Step one replaced parity drives Step two replaced "disk 3" with 16TB Step three used Unbalance to move everything off of "disk 1" and "Disk 2" on to "Disk 3" Step four Change shares to include "disk 3" Step three replaced "disk 4" with 18TB (realized that I needed more room because the new 16TB was full) The problem I ran into is I originally had party 4TB party 2 4TB disk 1 4TB disk 2 4TB disk 3 4TB replaced with 16TB (specifically included in every share) disk 4 4TB replaced with 18TB but now have party 18TB party 2 18TB disk 1 18TB was "disk 4" disk 2 16TB was "disk 3" Although I have more space, unraid I can't write to the shares because there is not enough room. When I go into shares>included disk it states "all" and for excluded disks it states "none". I am wondering if somehow unraid is still only including the one particular disk "disk 3" which is actually "disk 2" after running the "new config" tool. ("disk 3" became "disk 2" and "disk 4" became "disk 1"). When going to share>disks included it does not show "disk 3" as marked, What seems to fix this is to specifically include all disks. Then I can write to the share. I then uncheck the disks included and hit apply, and can still write to the share. Fix Common Problems shows each share as having an error. Once I change the share to include any available disk, the Error is no longer present after a rescan. (I see that fix "common problems" eludes to this or a similar issue "disk3 is not defined / installed in the array. This will cause errors when writing to the array. Fix it here: "link to share" NOTE: Because of how the UI works, disk4 will not appear in on this page. You will need to make a change (any change), then revert the change and hit apply to fix this issue" Just seems like Unraid should know "disk 3" and "disk 4" should no longer be part of the included disks. Or at a minimum there should be a batch reset option, or some type of blanket reset option for this. I keep thinking maybe I should have reset the "disks included" prior to the new config, but I also did not want something to write to one of the shares and end up with data on the emptied disks. I hope that I laid the above out well enough to be understood. For now I will just check the "disks included" option and hit apply, then go back and uncheck them and hit apply again, which seems to set things straight.
  2. Perfectly explained. I really appreciate it. I was over thinking this. Now I need to get the dev devices converted over to images so the VM tab loads faster, and I can get rid of all those error showing in the libvirt log. Thanks again.
  3. I recently noticed after running diagnostics at the command line, that my libvirt log file is reporting bunch of missing iso, img, and dev/disk/ (physical disks). I intentionally moved some VM images off the cache pool to save on room. (I move them back to the cache pool when I want to use that particular VM. It appears to me that when you browse to the VM tab, this executes some type of search or query to see if all the iso's, images, and dev devices are in their rightfully place, which may also explain why in my case it takes a little bit of time for the VM page to load, (it is not finding what it is looking for). here are 2 lines from the libvirt.txt file (see attached full log) 2022-06-08 14:55:32.602+0000: 14124: error : virQEMUFileOpenAs:11519 : Failed to open file '/dev/disk/by-id/ata-MKNSSDRE500GB_MK17052310036411A': No such file or directory 2022-06-08 14:55:35.245+0000: 14125: error : virFileIsSharedFixFUSE:3337 : unable to canonicalize /mnt/user/domains/sagerrecoveryuae/vdisk1.img: No such file or directory This may not be possible, but I will through it out there any way. Why not do the search for the files when you go to start or edit one particular vm instead of search for all the images and isos when you browse to the VM tab. (I typically do not have the disk drives section view for each vm expanded) (I like the compact view and expand the view as needed) I may be a "one off case" for this, meaning everyone else has room to spare on their cache pool, and they do not need to get rid of or move less frequently used items off the cache pool. There may also be a better way to handle this particular situation. I am guessing there is no "VM Mover app". (an app that would invoke moving a VM to the cache pool along with all the iso, images, xml, nvram, and any other items for the VM), then once you are done with the VM you invoke a move to return it to the desired share on the array. I am guessing this could be done with "user scripts". I will need to learn some more about user scripts before I can pound out anything like that in script format, and I am surely not ready to make an app for this. In the meantime I am remapping the isos or images to a share on the array that I have set up for this, but this does not eliminate the errors I get in the libvirt log for missing physical drives. I have some VMs that are currently physical drives and only get connected and mounted to the server when I want to spin up that vm. I need to convert the physical disks to images. Just wondering if anybody else is moving VM images off their cache pool (but leaving their VM settings and in place) and moving it back when needed. For now I am remapping the images stored on the array, to see if this speeds up load time for my VM tab. Maybe this will help someone else out. libvirt.txt
  4. Dynamix File Manager version is 2022.06.07 ACE version is showing under DFM release notes as version 1.5.3 The error time stamp is at the exact same time I browse to view the syslog server log at the following extension/link: http://192.168.2.209/Shares/Browse?dir=/mnt/user/SysLogs So every time I check the syslog file, a new error entry appears with the current time stamp. I will ignore the error as you recommended, but I can't help but wonder what else is needing to get to /usr/local/emhttp/ or /usr/local/emhttp/plugins I can't find the directory emhttp. Is there a way to browse to this to see if it exists and what is actually there. I am guessing this path exists, but I don't know enough to get to it. I do see the go script calls for # Start the Management Utility /usr/local/sbin/emhttp & which is not the same path as usr/local/emhttp This may be completely unrelated but I opened terminal and ran php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -vv which had a server response of ✅ Signed in to Unraid.net as usernamehere Use SSL is no ⚠️ Rebind protection is enabled for myunraid.net Local Access url: http://Tower.local ⚠️ hash.myunraid.net does not resolve to an IP address, it should resolve to 192.168.2.209 then I ran ping www.hash.unraid.net note for others: actual hash value not shown The response was: ping: hash.myunraid.net: Name or service not known not sure if this has anything to do with emhttp That's all I got for now. Thanks again for your reply and help
  5. I am really liking this integrated feature. Thanks! I recently started using syslog because I am having some weird behaviors going on. After getting syslog server up and running I am seeing the following error Jun 9 07:22:33 Tower2 nginx: 2022/06/09 07:22:33 [error] 9167#9167: *895418 open() "/usr/local/emhttp/plugins/dynamix.file.manager/javascript/ace/mode-log.js" failed (2: No such file or directory) while sending to client, client: 192.168.2.104, server: , request: "GET /plugins/dynamix.file.manager/javascript/ace/mode-log.js HTTP/1.1", host: "192.168.2.209", referrer: "http://192.168.2.209/Shares/Browse?dir=/mnt/user/SysLogs" I am not sure if /usr/local/ is the same as root/usr/local but when looking around for emhttp, I do not see it. I am guessing it is there, I just don't know enough to know where to look for it. I am not sure if how I set up sys log is part of the problem or not. here are the settings for syslog server: Local syslog server: Enabled UDP 514 Local syslog folder: SysLogs Local syslog rotation: Disabled Remote syslog server: 192.168.2.209 UDP 514 Mirror syslog to flash: No I have several errors showing up in various location in the diagnostics. I am trying to knock them out one at a time. Thanks for any push you can give me in the correct direction. tower2-diagnostics-20220609-0738.zip
  6. This may or may not help. I recently upgraded from 6.8.3 to 6.9.1 and windows was extremely slow. I did the following: Opened Control Panel > Programs and Features > Turn Windows features on or off (upper left corner) (or just open windows and search for Features and it should show) Unchecked everything under "Hyper-V" (I Run Unraid with VMs, but I do not Run Unaid with VMs that Run VMs (nested VMs) so I do not need this feature) Checked the box "Windows Subsystem for Linux" I think this is referred to as WSL I also hear people refer to WSL2 but I currently do not see that as an option I do have other boxes that I have checked when creating the VM a long time ago, but I do not think they are related to this issue. I then rebooted and The slowness that I was having and CPU usage issues went away (very snappy now). Hope this helps. Be sure to back up your VM image before attempting this.
  7. Ability to assign Alias Names to USB Devices, to allow for easier mapping or allocating of devices in VMS. If you have 2 or 3 keyboards, 2 or 3 mice, CD rive, USB security dongles, USB card readers, it can get a little confusing when you are trying to assign devices to VMS especially if some of them are made by the same manufacture. With the ability to assign aliases, this process would be a lot easier. If this already exists, I am not aware of it.
  8. I just checked the File Activity log and it appears to be working.
  9. I uninstalled and reinstalled the file activity plugin. I also made sure that flash\config\plugins\file.activity did not exist at the time of reinstall. After re-installation, I started file activity, but I do not see any logs or results, even after hitting refresh. Status shows as running. I did adjust my inotify value (from 524288 to 2524288) with tips and tweaks (thanks for the tips and tweaks plugin!) I can't figure out why do not get results with file activity. I attached the diagnostics. Thanks for any insight into this. tower2-diagnostics-20190717-1617.zip
  10. I am having the same issue. I have a share called "Main" that I created years ago and have had no problems accessing it until today. I attempted a reboot of my windows 10 machine, then the server and the win10 machine, and neither helped. I thought it was a SMB issue, but after some trouble shooting I realized that I could access some child folders and but not all child folders but I could not drill down from parent to child: I could access Main\Downloads\folder1 (I had to type it out or use an existing shortcut to the location) I could access Main\Downloads\folder2 (I had to type it out or use an existing shortcut to the location) I could not access Main\Downloads\folder3 (this folder has files on the cache drive folder1 and folder2 do not have files on cache drive) I cannot access Main\Downloads (I am guess it is because of folder3 having files on the cache drive) I can Main\ (which I would have thought I would not be able to because of folder3 having files on the cache drive) I invoked mover to see what this would do, but it did not seem to help. I installed the "Tips and Tweaks" Plugin and changed my "Max Watches 'fs.inotify.max_user_watches'" from 524288 to 2524288 (just added a 2 to the front of the default value, and will play around with this value over time, if need be.) see Still not enough inotify watches? As soon as I adjusted the inotify value, I could access folder1, folder2 and any other problem folder I had. Not sure if these will help but I attached the diagnostics file before and after the inotify changes. Unfortunately I invoked mover and also adjusted the inotify value with in minutes of each other, so I am not certain which of the changes allowed access to the offending folders. Thanks dlandon for the plugin Tips and Tweaks ! tower2-diagnostics-20190717-1617.zip tower2-diagnostics-20190717-1454.zip
  11. Very Helpful Squid! Thanks. I first tried newperms on a particular share, but it did not seem to fix an issue I was having with some old backups that I am trying to purge. I ended up using chmod -R 0777 /mnt/user/SHARENAME There seems to be files that this does not work on. I have not completely narrowed it down, but it seems it is either extremely long file names, file names with special characters, or folders with special characters that the command is not working on (I thought it also had to do with files or folders that had spaces in them but that does not seem to be the case. Is there a command that can be added as a catch all for those type conditions? OR is there a way to strip special characters from file names, or truncate long file names?
  12. Attempting to dig some more on this and get this working, I noticed in an error log something about certificate/s. Could my issue be related to SSL Certificates. It looks like there are a cert.crt, with cert.key file but it is under apache keys.
  13. Hey, I am struggling to get this going. Here is what I have: Unraid 6.3.5 Apache Web Server to serve up the VirtualBox GUI interface instead of using commandline phpVirtualBox GUI for virtualbox Virtualbox Unraid go script edited to change unraid GUI to port 81 /usr/local/sbin/emhttp -p 81 & Rebooted Apache is installed to /mnt/user/appdata/apache with Host port 1 set to 80 Host port 2 set to 443 phpVirtuabox phpvirtualbox-5.0-5 dwonloaded and unzipped to /mnt/cache/appdata/apache/www/phpvb changed config.php-example to config.php removed # commenting out line: var $noAuth = true; (not really needed) Virtualbox Virtualbox v5.1.22 local version and installed version virtualbox extension v5.1.22 local version and installed version virtualbox guest additions local version and NOT showing an installed version virtualbox plugin v2017.05.19e VirtualbBox symbolic link set to: /boot/custom/vbox (Two things I do not see this folder on unraid and do I need to change this location so it is not on the flash drive?) (I created the folder "custom" and then added the folder "vbox" to get /boot/custom/vbox .... not sure if this is needed) vboxwebsrv host IP: 127.0.0.1 vboxwebsrv Port 18083 Vboxwebserver log file location /boot/config/plugins/virtualbox/vbox (verbose mode YES) (just checked this location on the flash drive and there is no folder "vbox" under /boot/config/plugins/virtualbox) (I added the folder "vbox" ..... not sure if this is needed) (after doing the below and watching the folder, nothing appeared in vbox....) Starting VirtualBox plugin: Went to Dockers and Started Apache Went to Plugins and Clicked "Start vboxwebsrv" Opened a New Chrome Tab and went to http:\\tower/phpvb/ or IP Address/phpvb By the way I have no VM's running plenty of Ram and space, and once I start the above process, I have to use terminal to do a "PowerDown" this process locks up the gui screen and I can not gain access to any part of gui from any computer or from the screen connected to the tower. At the very bottom of the Virtualbox plugin tab it says: "/opt/VirtualBox/VBoxManage setproperty websrvauthlibrary null vboxwebsrv service started" I saw the phpVirtualbox GUI but it was light (still loading) after waiting five minutes or so I refreshed and then the light outline of the GUI shows for a second and then goes away and does not come back and I get the message: "An error occurred communicating with your vboxwebsrv. No more requests will be sent by phpVirtualBox until the error is corrected and this page is refreshed. The details of this connection error should be displayed in a subsequent dialog box." and the message: "Could not connect to host (http://127.0.0.1:18083/)[code] Exception Object ( [message:protected] => Could not connect to host (http://127.0.0.1:18083/) [string:Exception:private] => [code:protected] => 64 [file:protected] => /config/www/phpvb/endpoints/lib/vboxconnector.php [line:protected] => 220 [trace:Exception:private] => Array ( [0] => Array ( [file] => /config/www/phpvb/endpoints/lib/vboxconnector.php [line] => 5763 [function] => connect [class] => vboxconnector [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /config/www/phpvb/endpoints/lib/vboxconnector.php [line] => 951 [function] => remote_vboxGroupDefinitionsGet [class] => vboxconnector [type] => -> [args] => Array ( [0] => ) ) [2] => Array ( [file] => /config/www/phpvb/endpoints/api.php [line] => 316 [function] => __call [class] => vboxconnector [type] => -> [args] => Array ( [0] => vboxGroupDefinitionsGet [1] => Array ( [0] => [1] => Array ( [0] => Array ( [data] => Array ( [responseData] => Array ( ) ) [errors] => Array ( ) [persist] => Array ( ) [messages] => Array ( ) ) ) ) ) ) [3] => Array ( [file] => /config/www/phpvb/endpoints/api.php [line] => 316 [function] => vboxGroupDefinitionsGet [class] => vboxconnector [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => Array ( [data] => Array ( [responseData] => Array ( ) ) [errors] => Array ( ) [persist] => Array ( ) [messages] => Array ( ) ) ) ) ) ) [previous:Exception:private] => ) Location:http://127.0.0.1:18083/ [/code] Here is the first several lines of my vboxwebsrv.log file: VirtualBox web service 5.1.22 r115126 linux.amd64 (Apr 28 2017 16:59:05) release log 00:00:00.001416 main Log opened 2017-08-27T11:56:00.979746000Z 00:00:00.001419 main Build Type: release 00:00:00.001422 main OS Product: Linux 00:00:00.001423 main OS Release: 4.9.30-unRAID 00:00:00.001424 main OS Version: #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 00:00:00.001467 main DMI Product Name: CYPRESS11 00:00:00.001477 main DMI Product Version: 1.0 00:00:00.001551 main Host RAM: 128913MB (125.8GB) total, 107021MB (104.5GB) available 00:00:00.001556 main Executable: /opt/VirtualBox/vboxwebsrv 00:00:00.001557 main Process ID: 83003 00:00:00.001558 main Package type: LINUX_64BITS_GENERIC 00:00:00.006024 main IPC socket path: /tmp/.vbox-root-ipc/ipcd 00:00:00.014135 main Pumping COM event queue 00:00:00.014159 main Pumping COM event queue 00:00:00.014250 Watchdog Watchdog thread started 00:00:00.014262 Watchdog Watchdog: sleeping 5 seconds 00:00:00.014963 SQPmp Socket connection successful: host = 127.0.0.1, port = 18083, master socket = 12 00:00:05.014420 Watchdog Watchdog: checking 0 websessions 00:00:05.014458 Watchdog Statistics: 0 websessions, 0 references 00:00:05.014474 Watchdog Watchdog: sleeping 5 seconds 00:00:10.014603 Watchdog Watchdog: checking 0 websessions 00:00:10.014656 Watchdog Watchdog: sleeping 5 seconds 00:00:15.014332 main Pumping COM event queue 00:00:15.014747 Watchdog Watchdog: checking 0 websessions 00:00:15.014772 Watchdog Watchdog: sleeping 5 seconds It just repeats from here on out (checking and sleeping) I feel I am close, but I just can't get it working. Any pointers would be greatly appreciated. I am looking forward to using this! EDIT: The VirtualBox Plugin page finally gave me the option (buttons) to Restart or shutdown virtualbox (but it took forever) Thanks, Albin