Hacker News new | ask | show | jobs
by yencabulator 698 days ago
> Doing this on btrfs will require a rebalance, forcing all data on the disks to be rewritten.

I believe btrfs replace will copy only the data that had a replica on the failing drive.

1 comments

You wouldn't replace in this context.

You would mount degraded on the remote system and copy in the new files.

After the returning the new drive, you would mount normally, but getting the new content mirrored requires a rebalance.

Replace is for a blank drive, and it hasn't worked very well for me, as status/usage reported some data that was not mirrored; a rebalance fixed this.