Jump to content

Replacing Cache Drive Question


Recommended Posts

I am switching my cache drive over from a 5200RPM SUPER OLD DRIVE to a Samsung 850 EVO SSD tonight. Below are the steps I planned to follow, hoping I am not missing any steps and if so maybe someone to help me out or confirm they look good:

 

0) Stop all programs writing / reading from the cache.

1) Back up your cache to an array disk as a temporary measure.

rsync -avp /mnt/cache /mnt/Users/WHATEVER

2) Shutdown

3) Swap the cache disk

4) Reboot

5) Assign the new disk as the cache, (choose format settings) and start the array (which should format the disk)

6) Copy the temporary backup of your cache back to the new cache. (Make sure it passes the look test when your done to verify the directory structure looks the same)

7) Restart any programs writing / reading from the cache.

8) Make sure any "Cache-Only" shares are still labeled that way (during this process they might get recreated with default settings) so that mover doesn't move them by mistake.

Link to comment

I am switching my cache drive over from a 5200RPM SUPER OLD DRIVE to a Samsung 850 EVO SSD tonight. Below are the steps I planned to follow, hoping I am not missing any steps and if so maybe someone to help me out or confirm they look good:

 

0) Stop all programs writing / reading from the cache.

1) Back up your cache to an array disk as a temporary measure.

rsync -avp /mnt/cache /mnt/Users/WHATEVER

2) Shutdown

3) Swap the cache disk

4) Reboot

5) Assign the new disk as the cache, (choose format settings) and start the array (which should format the disk)

6) Copy the temporary backup of your cache back to the new cache. (Make sure it passes the look test when your done to verify the directory structure looks the same)

7) Restart any programs writing / reading from the cache.

8) Make sure any "Cache-Only" shares are still labeled that way (during this process they might get recreated with default settings) so that mover doesn't move them by mistake.

 

Looks good, you could also rsync to a specific disk in the array if you want to avoid the risk of spreading your backup over multiple disks in the intermediate step. Your destination would just be /mnt/diskX/WHATEVER where X is the disk number you want to copy to.

 

 

Link to comment

Why not add the ssd outside the array, copy the cache disk to it, and then reassign the cache disk. Saves the slow copies to the array.

 

Actually, I would stop anything writing you cache and then put the new cache in place, and then mount the old cache outside the array and coPy it to the new cache. That avoids the issue of trying to format the ssd properly.

 

That's what I would do.

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.

×
×
  • Create New...