doesntaffect Posted November 30, 2020 Share Posted November 30, 2020 I installed another set of caching SSDs and want to move my appdata from the old cache to the new. Do I simply change the used cache in the share configuration (from cache to cachex in my case) and hit the mover button? I want to delete the data on the old cache pool later. Quote Link to comment
JorgeB Posted December 1, 2020 Share Posted December 1, 2020 Mover can't move data directly from one pool to another, you'd need to fist move it to the array, then to the new pool. Quote Link to comment
ChatNoir Posted December 1, 2020 Share Posted December 1, 2020 Or move the Data manually with Midnight Commander. Quote Link to comment
doesntaffect Posted December 1, 2020 Author Share Posted December 1, 2020 I'll give it a try tonight and hopefully dont mess this up. Is the data of shares, where I did choose "yes" for the caching option also present on the disk array, once move did his job? Or will there be data left on the cache? My understanding is, that only "Prefer & Only" keep data on the cash beyond a mover run. I still struggle to understand the flow of data between cache and the array. With the increasing usage of SSDs I think this could be a feature ("Cache Migrator") that would be usefull for a lot of users. Quote Link to comment
JorgeB Posted December 1, 2020 Share Posted December 1, 2020 13 minutes ago, doesntaffect said: I still struggle to understand the flow of data between cache and the array. It should be clear if you turn on the GUI help, first set those shares to cache="yes", disable docker service (also VM if applicable), run the mover, when done set the shares to cache="prefer" and select the new cache pool, run the mover again. 1 Quote Link to comment
JonathanM Posted December 1, 2020 Share Posted December 1, 2020 1 hour ago, doesntaffect said: Or will there be data left on the cache? If you neglect to stop the services, mover won't touch open files, so you could end up with remnants. Safest way is to disable the docker and vm services when you are doing massive reconfigurations like that. Also, on the shares page, the compute buttons will show you how the data is distributed across your devices so you can make good decisions on what settings to change to get things moved where you want. 1 Quote Link to comment
doesntaffect Posted December 1, 2020 Author Share Posted December 1, 2020 This is good advise, thanks guys! I clicked the GUI help icon several times during my trial however only now realized that this injects the help into the GUI. Quote Link to comment
ChatNoir Posted December 1, 2020 Share Posted December 1, 2020 If you find the help button too invasive, you can also click on many elements of the GUI to have specific help on that specific element. 1 Quote Link to comment
doesntaffect Posted December 1, 2020 Author Share Posted December 1, 2020 I think this worked out so far, however there are still 500MB on my first cache pool. When I click Browse, the cache seems to be empty. I asume the 3,56MB on the second pool are related to the file system? Any advise? See attached screenshot. Quote Link to comment
JorgeB Posted December 2, 2020 Share Posted December 2, 2020 It's normal to still show a few MBs used after emptying a btrfs filesystem. Quote Link to comment
shooga Posted May 29, 2021 Share Posted May 29, 2021 I'm trying to do basically the same thing (move a share from one cache pool to another) so I thought I'd try this thread rather than starting a new one. I have tried the suggestions above: Change share from 'prefer cache' to 'yes' Disable docker and VMs in settings Trigger mover Change share back to 'prefer cache' with the new cache Trigger mover Re-enable docker and VMs However, my share is left unchanged with all of the files remaining on the old cache - they never even get moved to the array. I'm not aware of anything holding the files open. What could be going wrong? Thanks! Quote Link to comment
JonathanM Posted May 30, 2021 Share Posted May 30, 2021 Enable mover logging and check the syslog after step 3 and see what it says. Quote Link to comment
shooga Posted May 30, 2021 Share Posted May 30, 2021 Thanks for the response. I'm getting a ton of: May 30 09:36:21 Bunker move: move: file <filename> May 30 09:36:21 Bunker move: move_object: <filename> File exists And it's actually happening for other shares that I wasn't trying to relocate to the other cache. Strangely, when I look at the disks directly (on the array) I don't see all of the files that it is referring to. I see other threads where the suggestion is to delete the files on the array and trigger mover again, but in this case I don't see the files to delete them. In most cases, I don't see the conflict. Another note (probably just an unrelated bug): the GUI displays the wrong cache name (I changed the name of the primary cache) on the Shares tab. Quote Link to comment
drydenmike Posted August 1, 2022 Share Posted August 1, 2022 (edited) Sorry to dig this out of the grave, but I'm trying to do this RN. Can't i just add another ssd to my cache pool, give it some time (to mirror everything or whatever) and then take out the 1st ssd of the pool? Edited August 1, 2022 by drydenmike Quote Link to comment
JorgeB Posted August 1, 2022 Share Posted August 1, 2022 6 minutes ago, drydenmike said: Can't i just add another ssd to my cache pool, give it some time (to mirror everything or whatever) and then take out the 1st ssd of the pool? Yes, if the existing cache is using btrfs. Quote Link to comment
The Transplant Posted August 16, 2023 Share Posted August 16, 2023 On 8/1/2022 at 2:15 PM, JorgeB said: Yes, if the existing cache is using btrfs. Just had the same issue. Cannot get most files to move on appdata from cache A to cache B. I set appdata to array then I stopped all of the dockers individually. When I run mover all I get is the following: Aug 15 20:05:37 Odin emhttpd: shcmd (194): /usr/local/sbin/mover |& logger -t move & Aug 15 20:05:37 Odin move: mover: started Aug 15 20:05:37 Odin move: skip: /mnt/cache_default/isos/virtio-win-0.1.221-1.iso Aug 15 20:05:37 Odin move: file: /mnt/cache_default/isos/.DS_Store Aug 15 20:05:37 Odin move: move_object: /mnt/cache_default/isos/.DS_Store File exists Aug 15 20:05:37 Odin move: skip: /mnt/cache_default/isos/Win10_21H2_English_x64.iso Aug 15 20:05:37 Odin move: mover: finished No mention of appdata files moving. Tried it several times and Mover does not move anything. Both of my caches are XFS, which if I understand the last comment, means they won't migrate automatically? What do I need to do to move these files? Thanks. Quote Link to comment
itimpi Posted August 16, 2023 Share Posted August 16, 2023 8 hours ago, The Transplant said: Just had the same issue. Cannot get most files to move on appdata from cache A to cache B. I set appdata to array then I stopped all of the dockers individually. When I run mover all I get is the following: Aug 15 20:05:37 Odin emhttpd: shcmd (194): /usr/local/sbin/mover |& logger -t move & Aug 15 20:05:37 Odin move: mover: started Aug 15 20:05:37 Odin move: skip: /mnt/cache_default/isos/virtio-win-0.1.221-1.iso Aug 15 20:05:37 Odin move: file: /mnt/cache_default/isos/.DS_Store Aug 15 20:05:37 Odin move: move_object: /mnt/cache_default/isos/.DS_Store File exists Aug 15 20:05:37 Odin move: skip: /mnt/cache_default/isos/Win10_21H2_English_x64.iso Aug 15 20:05:37 Odin move: mover: finished No mention of appdata files moving. Tried it several times and Mover does not move anything. Both of my caches are XFS, which if I understand the last comment, means they won't migrate automatically? What do I need to do to move these files? Thanks. You set things up wrong If you are using a 6.12.x release then you set up the array as secondary storage and mover direction as cache->array. If using an earlier release then you set Use Cache=Yes. In both cases you stop the docker and VM services under Settings and then run mover to get files moved to the main array. Quote Link to comment
uek2wooF Posted September 5, 2023 Share Posted September 5, 2023 How will docker and kvm know to use the new pool? Quote Link to comment
itimpi Posted September 5, 2023 Share Posted September 5, 2023 3 minutes ago, uek2wooF said: How will docker and kvm know to use the new pool? You will typically configure the relevant User Shares to use the pool. 1 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.