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.

upgrading a btrfs cache pool

Featured Replies

Hi,

 

I have a btrfs raid1 pool of 2x1Tb ssd that i wish to replace with 2x4tb ssd.

my unraid server version is 7.0.1.

btrfs filesystem usage:
Overall:
    Device size:		   1.75TiB
    Device allocated:		   1.36TiB
    Device unallocated:		 398.38GiB
    Device missing:		     0.00B
    Device slack:		     0.00B
    Used:			   1.31TiB
    Free (estimated):		 222.02GiB	(min: 222.02GiB)
    Free (statfs, df):		 222.02GiB
    Data ratio:			      2.00
    Metadata ratio:		      2.00
    Global reserve:		 512.00MiB	(used: 0.00B)
    Multiple profiles:		        no

                  Data      Metadata System                               
Id Path           RAID1     RAID1    RAID1     Unallocated Total     Slack
-- -------------- --------- -------- --------- ----------- --------- -----
 1 /dev/nvme1n1p1 692.00GiB  3.00GiB  64.00MiB   199.19GiB 894.25GiB     -
 2 /dev/nvme2n1p1 692.00GiB  3.00GiB  64.00MiB   199.19GiB 894.25GiB     -
-- -------------- --------- -------- --------- ----------- --------- -----
   Total          692.00GiB  3.00GiB  64.00MiB   398.38GiB   1.75TiB 0.00B
   Used           669.17GiB  2.02GiB 128.00KiB

I read about trouble with btrfs in unraid 7.0.x

Am i right to assume that the documented procedure should work?

 

Stop the array.
(optional) Physically detach the disk from your system you wish to remove.
Attach the replacement disk (must be equal to or larger than the disk being replaced).
Refresh the Unraid WebGUI when under the Main tab.
Select the pool slot that previously was set to the old disk and assign the new disk to the slot.
Start the array.
If presented with an option to Format the device, click the checkbox and button to do so.

 

Solved by JorgeB

  • Community Expert
  • Solution

Yes, and you don't need to physically detach the old device, first do the two replacements, one at a time, then you can add the other 2 devices.

  • Author

thanks.

Unfortunately i need to do it several steps as i don't have spare nvme ports.

In fact i do need more tweaking as my layout is :

nvme0: ssd 2 tb ingest pool (pcie4 x4)

nvme1: ssd 1tb cache pool1 (pcie3 x4)

nvme2: ssd 1tb cache pool2 (pcie3 x2)

i will also move ingest pool ssd to pcie3 x2 and finally have cache pool ssds in pcie4 x4 and pcie3 x4 to have more iops. My ingest pool will be slower but i prefer my cache pool to be quicker as it holds my 65 running containers, 4 vms including a very hungry security onion vm

The reason is my actual 1tb ssd are 22110 models which do not fit in pcie4 x4 slot. Replacements ssds are 2280 models.

 

  • Community Expert

You should not need that, but note that there's a bug with 7.0.x affecting btrfs pool device removals only, not replacements, just FYI, and that was fixed in 7.1.0-beta.1

  • Author

upgrade is done.

All went well.😀

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.