[Parted-maintainers] Bug#511035: gnu-fdisk: gnu-fdisk doesn't work with ext3 partitions, created with Debian and Ubuntu installers (with resize_inode features)]

Mantas Kriaučiūnas mantas at akl.lt
Tue Jan 6 22:16:33 UTC 2009


Package: gnu-fdisk
Version: 1.1-2

gnu-fdisk doesn't work with ext3 partitions, created with Debian and Ubuntu
installers or simply running mkfs.ext3 /dev/xxx 
In Debian and Ubuntu systems all newly created ext3 get resize_inode feature 
enabled as default since ~2006 (AFAIK), but gnu-fdisk doesn't like 
resize_inode feature because of unknown reason :-/

Steps to reproduce:
1. Install gnu-fdisk 1.1 from Debian repositories and run cfdisk 
2. Choose "Check" or "Resize" button on any ext3 filesystem, created with 
mkfs.ext3 command or Debian/Ubuntu installer. 
3. You will get this error message:

Error!
 ======

 File system has an incompatible feature enabled. Compatible features are
 has_journal, dir_index, filetype, sparse_super and large_file. 
 Use tune2fs or debugfs to remove features.
 ======

The only "uncompatible" feature, which is enabled by default in all 
Debian installations since Debian 4.0 "Etch", is resize_inode :
 
$ dumpe2fs /dev/sda1 |grep -i features
Filesystem features:      has_journal resize_inode dir_index filetype sparse_super large_file

gnu-fdisk works only with unmounted filesystems and this feature
shouldn't cause any problems when checking or resizing unmounted ext3
filesystem, this feature just enables additional resize possibilities
with mounted filesystem.

So, please add resize_inode feature to compatible ext3 features list in
gnu-fdisk - then gnu-fdisk will work with ext3 partitions, created with
Ubuntu and Debian installers or by running mkfs.ext3 command with default
options.

-- 
Labanaktis/Good luck,
Mantas Kriaučiūnas	 Jabber ID: mantas at akl.lt 	 GPG ID: 43535BD5
Public organization "Open Source for Lithuania" - www.akl.lt





More information about the Parted-maintainers mailing list