Kuleinc Posted September 27, 2022 Share Posted September 27, 2022 ok, Now that I got my cache problems worked out and the array started, I've changed the shares related to VMs and Dockers. They are too big for my main cache. I've installed a 3TB disc for these shares. I've changed the shares to use it. I've tried running mover with the docker and VMs set to no and yes, and I can't get the mover to move the files from the full cache to the appdata_cache that should be there new home with the settings I've made... What am I doing wrong? nas-diagnostics-20220927-1415.zip Quote Link to comment
trurl Posted September 27, 2022 Share Posted September 27, 2022 2 minutes ago, Kuleinc said: docker and VMs set to no and yes 'yes' is why I don't understand what you have in mind with that. Nothing can move open files. You have to disable BOTH Docker and VM Manager in Settings. Mover moves from the designated pool to the array for cache:yes shares, and moves from the array to the designated pool for cache:prefer shares. Mover ignores cache:no and cache:only shares, and won't move between pools or between array disks. Would take several steps to get this done with mover. Just use Dynamix File Manager Quote Link to comment
Kuleinc Posted September 27, 2022 Author Share Posted September 27, 2022 "Yes and no" Is in reference to the docker and VM services, at the top to turn them on and off, no is off, and yes is on. So whats the correct procedure here? Turn docker and VM services off and just copy the folder with dynamix? I don't want to mess this up, its a lot of data from my security cameras... Quote Link to comment
Kuleinc Posted September 27, 2022 Author Share Posted September 27, 2022 (edited) ok, so I ensured VM and docker were disabled and use the file manager to move the files to the new drive. I then started VM and docker services and got a server error popup, and when I check the shares they are now gone. help? Obviously I've done something wrong or missed an important step. Hopefully this can be fixed. Do I just need to recreate the shares? Edited September 27, 2022 by Kuleinc Quote Link to comment
trurl Posted September 27, 2022 Share Posted September 27, 2022 Did you move the top level folders named appdata, domains, system from the cache pool to the top level of the cache_appdata pool? Or what did you do instead? Quote Link to comment
Kuleinc Posted September 27, 2022 Author Share Posted September 27, 2022 (edited) yes, I opened the "cache" drive, ticked the boxes for each of those folders and "moved" them to the "cache_appdata" drive Edited September 27, 2022 by Kuleinc Quote Link to comment
trurl Posted September 27, 2022 Share Posted September 27, 2022 Try stopping and restarting the array Quote Link to comment
Kuleinc Posted September 27, 2022 Author Share Posted September 27, 2022 (edited) done. Still no shares 😞 reboot? The dashboard and shares tab don't list any shares. But if I look inside the drive at the folders the "size" column says "share" Edited September 27, 2022 by Kuleinc Quote Link to comment
trurl Posted September 27, 2022 Share Posted September 27, 2022 What do you get from the command line with this? ls -lah /mnt/cache_appdata Quote Link to comment
Kuleinc Posted September 27, 2022 Author Share Posted September 27, 2022 total 0 drwxrwxrwx 6 nobody users 68 Sep 27 16:11 ./ drwxr-xr-x 11 root root 220 Sep 27 16:23 ../ drwxrwxrwx 7 nobody users 129 Sep 24 18:31 appdata/ drwxr-xr-x 2 root root 6 Sep 27 16:11 domains/ drwxrwxrwx 10 nobody users 206 Dec 31 2021 system/ drwxrwxrwx 2 nobody users 6 Sep 25 08:48 zoneminder/ Quote Link to comment
trurl Posted September 27, 2022 Share Posted September 27, 2022 Post new diagnostics Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 I really appreciate your help, I know just enough linux to break things... nas-diagnostics-20220927-1737.zip Quote Link to comment
trurl Posted September 28, 2022 Share Posted September 28, 2022 What do you get from command line with this? ls -lah /mnt Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 (edited) total 16K drwxr-xr-x 11 root root 220 Sep 27 18:58 ./ drwxr-xr-x 20 root root 440 Sep 27 18:58 ../ drwxrwxrwx 1 nobody users 0 Sep 27 16:34 cache/ drwxrwxrwx 6 nobody users 68 Sep 27 16:34 cache_appdata/ drwxrwxrwx 7 nobody users 97 Sep 27 16:34 disk1/ drwxrwxrwx 5 nobody users 49 Sep 27 16:34 disk2/ drwxrwxrwt 2 nobody users 40 Sep 27 18:58 disks/ drwxrwxrwt 2 nobody users 40 Sep 27 18:58 remotes/ drwxrwxrwt 2 nobody users 40 Sep 27 18:58 rootshare/ drwxrwxrwx 1 nobody users 97 Sep 27 16:34 user/ drwxrwxrwx 1 nobody users 97 Sep 27 16:34 user0/ also to be clear I just rebooted the system and most of my dockers are working EXCEPT zoneminder which is for the security cameras, I checked the logs and it cant find the mysql database... The shares came back after a clean reboot, but zoneminder isnt working... nas-diagnostics-20220927-1909.zip Edited September 28, 2022 by Kuleinc Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 I edited the zoneminder docker and pikced the correct appdata and data paths and it removed and reinstalled the docker. Its currently running and upgrading packages, which takes a minute. I might be ok here...I'll check back in a few after it finishes updating. Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 ok. Everything appears to be working EXCEPT the zoneminder docker container. I'm getting this error in the docker log: Starting services... * Starting Apache httpd web server apache2 * * Stopping MariaDB database server mysqld ...done. * Starting MariaDB database server mysqld ...fail! Sep 27 19:25:22 3df77ed6d4be zmupdate[30490]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Sep 27 19:25:22 3df77ed6d4be zmupdate[30490]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Sep 27 19:25:22 3df77ed6d4be zmupdate[30492]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Sep 27 19:25:22 3df77ed6d4be zmupdate[30492]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Starting ZoneMinder: Sep 27 19:25:33 3df77ed6d4be zmpkg[30503]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Sep 27 19:25:33 3df77ed6d4be zmpkg[30503]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] ZoneMinder failed to start Sep 27 19:25:33 3df77ed6d4be syslog-ng[39]: syslog-ng shutting down; version='3.25.1' ** Press ANY KEY to close this window ** IT LOOKS LIKE IT CANT FIND THE DATABASE? I dont know how to find it for the container... Quote Link to comment
trurl Posted September 28, 2022 Share Posted September 28, 2022 Your appdata has some files on the array now. Also looked like domains had incorrect permissions. Do you have any VMs? What do you get from command line with this? ls -lah /mnt/user0/appdata Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 (edited) /bin/ls: cannot access '/mnt/user0/appdata~': No such file or directory I do have an ubuntu VM, I havent tried starting it yet... Also wanted to make sure you saw the zoneminder docker isnt starting... Edited September 28, 2022 by Kuleinc Quote Link to comment
trurl Posted September 28, 2022 Share Posted September 28, 2022 What do you get from command line with this? ls -lah /mnt/disk1/appdata and this? ls -lah /mnt/disk2/appdata Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 total 0 drwxrwxrwx 3 nobody users 32 Sep 24 18:31 ./ drwxrwxrwx 7 nobody users 97 Sep 27 19:09 ../ drwxr-xr-x 3 nobody users 26 Jun 3 17:04 Zoneminder/ AND: total 0 drwxrwxrwx 4 nobody users 61 Sep 24 18:31 ./ drwxrwxrwx 5 nobody users 49 Sep 27 19:09 ../ drwxrwxrwx 3 nobody users 21 Dec 31 2021 Plex-Media-Server/ drwxr-xr-x 3 nobody users 26 Jun 3 17:04 Zoneminder/ Quote Link to comment
trurl Posted September 28, 2022 Share Posted September 28, 2022 So appdata does have those folders on disk1 and disk2. And rechecking your diagnostics from the first post in this thread, I see appdata had files on those 2 array disks then. If you disable Docker in Settings and run mover, they should get moved to cache_appdata. Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 SWEET! I will try that and report back, I'm sure it may take some time... Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 (edited) Mover doesnt appear to be working, it only runs for a second, and zoneminder docker still has no database and my ubuntu server has no VM image file... Edited September 28, 2022 by Kuleinc Quote Link to comment
trurl Posted September 28, 2022 Share Posted September 28, 2022 Mover won't replace files, so if any of those files already exist on the destination they won't be moved. You can examine in Dynamix File Manager Quote Link to comment
Kuleinc Posted September 28, 2022 Author Share Posted September 28, 2022 (edited) I can’t find the files I need, theres no domains on disk 1 or disk 2, and the appdata folders are empty... as far as I can see... I did see the libvert file in /home/user/system folder I'm, not sure if I should move or where to move it to... the location column lists it as being on the "cach_appdata" folder which is where it should be??? The VM image is looking for it here: '/mnt/user/domains/Ubuntu Server for Kaspa Node/vdisk1.img' and I found it here: /mnt/cache_appdata/system/Ubuntu Server for Kaspa Node Im totally lost on my docker for zoneminder, as its a docker so I expect it to work like all the others and yet it doesnt and gives me an error about its database... I tried removing and reinstalling the docker, which usually helps, and it did not help this time... Edited September 28, 2022 by Kuleinc 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.