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.

[solved] Cannot change cache pool of my existing user shares

Featured Replies

Hello, here is the summary: I have two pools. I want to change the cache pool of a user share to use a different pool. I can select the pool I want, but the share continues to use the old pool.

 

Version 6.9.2 2021-04-07

 

I have two pools. One is a SSD, the other one is a NVME.

 

image.png.845ca005a0634cf70814541a9c27e72b.png

 

I have the default user shares.

 

image.thumb.png.12b1485aca4edda2014cdb3508cdf28f.png

 

By default they are all using the "General" cache pool. I want to switch all of them except "isos" to the "Speed" pool. When I edit the shares I can select the cache pool I want. But the change is not performed. The selected cache is shown correctly, but when you look at the computed size you can see the shares are still using the 500 GB SSD and not the 1 TB NVME.

 

How can I force the update? Maybe restart the array? What I did for "domains" is to just delete the share and then recreate it.

 

Thanks in advance

unraid-diagnostics-20210506-2146.zip

Edited by trallnag

I believe the issue is that as of 6.9.2 and earlier the mover only operates between a pool and the main array. So, to move from one pool to another, you will need to set cache:yes on the share, make sure there are no open files, and run the mover. Then once all the files are on the main array, you can set cache:prefer to the pool you want to use and once again run the mover.

 

Alternatively you could move the files manually using mc or something like that.

  • Author

I set all the user shares to "yes" and started the mover. Now "appdata" disappeared... Not just from the GUI but also from /mnt/user. It is / was completely empty.

 

I then recreated appdata pointing to the NVME pool and "only" mode, but "Compute" shows the whole disk array as size. Weird.

 

image.thumb.png.fafb8e26a1d94c1f6db9ac867482e416.png

 

May 6 22:28:24 unraid emhttpd: Starting services...
May 6 22:28:44 unraid emhttpd: shcmd (3366): /usr/local/sbin/mover &> /dev/null &
May 6 22:32:54 unraid emhttpd: shcmd (3375): mkdir '/mnt/user/appdata'
May 6 22:32:54 unraid emhttpd: shcmd (3376): chmod 0777 '/mnt/user/appdata'
May 6 22:32:54 unraid emhttpd: shcmd (3377): chown 'nobody':'users' '/mnt/user/appdata'
May 6 22:32:54 unraid emhttpd: Starting services...
May 6 22:33:04 unraid emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/share_size appdata ssz1 general,speed
May 6 22:33:41 unraid emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/share_size appdata ssz1 general,speed

 

  • Author
  1. I activated logging on the mover.
  2. Put a dummy file into every share, since some were empty.
  3. Set the shares I want to update to "Yes : General".
  4. Ran the mover
  5. Set share "appdata" to "Prefer: Speed"
  6. Run mover
  7. Set share "appdata" to "Only : Speed"

Now it looks correct! Thanks!

 

Regarding "system" it seems like it cannot move a few files and so the pool is not updated. 

 

May 6 22:46:49 unraid root: mover: started
May 6 22:46:49 unraid move: move: file /mnt/general/appdata/lol.txt
May 6 22:46:49 unraid move: move: skip /mnt/general/system/docker/docker.img
May 6 22:46:49 unraid move: move: skip /mnt/general/system/libvirt/libvirt.img
May 6 22:46:49 unraid move: move: file /mnt/general/system/lol.txt
May 6 22:46:49 unraid root: mover: finished

 

image.png

  • Community Expert
16 minutes ago, trallnag said:

I then recreated appdata pointing to the NVME pool and "only" mode, but "Compute" shows the whole disk array as size. Weird.


us9ng Only will not get the files that are on the array moved to the pool as mover ignores any shares which are set to Only (or No).  You need Prefer go make this happen.

  • Community Expert
1 minute ago, trallnag said:

Regarding "system" it seems like it cannot move a few files and so the pool is not updated. 

Did you make sure the Docker and VM services were disabled while you wanted the System share moved?   The services will hold files open thus stopping mover from taking action on them.

  • Author

Ah yes, that was missing. Now it also worked with "system" share.

 

image.thumb.png.771064df21e6beeb18fdc3ff3feeac5e.png

Edited by trallnag

  • trallnag changed the title to [solved] Cannot change cache pool of my existing user shares

Archived

This topic is now archived and is closed to further replies.

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.