From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-131237-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RR8g6-0006pM-Fq
	for garchives@archives.gentoo.org; Thu, 17 Nov 2011 20:35:22 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E71A121C0B2;
	Thu, 17 Nov 2011 20:35:08 +0000 (UTC)
Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 83CEA21C03F
	for <gentoo-user@lists.gentoo.org>; Thu, 17 Nov 2011 20:34:15 +0000 (UTC)
Received: by faan15 with SMTP id n15so4174487faa.40
        for <gentoo-user@lists.gentoo.org>; Thu, 17 Nov 2011 12:34:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=421IFcVa+hoP/idsngAwrXU9UjfXyz/uVHR5k1sa1sA=;
        b=VMF2xwUJvePWLMl19LyHiHv9RAMqJ5n3EnWu8NF9MJiCSZTfxGsFiyOZPs4QEX6Wy2
         bR2A+LRmdbiGGcNH+nWKyyb3NFSWOPEOo5P7sTBgBF8En6AYJ54rt6/seCOnJGhv6wgT
         /m4Nvu04b3dhY9PxKsL1MVP5dWcbPHzWe2CCk=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.182.217.73 with SMTP id ow9mr53178obc.11.1321562054347; Thu,
 17 Nov 2011 12:34:14 -0800 (PST)
Received: by 10.182.149.33 with HTTP; Thu, 17 Nov 2011 12:34:14 -0800 (PST)
In-Reply-To: <20111117194754.6835abf6@digimed.co.uk>
References: <CAK2H+efyQUORL_p3aGf2nuDON_YzS4Q6R=_avP7ZrBaYGShQoA@mail.gmail.com>
	<20111117172550.2a04a59f@zaphod.digimed.co.uk>
	<CAK2H+efTGSSa8pNU+10DNPCiOUiEs9XgNbuS_b+gekisnwA9SQ@mail.gmail.com>
	<CA+czFiC4RE3DN=brDXJEaydz7rtUEH0xgzQTWNDXRSM=pnV3Eg@mail.gmail.com>
	<CAK2H+eeQRVcMpERPL6VD59Mo0AtwL9ppW+MbjsEtkw5HHg_K-w@mail.gmail.com>
	<20111117194754.6835abf6@digimed.co.uk>
Date: Thu, 17 Nov 2011 12:34:14 -0800
Message-ID: <CAK2H+ecDPMg83rB9y-_fcy0JEHiP2CGfqa-S9PhEy6Qsu9wJwA@mail.gmail.com>
Subject: Re: [gentoo-user] Process to resize ext3 file system at the command line?
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: e56ed566-d38d-45ca-be2f-9d7545cfae23
X-Archives-Hash: 341c867f9124c460fdc03953a6b91234

On Thu, Nov 17, 2011 at 11:47 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Thu, 17 Nov 2011 10:59:06 -0800, Mark Knecht wrote:
>
>> Yes, resize would be done to /dev/md?. I agree. However I don't
>> believe that I'd use Neil's suggestion of fdisk block numbers on
>> /dev/md, right? That doesn't make sense to me and I don't beleieve
>> Neil was suggesting anything like that.
>
> Yes I was. /dev/md? is still a block device, and its blocks correspond to
> physical blocks on the component drives.
>
>
> --
> Neil Bothwick

OK, so returning to your original response, you suggest increasing the
size of each physical partition and then resizing each of the physical
partitions independently? (/dev/sdwhatever instead of /dev/md6
directly?)

Is there a reason or personal experience you have to not to resize the
RAID-5 directly? I completely trust you as to date I cannot remember
anything you suggested I do that wasn't a good way to do it but doing
/dev/sdwhatever seems problematic if it had been an 8-drive RAID-1
becoming a RAID-5, etc.

- Mark

<quote>
Using cfdisk or fdisk, delete the partition and recreate it, USING THE
SAME START BLOCK at a larger size.

Then "resize2fs /dev/sdwhatever" will resize the filesystem to fill the
partition.
</quote>