**VIDEO GUIDE Add a cache drive, replace a cache drive or create a cache pool **


Recommended Posts

stupid question time: when swapping out a cache drive, could you not have just changed the share setting from prefer to yes, and then invoked the mover to send them back to the array, then after swapping out the drive, reversed the process? Or does that eat the files?

 

Do you mean like this?

 

bingo.

Link to comment

stupid question time: when swapping out a cache drive, could you not have just changed the share setting from prefer to yes, and then invoked the mover to send them back to the array, then after swapping out the drive, reversed the process? Or does that eat the files?

 

Do you mean like this?

 

bingo.

Yes, its fine to set shares to use cache  "yes" then let mover move them then set share setting back. Its the official way and probably easier to set the cache to yes and use mover.

The way I use in my video is just my personal preference and the way I do it personally. My reasons I don't use mover for that part is as follows

 

1. Mover will move data from the cache to the array not just copy it. So old cache will be blank afterwards. I prefer to copy the data manually so the data remains on the old cache as well and isn't removed.  Yes, it's a little more effort to manually copy each share. Its worth it to me, just in case anything goes wrong during the process I have the original cache drive intact and is a "backup".

For example, in the past, I have had an SSD fail after a few days, so that makes me cautious. So I like to keep my old cache for a bit then if the new SSD cache should fail then I can just pop the old one back in.

(Also mover will only move data that is in a share. Sometimes it is possible a user may have data on the cache that isn't part of a share (although unlikely for most people))

 

2. Mover doesn't give an estimated time to complete as no progress bar. I like to work through it manually and I have a good idea of how long there is left to complete it. The disadvantage of my method is you can't just leave it and go away. Ie let it run overnight

 

Like I said this is just how I do this when upgrading to a larger cache drive but either method will give the desired result :)

 

 

Link to comment

it's still quite important to know how the app data backup works, and to be using it. I asked my question from an honest point of not knowing if there was an issue that i didn't know about using mover.

 

I was also thinking this morning that previously, i've just copied the entire contents of the cache using Kruasder to the array temporarily then move back and hadn't had the issues with docker images that I guess some others have had.

 

I think there are multiple ways to do it. And you've outlined several reasons for that. Some are safer for data storage than others.

Link to comment

You need to stop all dockers and the docker service so that the image is unmounted before moving the docker.img file. Similarly, VMs and the VM service need to be stopped. It's safe to move appdata once dockers are stopped. It doesn't matter whether you copy or move, either manually or with the Mover, though gridrunner makes a valid point about keeping the old files on the old cache disk as a backup.

Link to comment

You need to stop all dockers and the docker service so that the image is unmounted before moving the docker.img file. Similarly, VMs and the VM service need to be stopped. It's safe to move appdata once dockers are stopped. It doesn't matter whether you copy or move, either manually or with the Mover, though gridrunner makes a valid point about keeping the old files on the old cache disk as a backup.

 

Exactly thats why trying to copy the docker image with krusader is not good. Because krusader is a docker then docker image is mounted and in use.

 

CA Appdata Backup / Restore works by shutting  down the all running dockers and then copying all the appdata (unless you have excluded some folders) then restarts the dockers afterwards.

Link to comment
  • 1 year later...
  • 3 years later...
25 minutes ago, Phatty said:

Hi Team

Silly question but I assume things have changed since 2017, I am trying to follow the instructions on here but I do not see "Cache Devices" section but I do see pool, has the terminology changed? 

 

Even this page refers me here, a little confusing
https://wiki.unraid.net/Cache_disk#Cache_settings
 

Yes.  Starting with Unraid 6.9.0 you can now have multiple 'pools', any of which can (optionally) act as a cache for nominated shares and whose names are user defined.  Depending on context 'cache' and 'pool' can frequently be considered as interchangeable terms.

 

Online documentation is steadily being updated to use 'pool' instead of 'cache' where appropriate.

 

 

Link to comment
  • 1 month later...

With all the changes to cache/pools... Question:

 

I have a cache with 3 drives in RAID 0... I'd like to replace it with a slightly smaller single drive (1.5 TB to 1TB... only using 12% of the cache at the moment).

 

After looking around, there are so many dated and conflicting articles/videos on how to accomplish this.

 

Any help would be greatly appreciated. 

 

Thanks

Link to comment
  • 1 year later...

Love the videos but do wish the unraid wiki was up to date...

 

Folks have to watch a 19min video to see all the topics until reach the bit relevant to them.

Perhaps @SpaceInvaderOne could use timelinks in the descriptions. Although this means less complete video plays & perhaps less ad revenue...

 

You can't beat written instructions!

 

This entry is old and doesn't mention how to replace a cache drive https://wiki.unraid.net/Cache_disk

and this Entry is blank... https://wiki.unraid.net/Replace_A_Cache_Drive

 

Is the wiki controlled by unraid, perhaps it need some community involvement?

Edited by dopeytree
Link to comment
  • 1 year later...
1 hour ago, Bushibot said:

I feel like this is dumb question but... my cache drives are setup as ZFS mirrored. I have one drive in the pool that I think is having issues so I want to swap it out. Do I need to spin down the array to do this or can I just hot swap them without that? 

never mind took it offline to be safe, though adding a new drive and trying to make the old drive a 3rd pool disk did not work, but was having doubt about the old samsung anyway.

Link to comment
  • 5 months later...

Yea, the documentation scattered all about the place is more of a hindrance than a help. That video is older than dirt. I'm gonna create controversy but here goes. This has always been an issue with me and Linux. You have to look in 8 million places to get answers... alot of times the people answering are straight up pricks. And alot of times the info is outdated and won't help. So, you have to take an educated guess as to what you think might work and throw the hail mary. It is one thing that has kept me from embracing linux all along. You either get misleading infomation, or an asshole who wouldn't give you the info if you held a gun to his head. I also don't understand why people keep embracing these technologies that are so out of date it's laughable. Why would I want to use the klunky way to document things on github? Hell, github itself is klunky as hell. All it does it make me see red, wear me out and get like I am now... frustrated. oh well, I'm done. Gonna go figure this out another way..  like usual. 

Link to comment
2 minutes ago, doogle said:

Yea, the documentation scattered all about the place is more of a hindrance than a help.

The official online documentation is accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page. The Unraid OS->Manual section in particular covers most features of the current Unraid release.   Is that how you have been getting to it?   Do you have suggestions for improving the layout?

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.