Re: [ext2resize] partition table is not updated
Status: Inactive
Brought to you by:
adilger
From: Andreas D. <ad...@cl...> - 2005-09-06 06:32:04
|
On Sep 05, 2005 23:12 +0100, Richard J Moore wrote: > 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 system > 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. > > Anyone have any ideas on how to get the partition table updated? ext2resize does not do anything to the partition tables itself. It is intented for use in environments with LVM or RAID systems which themselves allow devices to be resized. If you have already resized the filesystem down, then you can manually edit the partition table yourself to split hda2 into two separate partitions (be aware that this will rename your other partitions). Alternately, you can use a tool like GNU parted which also handles the DOS partition part of filesystem resizing. Cheers, Andreas -- Andreas Dilger |