After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663980 - Avoid redundant file system maximize actions on copy, move, and resize
Avoid redundant file system maximize actions on copy, move, and resize
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.10.0
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2011-11-13 18:12 UTC by Curtis Gedak
Modified: 2011-12-13 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Curtis Gedak 2011-11-13 18:12:50 UTC
When GParted performs operations or combinations of operations, such as:
  a)  copy to same or smaller size destination partition
  b)  move to same or smaller size due to alignment change
  c)  resize to smaller size
a redundant maximize file system operation occurs.

Normally these redundant maximize operations to grow the file system to take up all the space in the partition are not harmful.

However in situations where libparted fails to inform the kernel of partition changes, then the extra maximize operation can grow the file system to be the original partition size.  In cases where the original partition was larger than the new partition size, this causes problems because the file system will be larger than the partition on reboot.

If these redundant maximize file system operations are removed, then this would reduce problems described in the following links:

WARNING! Problem Resizing File Systems with GParted
http://gparted-forum.surf4.info/viewtopic.php?id=13777

Bug #601574 - ERROR: Current NTFS volume size is bigger than the device size!

Bug #604298 - Problems resizing file systems with gparted-live-0.5.0-3
Comment 1 Curtis Gedak 2011-11-13 18:42:27 UTC
An enhancement to avoid redundant file system maximize actions on copy, move, and resize has been committed to the gnome git repository for inclusion in the next release of GParted.

The relevant git commit can be viewed at the following link:
http://git.gnome.org/browse/gparted/commit/?id=e8bdb5d7045f71fc19ba8e4651906cdd47ac6774
Comment 2 Curtis Gedak 2011-12-13 17:43:19 UTC
The enhancement to address this bug report has been included in GParted 0.11.0 released on Dec. 13, 2011.