btrfs raid1 replace 2 with 1


Recommended Posts

Hey,

I have a btrfs raid1 pool with 3 disks.

root@tower:~$ btrfs fi show /mnt/cache/
Label: none  uuid: a4b126da-bb61-bbb4-471d-034266f28ea1
	Total devices 3 FS bytes used 783.17GiB
	devid    1 size 931.51GiB used 511.03GiB path /dev/sdc1
	devid    2 size 931.51GiB used 510.00GiB path /dev/sdb1
	devid    3 size 1.82TiB used 1021.03GiB path /dev/nvme0n1p1

Is it possible to replace the 2 1TB with a new 2TB?
I tried to read https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices#Using_btrfs_replace, but I am not sure if it is possible to replace two disks with only one in a single operation.

Also does it confuse the UnRaid GUI or does the WebGUI also support such operations?

 

Link to comment
2 minutes ago, Keksgesicht said:

run a btrfs balance on the cache

No need to run a balance, GUI replacement already does that.

 

2 minutes ago, Keksgesicht said:

(this is save??)

Usually yes, but always good to have backups in case something goes wrong.

 

3 minutes ago, Keksgesicht said:

Should I move cache3 in the GUI to cache2 or is it not important.

As you wish, it doesn't make any difference.

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.