Re: [ext2resize] partition table is not updated
Status: Inactive
Brought to you by:
adilger
From: Brian J. M. <br...@in...> - 2005-09-06 00:59:47
|
On Mon, 2005-09-05 at 23:12 +0100, Richard J Moore wrote: >=20 >=20 >=20 > I have used ext3resize to shrink /dev/hda2 from 55GB to 9GB, but the > partition table has not been updated and so the free space is not > accessible. > If I run: ext2resize /dev/hda2 9GB > a second time I am told that the size is already 9GB. If I reboot my syst= em > and dump the partition table under fdisk the size is unaltered at 55GB. > If I run KDiskFree it report 9.2GB as the partition size. > The version of ext2resize I am using is 1.1.18 and I'm running having > booted the Fedora core 4 rescue disc. >=20 > Anyone have any ideas on how to get the partition table updated? ext2resize only resizes the filesystem on a device. it does not resize the device (partition in your case) itself. you need to use another tool to do that. you could use something like parted, or even cfdisk or fdisk. my recommendation would be to make the partition slightly (but most definitely -- don't try to guess and be too close) larger than you have resized your filesystem to and then resize it again not specifying a size. that will cause the filesystem to be slightly expanded to the actual size of the partition. good luck. and it goes without saying, always make sure you have backups before you start mucking with resizing disks and repartitioning and so forth. b. --=20 My other computer is your Microsoft Windows server. Brian J. Murrell |