1

As described here, BTRFS devices can be removed from an array using:

btrfs device delete /dev/sdc /mnt

I have a BTRFS RAID 1 array made up of 3 devices. One of devices is failing and I want to remove it from the array (I have plenty of space so I'm just going to remove it instead of replacing it). However, the device I want to remove is the one shown in the output of df.

Can I remove the device online in this case? Or should I change the mount to target one of the other devices in the array and then remove it?

dippynark
  • 233
  • 3
  • 13

1 Answers1

0

I tried mounting a different device by targeting its World Wide Name, but df still showed the previous device, so I went for the delete and once the device had been removed from the BTRFS array the output of df changed.

So my guess is that df picks the first device in the array in lexicographical order.

dippynark
  • 233
  • 3
  • 13