I get an error when trying to remove one disk from a set of three (so metadata could still be mirrored). This is on Precise Pangolin. I also include the output of "filesystem show", as something clearly happened here, although I'm unsure how to interpret it.
% sudo btrfs fi show
Label: 'scratch' uuid: 184706ea-89f5-438a-a9f5-b5e91b3ce267
Total devices 3 FS bytes used 140.62GB
devid 1 size 2.73TB used 138.02GB path /dev/sda
devid 2 size 2.73TB used 137.01GB path /dev/sdb
devid 3 size 2.73TB used 138.01GB path /dev/sdc
% sudo btrfs dev del /dev/sdc /scratch
ERROR: error removing the device '/dev/sdc'
% sudo btrfs fi show
Label: 'scratch' uuid: 184706ea-89f5-438a-a9f5-b5e91b3ce267
Total devices 3 FS bytes used 141.49GB
devid 1 size 2.73TB used 75.03GB path /dev/sda
devid 2 size 2.73TB used 75.01GB path /dev/sdb
devid 3 size 2.73TB used 138.01GB path /dev/sdc
I get an error when trying to remove one disk from a set of three (so metadata could still be mirrored). This is on Precise Pangolin. I also include the output of "filesystem show", as something clearly happened here, although I'm unsure how to interpret it.
% sudo btrfs fi show 89f5-438a- a9f5-b5e91b3ce2 67
Label: 'scratch' uuid: 184706ea-
Total devices 3 FS bytes used 140.62GB
devid 1 size 2.73TB used 138.02GB path /dev/sda
devid 2 size 2.73TB used 137.01GB path /dev/sdb
devid 3 size 2.73TB used 138.01GB path /dev/sdc
% sudo btrfs dev del /dev/sdc /scratch
ERROR: error removing the device '/dev/sdc'
% sudo btrfs fi show 89f5-438a- a9f5-b5e91b3ce2 67
Label: 'scratch' uuid: 184706ea-
Total devices 3 FS bytes used 141.49GB
devid 1 size 2.73TB used 75.03GB path /dev/sda
devid 2 size 2.73TB used 75.01GB path /dev/sdb
devid 3 size 2.73TB used 138.01GB path /dev/sdc
Btrfs Btrfs v0.19