[Solved] Need help replacing cache drive and cloning it


Recommended Posts

I'm getting ready to replace my current 64GB SSD cache drive with a 256GB SSD cache drive but am wanting to clone it before I do since I have some apps and data installed on it (mysql for kodi). Can anyone suggest the easiest way of accomplishing this? I'm a very novice linux user and have a Windows 7 desktop I can put both drives in if that is easier.

Link to comment

0. Run mover to get any cached data moved to the array so you won't have so much to copy.

[*]Stop any apps that may be trying to use your cache drive

[*]Copy all the files from it to somewhere on the array

[*]Stop the array

[*]Shutdown

[*]Replace cache

[*]Boot

[*]Assign new cache drive

[*]Let unRAID format it

[*]Copy files back

[*]Restart apps

Link to comment

0. Run mover to get any cached data moved to the array so you won't have so much to copy.

[*]Stop any apps that may be trying to use your cache drive

[*]Copy all the files from it to somewhere on the array

[*]Stop the array

[*]Shutdown

[*]Replace cache

[*]Boot

[*]Assign new cache drive

[*]Let unRAID format it

[*]Copy files back

[*]Restart apps

All of this is as I expected, only issue I have is step 2. I'm not sure how to copy the mysql folder because if I try to access it via smb in Windows I get a "need to provide administrator credentials" error. I'm assuming this is a default setting somewhere to prevent people from messing with installed apps.

Link to comment

Just try the mc command. That is Midnight Commander, a text-based GUI-like file manager. See if you can figure out how to use it. Cursor up/down to select, tab to switch to the other "pane", function keys to do something, like move or copy files from one pane to the other.

 

Your drives and shares are all in /mnt

Link to comment

Just try the mc command. That is Midnight Commander, a text-based GUI-like file manager. See if you can figure out how to use it. Cursor up/down to select, tab to switch to the other "pane", function keys to do something, like move or copy files from one pane to the other.

 

Your drives and shares are all in /mnt

It's been 3 years since setting up my unraid server that I completely forgot about mc! Thank you for reminding me and for helping me with this process. Replaced my cache drive a little bit ago and everything is working perfectly. Thanks!

Link to comment
  • 1 year later...

0. Run mover to get any cached data moved to the array so you won't have so much to copy.

[*]Stop any apps that may be trying to use your cache drive

[*]Copy all the files from it to somewhere on the array

[*]Stop the array

[*]Shutdown

[*]Replace cache

[*]Boot

[*]Assign new cache drive

[*]Let unRAID format it

[*]Copy files back

[*]Restart apps

 

this should go in the wiki btw

Link to comment

0. Run mover to get any cached data moved to the array so you won't have so much to copy.

[*]Stop any apps that may be trying to use your cache drive

[*]Copy all the files from it to somewhere on the array

[*]Stop the array

[*]Shutdown

[*]Replace cache

[*]Boot

[*]Assign new cache drive

[*]Let unRAID format it

[*]Copy files back

[*]Restart apps

 

this should go in the wiki btw

 

It already exists:

 

https://lime-technology.com/wiki/index.php/Replace_A_Cache_Drive

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.