[ltp] ACK!

Theodore Ts'o linux-thinkpad@linux-thinkpad.org
Fri, 20 Jun 2003 12:34:09 -0400


On Thu, Jun 19, 2003 at 02:50:27PM -0300, Adam Southerland wrote:
> I did it... I hosed my Laptop...
> 
> GNU Parted... I resized the partition downward and then later resized it 
> upwards...
> 
> When I resized it up, apparently some info was still there from when I 
> resized it down... Duplicate INodes (or something like that)

Resizing down and then up shouldn't cause any problems, unless there
are bugs in GNU parted.  I know it works fine under resize2fs as long
as you're careful to coordinate making partition table changes either
before or after running resize2fs (depending on whether you are
growing or shrinking the partition), and as long as you make sure the
kernel actually re-read the partition table (sometimes you have to
reboot, if other partitions on the disk are in use).

						- Ted