[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Replacing drive in Btrfs Raid10 partition? (Was: Fixing errors on a BTRFS partition?)



Guys,

Quick offtop question as we are talking about Btrfs:

How do you replace drives in Btrfs Raid10 array?
I am in the process of upgrading 4 drives to twice as big ones. Since forever, I've been using this (example):

sudo btrfs device add -f /dev/sdf1 /home
sudo btrfs device remove /dev/sdd1 /home

But now I am reading, newer fancy method is:
sudo btrfs replace /dev/sdd1 /dev/sdf1 /home

Which one is better please? For both situation where drive has failed or is still operational?

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀


Reply to: