linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Non-intelligent behaviour on device delete with multiple devices?
@ 2013-10-27 17:33 Hans-Kristian Bakke
  2013-10-27 21:16 ` Brendan Hide
  0 siblings, 1 reply; 2+ messages in thread
From: Hans-Kristian Bakke @ 2013-10-27 17:33 UTC (permalink / raw)
  To: linux-btrfs

Hi

Today I tried removing two devices from a multidevice btrfs RAID10
volume using the following command:
---
btrfs device delete /dev/sdl /dev/sdk /btrfs
---

It first removed device sdl and then sdk. What I did not expect
however was that btrfs didn't remove sdk from the available drives
when removing and rebalancing data from the first device. This
resultated in that over 300GB of data was actually added to sdk during
removal of sdl, only to make the removal process of sdk longer.

This seems to me as a rather non-intelligent way to do this. I would
expect that all drives given as input to the btrfs device delete
command was removed from the list of drives available for rebalancing
of the data during removal of the drives.


Regards,
Hans-Kristian Bakke

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-27 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-27 17:33 Non-intelligent behaviour on device delete with multiple devices? Hans-Kristian Bakke
2013-10-27 21:16 ` Brendan Hide

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).