Subject: Shrinking a partition
To: netbsd-help@NetBSD.org <netbsd-help@netbsd.org>
From: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
List: netbsd-help
Date: 02/05/2001 22:14:31
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
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).

Thanks for any help.

Regards.
__
Rakhesh Sasidharan	rakhesh@cse.iitd.ac.in