* 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
* Re: Non-intelligent behaviour on device delete with multiple devices?
2013-10-27 17:33 Non-intelligent behaviour on device delete with multiple devices? Hans-Kristian Bakke
@ 2013-10-27 21:16 ` Brendan Hide
0 siblings, 0 replies; 2+ messages in thread
From: Brendan Hide @ 2013-10-27 21:16 UTC (permalink / raw)
To: Hans-Kristian Bakke, linux-btrfs
On 2013/10/27 07:33 PM, Hans-Kristian Bakke wrote:
> 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.
This is a known issue I'm sure will be addressed. It has annoyed me in
the past as well. Perhaps add it to the wiki:
https://btrfs.wiki.kernel.org/index.php/Project_ideas
--
__________
Brendan Hide
http://swiftspirit.co.za/
http://www.webafrica.co.za/?AFF1E97
^ 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).