wilsonhomelab Posted August 27, 2021 Share Posted August 27, 2021 I recently purchase a 1TB NVME drive for cache in Unraid (6.9.2) along with an existing 250GB SATA SSD cache drive. I setup two cache drives. like this My plan is that Cache_nvme is reserved for appdata, system, domains shares, while Cache_ssd is for cacheing SMB copy via 10 GBE (then mover will move data off Cache_ssd later to array). I setup appdata share as this. Somehow mover moved most of appdata to Cache_nvme. Now I've got two (almost) duplicate appdata share in both cache drives. I can't remember how this happen. I think I need to use "Yes" option to let mover move appdata back to array first, then change to "prefer" -> invoke mover to move it again to cache (in this case, new cache_nvme). I am pretty sure that I didn't do this step, but now I have duplicate appdata in both cache drives. (I did invoke mover a few times to shift other shares) So my questions How do I consolidate appdata share to cache_nvme only? Can I manually delete appdata share in cache_ssd? (command line or Krusader) If I write data to "appdata" share, will it update to both cache drives? Thanks Quote Link to comment
wilsonhomelab Posted August 29, 2021 Author Share Posted August 29, 2021 I tried to set appdata, domains, system "yes" of "use cache pool", then invoked mover, but nothing happened. Files are not moved and still sitting in both cache pool. Please helpCan I manually move files between cache pools? Sent from my VOG-L29 using Tapatalk Quote Link to comment
JorgeB Posted August 29, 2021 Share Posted August 29, 2021 3 minutes ago, wilsonhomelab said: Can I manually move files between cache pools? Yes, Docker service should be disable, mover should also move them to the array for cache=yes, we'd need diags with mover logging enable to see the problem it it doesn't work. Quote Link to comment
itimpi Posted August 29, 2021 Share Posted August 29, 2021 4 minutes ago, wilsonhomelab said: I tried to set appdata, domains, system "yes" of "use cache pool", then invoked mover, but nothing happened. Files are not moved and still sitting in both cache pool. Please help Can I manually move files between cache pools? Sent from my VOG-L29 using Tapatalk Yes,, you can manually move files between pools. unraid will never automatically move files between pools. the ‘mover’ app will also not move files to/from the array if they already exist on the target. Quote Link to comment
trurl Posted August 29, 2021 Share Posted August 29, 2021 5 hours ago, itimpi said: manually move files between pools. But nothing can move open files, so 5 hours ago, JorgeB said: Docker service should be disable Quote Link to comment
wilsonhomelab Posted August 30, 2021 Author Share Posted August 30, 2021 Thank everyone. I stop all dockers and vms, then rsync those folders to the nvme cache. It seems to work. When I rename the appdata folder to "appdata_" in the cache_ssd, for the sake of keeping a backup, a new share "appdata_" appears. Sent from my VOG-L29 using Tapatalk Quote Link to comment
itimpi Posted August 30, 2021 Share Posted August 30, 2021 34 minutes ago, wilsonhomelab said: When I rename the appdata folder to "appdata_" in the cache_ssd, for the sake of keeping a backup, a new share "appdata_" appears That is expected. All top level folders on any drive are automatically considered as User Shares, and in this case will have default settings. Quote Link to comment
RichJacot Posted January 7, 2022 Share Posted January 7, 2022 I'm doing something very similar to this. My question is... should I also change my docker directory and default appdata storage location to /mnt/cache/x in the docker settings and default VM storage path and libvirt storage location to /mnt/cache/x? I have them set in the shares to only use cache. Quote Link to comment
trurl Posted January 7, 2022 Share Posted January 7, 2022 2 hours ago, RichJacot said: change my docker directory and default appdata storage location to /mnt/cache/x in the docker settings and default VM storage path and libvirt storage location to /mnt/cache/x? That is what I do, though I use another pool other than cache that I have named "fast" for this. Probably doesn't make much difference but there could be some advantages to bypassing user shares in this case. Of course, these can't overflow to the array like a cache-prefer share can, but you don't want that anyway. Just don't fill it up. 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.