Subject: Re: Shrinking a partition
To: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 02/05/2001 21:20:10
On Mon, Feb 05, 2001 at 10:14:31PM +0530, Rakhesh Sasidharan wrote:
>
> Hi,
>
> I have a 10 GB partition, of which around 8 GB is used. Now, I have to
> shrink that partition to 9GB due to certain reasons (more specifically,
> remove 1 GB from the end of the disk). I edited my disklabel, and reduced
> the size to 9GB, and (surprisingly) things seem to work alright. Is this
> OK, or could I run into probs later on ? Or is there some way to move all
You may run in problems later, when you'll try to access data outside of the
partition.
> the data to the beginning of the partition, and then do the above ? (It is
> an ext2fs partition, on an i386; and I also have Linux installed, if
> that might help).
Maybe there's an ext2fs tool for this, I don't know.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--