Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Convert single disk cache pool to RAID1 cache pool?

Featured Replies

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

4 hours ago, Brandon_K said:

I'm concerned about it mirroring the empty drive, thus wiping out the container data. 

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

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

  • Community Expert
12 hours ago, Brandon_K said:

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. 

That's it, and it will be raid1 by default. 

  • 2 months later...

But will it destroy existing data in the already-working first drive? Does it have to be flushed first to the array before proceeding?

  • Community Expert
1 minute ago, steve9992000 said:

But will it destroy existing data in the already-working first drive?

Not if existing cache is btrfs, it cannot be done for xfs.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.