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 631026 - Partitions created using MiB alignment are 1 MiB larger than specified
Partitions created using MiB alignment are 1 MiB larger than specified
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.6.3
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2010-09-30 16:43 UTC by Curtis Gedak
Modified: 2010-10-01 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Curtis Gedak 2010-09-30 16:43:01 UTC
When creating a partition using the default MiB alignment, the resulting partition is bigger by 1 MiB.

For example if I try to create an 8 MiB ext2 partition, a 9 MiB ext2 partition will be created (e.g., 8 + 1 = 9).

A work around is to specify the partition size as 1 MiB smaller than desired.

The size of the partition to be created is shown in the operation queue.
Comment 1 Curtis Gedak 2010-09-30 16:49:53 UTC
This bug was introduced into GParted 0.6.3 with the following commit:

Fix size reduced by 1 MiB when created after cylinder aligned partition
http://git.gnome.org/browse/gparted/commit/?id=a30f991ca57453f29e2c3ad85c05be8e436fe860
Comment 2 Curtis Gedak 2010-09-30 17:37:07 UTC
A fix for this problem has been committed to the 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=adc55bec504921b4eea8e6747bc0130b22bae6df
Comment 3 Curtis Gedak 2010-09-30 18:44:49 UTC
Increasing the Severity of this bug to Critical since it involves a program crash.
Leaving the Priority as Normal since a straight forward work around exists (queue and apply one operation at a time)
Comment 4 Curtis Gedak 2010-09-30 18:45:53 UTC
Doh!  Updated the wrong bug report.  Returning this bug report to Severity Normal.
Comment 5 Curtis Gedak 2010-10-01 15:47:20 UTC
The enhancements to address this bug report have been included in GParted 0.6.4
which was released on October 1, 2010.

Closing this bug report.