cannot move partition "File system has an incompatible feature enabled"
Bug #235351 reported by
James Dupin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
cannot move an ext partition (haven't tried another FS) using parted, tune2fs
initial features of the partition
has_journal resize_inode dir_index filetype sparse_super large_file
after using tune2fs, went down to
ext_attr sparse_super
so apparently parted chokes on those attributes.
What baffles me is that gparted does move the partition with all the features on.
I want to do by command line what gparted is able to do.
Can someone let me know the commands issued by gparted or will I find that in the source files?
To post a comment you must log in.
The feature there that libparted doesn't like is resize_inode, simply because it doesn't know how to deal with the different filesystem layout when that's turned on. A workaround is to clear this feature using tune2fs, but then you lose online resizing.
This is also bug 59620.
gparted doesn't suffer from this simply because it has its own implementation which moves the blocks around by hand. While this is a functional workaround, it's obviously suboptimal for all kinds of reasons, not least that gparted is not very useful for command-line use.