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 649444 - Partition information reports wrong sector count
Partition information reports wrong sector count
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
0.8.0
Other Linux
: Normal minor
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2011-05-05 09:14 UTC by Malte Forkel
Modified: 2011-07-18 19:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Malte Forkel 2011-05-05 09:14:45 UTC
I used GParted 0.8.0 (from a SystemRescueCD 2.1.0) to partition a 3 TB Seagate Constellation ES.2 ST33000650NS hard disk.

According the the product manual, this disk has 5860533168 sectors. This number is correctly reported by "View -> Device Information" in GParted. But according to "Partition -> Information", the unallocated area of the new disk stretches from sector 0 to sector 5860533168 for a total auf 5860533169 sectors. That is one more than the available 5860533168.

See this thread on the GParted Forum for some more details: http://gparted-forum.surf4.info/viewtopic.php?pid=25772.
Comment 1 Curtis Gedak 2011-05-31 16:18:52 UTC
Thank you Malte Forkel for finding and reporting this problem.

I was able to reproduce the problem whenever a disk had an unrecognized disk label, also known as a partition table.

The problem did not appear when the disk had a recognizable partition table (e.g., MSDOS, GPT).

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=53b2b50f4a2190d15682b0a1b954b4beeed17ebd
Comment 2 Malte Forkel 2011-05-31 16:37:32 UTC
Thank you Curtis for finding and fixing the bug!
Comment 3 Curtis Gedak 2011-07-18 19:18:39 UTC
The fix for this bug was included in the GParted 0.9.0 release on July 18, 2011.