I have a RAID10 BTRFS on
sdd drive failed. I replaced it, and rebuilt the partition table like with
sfdisk -d /dev/sda | sfdisk /dev/sdd.
I managed to mount the btrfs filesystem in its degraded state with
mount -o degraded, but now I cannot figure out how to replace the old
/dev/sdd4 in the filesystem with the new
When I try to delete the missing device:
root@sauron:~# btrfs device delete /dev/sdd4 /big1 ERROR: error removing the device '/dev/sdd4' - unable to go below four devices on raid10
This is the replace command I tried. It has no output, but then when I check the status, it shows it was never started:
btrfs replace start /dev/sdd4 /dev/sdd4 -r /big1
The other partitions on these disks are four-way MDRAID1 devices, which I have successfully fixed on the new drive with the
I've been scouring google for help, but nothing I have found has been helpful.