Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trying to move appdata, domains, and system to a different share

Featured Replies

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

Solved by Kuleinc

  • Community Expert
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

  • Author

"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...

  • Author

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 by Kuleinc

  • Community Expert

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?

  • Author

yes, I opened the "cache" drive, ticked the boxes for each of those folders and "moved" them to the "cache_appdata" drive

Edited by Kuleinc

  • Community Expert

Try stopping and restarting the array

  • Author

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 by Kuleinc

  • Community Expert

What do you get from the command line with this?

ls -lah /mnt/cache_appdata

 

  • Author

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/

  • Community Expert

What do you get from command line with this?

ls -lah /mnt

 

  • Author

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 by Kuleinc

  • Author

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.

  • Author

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...

  • Community Expert

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

 

  • Author

/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 by Kuleinc

  • Community Expert

What do you get from command line with this?

ls -lah /mnt/disk1/appdata

and this?

ls -lah /mnt/disk2/appdata

 

  • Author

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/

  • Community Expert

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.

 

  • Author

SWEET! I will try that and report back, I'm sure it may take some time...

  • Author

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 by Kuleinc

  • Community Expert

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

  • Author

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 by Kuleinc

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.