Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Process to resize ext3 file system at the command line?
Date: Thu, 17 Nov 2011 17:27:02
Message-Id: 20111117172550.2a04a59f@zaphod.digimed.co.uk
In Reply to: [gentoo-user] Process to resize ext3 file system at the command line? by Mark Knecht
1 On Thu, 17 Nov 2011 09:01:46 -0800, Mark Knecht wrote:
2
3 > I'm pretty sure I've got the command set right to do the RAID-1 to
4 > RAID-5 conversion, but once it's done I believe the file system itself
5 > will still be 250GB so I'll need to resize the file system. In the
6 > past I've done this with gparted, which seems to work fine, but this
7 > time I was considering doing it at the command line. Does anyone know
8 > of a good web site that goes through how to do that? I've browsed
9 > around and found different pages that talk about it but my reading
10 > looks like they all have minor differences which leaves me a bit
11 > worried.
12
13 Using cfdisk or fdisk, delete the partition and recreate it, USING THE
14 SAME START BLOCK at a larger size.
15
16 Then "resize2fs /dev/sdwhatever" will resize the filesystem to fill the
17 partition.
18
19
20
21 --
22 Neil Bothwick
23
24 I just took an IQ test. The results were negative.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Process to resize ext3 file system at the command line? Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Process to resize ext3 file system at the command line? "J. Roeleveld" <joost@××××××××.org>