Hello list, I have a 5 drive raid10 setup (6th sata port malfunctions, all drives are 3TB in size). I want to remove a single drive, yet the 'btrfs device delete' command gives me the "unable to go below four devices on raid10" error.
This is the result after first deleting a device, after a check, it didn't seem to be removed, then issuing the command again results in the error. Before: # btrfs filesystem show /dev/sda3 Label: 'maindrivearray' uuid: f58976ab-2ce1-4a1c-bc82-22df7d3393b4 Total devices 5 FS bytes used 2.67TB devid 4 size 2.73TB used 1.09TB path /dev/sde3 devid 3 size 2.73TB used 1.09TB path /dev/sdd3 devid 2 size 2.73TB used 1.09TB path /dev/sdc3 devid 6 size 2.73TB used 1.09TB path /dev/sdb3 devid 5 size 2.73TB used 1.09TB path /dev/sda3 Btrfs Btrfs v0.19 After issuing the command # btrfs device delete /dev/sde3 /mnt I get this: # btrfs filesystem show /dev/sda3 Label: 'maindrivearray' uuid: f58976ab-2ce1-4a1c-bc82-22df7d3393b4 Total devices 5 FS bytes used 2.67TB devid 4 size 2.73TB used 1.09TB path /dev/sde3 devid 3 size 2.73TB used 1.24TB path /dev/sdd3 devid 2 size 2.73TB used 1.24TB path /dev/sdc3 devid 6 size 2.73TB used 1.24TB path /dev/sdb3 devid 5 size 2.73TB used 1.24TB path /dev/sda3 Btrfs Btrfs v0.19 When issuing the delete command again, the error pops up, also after reboot. The first remove did take a long time to complete and according to syslog and the 'filesystem show' command a lot of data was moved to the other drives (as expected). The system is running Debian Wheezy (kernel 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64). Is this something known (and possibly resolved in a later version), or should I open a bug report about it? Could it be that the device removal was completed, but still shows as part of the array for some reason? The reason for the remove is actually that I want to (gradually) replace the 3TB drives with 1 TB ones, and somewhere in the middle move some of the data of the array, to another machine, that currently has the 1 TB drives which I intend to replace with the 3TB ones. Best regards, Steven
signature.asc
Description: This is a digitally signed message part