Jump to content

Convert single disk cache pool to RAID1 cache pool?


Recommended Posts

Subject pretty much says it all.  What is the correct process to convert an existing / in operation single disk cache pool to a mirrored cache pool?  I can find guides on the inverse, but not single to two disk.

Backstory; I have a NVME that is being used for container data.  I have a matching NVME that was formerly used as a separate cache pool and is now empty / unused.  Both drives are formatted as btrfs.

I know the basics of needing to stop the array, add another drive slot to the existing cache pool, but what I don't know how to do convert the pool to RAID1.  Specifically, I'm concerned about it mirroring the empty drive, thus wiping out the container data. 

Any help would be appreciated!

cachepool.png

Link to comment
3 hours ago, JonathanM said:

You could use the blkdiscard command to wipe the empty drive. Very carefully, of course.


The drive is empty, at least there is nothing in the root of the drive.  I'm assuming the few megs on it is for Unraid share info (even though it's not assigned as a share/cache to any other share) or filesystem purposes?  I know my way around Unraid pretty well, but understanding the deep dive portions of the file system and how Unraid works with the shares in the background is out of my wheelhouse. Beyond that, without knowing how Unraid will mirror the disks, I'm still worried that it would still mirror a completely wiped disk.  

Link to comment
  • 2 months later...

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