[wplug] Partition Resizing

Lance Tost ltost at pobox.com
Mon Jan 13 17:10:49 EST 2003


You can do this if you use LVM.  It's really nice.  Supposedly, if using
ext2 you can grow/shrink the filesystem without unmounting... ext3
requires you to unmount it.  I've sucessfully grown and shrunk filesystems
this way... no obvious damage to the fs.

On Sun, 12 Jan 2003, Alexandros Papadopoulos wrote:

> Date: Sun, 12 Jan 2003 02:19:20 -0500
> From: Alexandros Papadopoulos <apapadop at cmu.edu>
> Reply-To: wplug at wplug.org
> To: Michael E Uhl <meu102 at attbi.com>
> Cc: wplug at wplug.org
> Subject: Re: [wplug] Partition Resizing
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sunday 12 January 2003 01:16, Michael E Uhl wrote:
> > Hello,
> >
> > I'm pretty new to this list, I've been reading for a couple months,
> > but I just came across a question where I could use some help.
> >
> > I need to enlarge an existing ext3 partition on my system.  I have
> > the room on the hard disk, I just need some pointers on the
> > proceedure. From what I've read, I need to use fdisk (or other
> > partitioning tool) to delete the existing partition and create a new
> > partition starting at the same cylinder but now with the new desired
> > size.  After that I need to use resize2fs to grow the actual file
> > system to the new size.
> >
>
> I've never done this, but it seems that parted does exactly what you
> need. I believe the most tricky part will be creating the unused space
> on the HDD (unless you delete an unused partition adjacent to the one
> you're growing).
>
> http://www.gnu.org/software/parted/
>
> The online manual page
> (http://www.gnu.org/manual/parted-1.6.1/html_mono/parted.html) has some
> nice example sessions. As always, backup your partition before you play
> with it.
>
> Good luck.
>
> - -A
> - --
> http://andrew.cmu.edu/~apapadop/pub_key.asc
> 3DAD 8435 DB52 F17B 640F  D78C 8260 0CC1 0B75 8265
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE+IRb9gmAMwQt1gmURAn7kAJ9rPSZYax1U1HQyj1X7KIJkAIidmACghd98
> 9acE2F0Mli2QXhCw28RxBoc=
> =jBi2
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
> ----------------
> [Virus Scanned by Libcom]
> [Libcom: The only true $9.95 Unlimited Service in Pittsburgh]
>
>

-- 
Lance Tost <ltost at pobox.com>




More information about the wplug mailing list