From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Process to resize ext3 file system at the command line?
Date: Thu, 17 Nov 2011 12:34:14 -0800 [thread overview]
Message-ID: <CAK2H+ecDPMg83rB9y-_fcy0JEHiP2CGfqa-S9PhEy6Qsu9wJwA@mail.gmail.com> (raw)
In-Reply-To: <20111117194754.6835abf6@digimed.co.uk>
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>
next prev parent reply other threads:[~2011-11-17 20:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 17:01 [gentoo-user] Process to resize ext3 file system at the command line? Mark Knecht
2011-11-17 17:25 ` Neil Bothwick
2011-11-17 18:29 ` Mark Knecht
2011-11-17 18:43 ` Michael Mol
2011-11-17 18:59 ` Mark Knecht
2011-11-17 19:13 ` Michael Mol
2011-11-17 19:44 ` Mark Knecht
2011-11-17 19:51 ` Michael Mol
2011-11-17 19:47 ` Neil Bothwick
2011-11-17 20:34 ` Mark Knecht [this message]
2011-11-17 23:59 ` Neil Bothwick
2011-11-18 0:13 ` Mark Knecht
2011-11-18 0:21 ` Neil Bothwick
2011-11-18 0:33 ` Mark Knecht
2011-11-24 9:00 ` J. Roeleveld
2011-11-23 14:02 ` J. Roeleveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK2H+ecDPMg83rB9y-_fcy0JEHiP2CGfqa-S9PhEy6Qsu9wJwA@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox