GNOME Bugzilla – Bug 649444
Partition information reports wrong sector count
Last modified: 2011-07-18 19:18:39 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.
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
Thank you Curtis for finding and fixing the bug!
The fix for this bug was included in the GParted 0.9.0 release on July 18, 2011.