Remove all drives except for one from Cache pool.


Recommended Posts

You can, but is kind of a pain, because of how btrfs raid1 works you can only remove one disk at a time, besides that you have to physically disconnect each disk, trying to start array with one unassigned cache disk will result in unmountable cache.

 

If you still want to do it, this is how:

 

1-backup your cache first just in case

2-shutdown server

3-disconnect one of the cache disks

4-Start server, start array, wait for cache to balance, look for cache pool reads/writes to stop, then check the cache page to confirm, when it’s done there can’t be “some devices missing” showing on btrfs filesystem info.

5-go to step 2 and remove another disk

 

Obviously, all data must fit on the single disk you want to use in the end.

 

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.