A problem with parted, i want to resize one of my partition.

John Thompson JohnThompson at new.rr.com
Mon Sep 27 14:46:03 UTC 2004


Kent Nyberg wrote:

> When i first set up this computer i thought i would need a windows
> partition, so i took 27gb of my 80gb drive and devoted them to a vfat-
> partition. Now i have no use for windows and that partition. I could
> always just use mkfs to create an ext3-partition there, but i want to
> resize my main ext3-partition to include that space.
> I deleted the vfat and booted with the Fedora rescue-cd.
> 
> I made sure that no parition i would use is mounted, and started parted.
> Now, when i try to either move or resize i get a message about
> "filesystem has incompatible features enabled". What are these features,
> and how do i disable them?
> I cant tell what kernel i created my ext3-partition with, although it
> might be Fedore 1 or something. Lat night i read a bit of the parted
> mailinglist and it seems that 'tune2fs -O ^dir_index /dev/partition' is
> needed to disable one of the features parted does not work with, but
> that did not help, i still got the message about incompatible features.
> 
> Can some one enlighten me about this?

You may have to convert it to ext2 first using tune2fs, then resize, and 
revert to ext3.  Be aware that this may change the partition numbering 
on your system such that the kernel may no longer point to the right 
root device or swap area; make sure you have a working, bootable floppy 
or CD from which to recover if this happens.  To fix this you may need 
to append root and swap directives to your boot loader configuration 
(lilo or grub) or use rdev to modify the kernel itself to point to the 
right partitions.

If it were me, I'd just create a new filesystem in the space and use it 
that way.  Much less bother.

-- 

-John (john at os2.dhs.org)





More information about the users mailing list