[vox-tech] Partition resizing

Ryan vox-tech@lists.lugod.org
Thu, 16 May 2002 22:27:37 -0700


On Thursday 16 May 2002 10:15 pm, Sam Peterson wrote:
> Hi guys,
>
> I'm having trouble with a machine I originally partitioned fairly
> evenly.  I need to turn it into a fileserver with as much disk space as
> possible allocated to one partition.  Currently I have 10 gigs of free
> space on /usr, 10 gigs of free space on /var and 8 gigs of free space o=
n
> /home.  I was wondering if there's an easy painless way of reclaiming
> the free space these partitions aren't using by resizing them and
> putting that space onto one fileserver partition like /fs or some such
> thing.  Preferably without having to back everything up on separate
> media and wipe the drive and restore the filesystems on a different
> partitioning scheme *shudder*.
>
> I'm running Debian testing.

You could try resize2fs (read the manpage, you'll need a bootdisk with a =
copy=20
of it) but it doesn't automate resizing the partiton, sou you''ll have to=
 do=20
that with fdisk.

If you're not using ext2 or perhaps ext3, tough luck.

I suguest you backup your system, repartition and restore.=20