From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org ([80.91.229.3]:51237 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750754AbcCZEQF (ORCPT ); Sat, 26 Mar 2016 00:16:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ajfdq-0006g3-3h for linux-btrfs@vger.kernel.org; Sat, 26 Mar 2016 05:16:02 +0100 Received: from ip98-167-165-199.ph.ph.cox.net ([98.167.165.199]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2016 05:16:02 +0100 Received: from 1i5t5.duncan by ip98-167-165-199.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Mar 2016 05:16:02 +0100 To: linux-btrfs@vger.kernel.org From: Duncan <1i5t5.duncan@cox.net> Subject: Re: RAID-1 refuses to balance large drive Date: Sat, 26 Mar 2016 04:15:53 +0000 (UTC) Message-ID: References: <56F1E7BE.1000004@gmail.com> <56F21510.6050707@cn.fujitsu.com> <56F21FC5.50209@gmail.com> <56F22F80.501@gmail.com> <56F2C991.9080500@gmail.com> <56F2EA25.4070004@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: Henk Slager posted on Fri, 25 Mar 2016 15:35:52 +0100 as excerpted: > For the original OP situation, with chunks all filled op with extents > and devices all filled up with chunks, 'integrating' a new 6TB drive > in an 4TB+3TG+2TB raid1 array could probably be done in a bit unusual > way in order to avoid immediate balancing needs: > - 'plug-in' the 6TB > - btrfs-replace 4TB by 6TB > - btrfs fi resize max 6TB_devID > - btrfs-replace 2TB by 4TB > - btrfs fi resize max 4TB_devID > - 'unplug' the 2TB Way to think outside the box, Henk! I'll have to remember this as it's a very clever and rather useful method-tool to have in the ol' admin toolbox (aka brain). =:^) I only wish I had thought of it, as it sure seems clear... now that you described it! Greatly appreciated, in any case! =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman