Resize problem with parted

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
To: plug-discuss
Subject: Resize problem with parted
I need to increase the swap partition size on a computer I am messing with
(long story). The parted utility returns "Filesystem has incompatible
feature enabled" when I try to shrink one partition to make room for swap
partition expansion. I am almost to the point where I think I'll have to
re-install since all my googling and searching has not turned up an answer.

Booting with the SystemRescueCD, I am attempting to manipulate the unmounted
partitions and filesystems to get what I need.

Installed partitions:
Num    Start    End    Type    FS    Flags
1    0.031    99.914    Primary    ext3    Boot
2    99.914    37916.648    Primary    ext2
3    37916.648    38172.585    Primary    linux-swap


(I hope that is readable)

Partition 2 used to be ext3 but I ran:
tune2fs -O ^dir_index /dev/hda2
tune2fs -O ^has_journal /dev/hda2
to convert it to ext2, thinking parted would be happy with it then.

The idea is to leave the start of partition 2 at the same place but shrink the
end and then move the start of the swap partition to take up the space just
freed. It is a nearly new intall so partition 2 should lots of free space to
give up.

But, when I do the resize command in parted it just tells me "Filesystem has
incompatible feature enabled" and won't do it. The version of parted on the
rescue CD is 1.6.11. The latest version is 1.6.19 or something like that but
I don't know how or where to download a binary and install it in the system
running on the CD. There are also reports that parted is now capable of
resizing ext3 partitions but I cannot get it to work even after converting to
ext2.

Anyone have any further ideas before I go through the effort of formatting and
re-installation?

Alan
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss