1 (edited by maxwevers 2008-06-04 15:36:58)

Topic: [SOLVED]"incompatible feature enabled" when expanding ext3

Hi!

I try to expand my ext3 partition on a recently upgraded RAID5.

I disabled the journal and tried to resize with parted, but I get "incompatible feature enabled"

dumpe2fs -h reports:

Filesystem features:      resize_inode dir_index filetype sparse_super large_file

Can anyone tell me which features need to be disabled?

Thanks in advance

max

2

Re: [SOLVED]"incompatible feature enabled" when expanding ext3

You don't mention any version.
Do you mean Gparted or just parted?
Anyway, you could take some ideas from the following link:
http://www.fedoraforum.org/forum/showthread.php?t=86137

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3

Re: [SOLVED]"incompatible feature enabled" when expanding ext3

Now I have some more information:

The incompatible feature was resize_inode. I removed that via debugfs and ran a fs check afterwards.

Then I tired both parted and gparted:

parted reports "GNU Parted 1.7.1"

Disk /dev/sda: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      32,3kB  1000GB  1000GB  primary  ext3

When I try to expand the partition to 1500GB it warns me about running experimental code that might crash. I cofirm and than it chrashes, but does not harm my partition.

When I try the same with gparted and I can expand the parition to the end of the drive, but when I hit "OK" it tells me something like partition cannot have a negative sector count or something. I will get a screenshot asap.

4

Re: [SOLVED]"incompatible feature enabled" when expanding ext3

Did you try the latest Gparted livecd? (0.3.7 , or testing version 0.3.7-5)
Older versions didn't support more than 1TB. The latest version doesn't have this limitation. Your array is 1.5TB, so it is perhaps the source of the problem.

*** It is highly recommended to backup any important files before doing resize/move operations. ***

5

Re: [SOLVED]"incompatible feature enabled" when expanding ext3

It was indeed an outdated version of libparted. Ubuntu 8.04 still comes with 1.7.1 ...

I used 1.8.8 and everything worked fine.

6

Re: [SOLVED]"incompatible feature enabled" when expanding ext3

Problem solved.

*** It is highly recommended to backup any important files before doing resize/move operations. ***