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 529313 - disk size smaller than partition size.
disk size smaller than partition size.
Status: RESOLVED OBSOLETE
Product: gparted
Classification: Other
Component: application
0.3.5
Other All
: Normal trivial
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2008-04-22 02:21 UTC by Peter Silva
Modified: 2009-12-03 12:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Silva 2008-04-22 02:21:11 UTC
Please describe the problem:
this bug derived from 524948, submitted on developer request.
gparted displays information for my disk unit, listing the entire device
as smaller than what is listed for a partition, by >5000 sectors.
my guess is that this has to do with the device being a 2 TiB one, and the use of GPT for the device label.

original bug report:   

Size: 2.00TiB
Path: /dev/sdd

DiskLabelType: gpt
Heads:   255
Sectors: 63
Cylinders: 267349
Total Sectors: 4294961685

when I ask for information about the existing partition created with parted, it
has a warning triangle (unable to detect file system.)   right click for
information gives /dev/sdd1:
  un-known filesystem type.
  First sector: 34
  Last Sector 4294967126
  Total Sectors: 4294967093

Please note that it reports 5611 more sectors in the partition than in
the whole devices 'Total Sectors'.

If, in the GUI I then delete, and re-create with 'round to cylinders'
unchecked,
it creates the partition with a size -512.00B  when I click apply, it complains
about an empty partition.

I exit gparted, and re-created the partition with parted via:
mkpart ext2 0 100%
quit

and then re-mounted the file system with no data loss.



Steps to reproduce:
1. get a really large disk
2. create a single partition for the whole disk
3. fire up gparted, look at the 'information' for the device and the partition. compare the numbers.



Actual results:
the partition size is smaller than the device size, when this is done on my drobo storage unit.


Expected results:
I would expect partition size <= device size.


Does this happen every time?
yes.  done several times, repeatable.

Other information:
related bugs:
original -- http://bugzilla.gnome.org/show_bug.cgi?id=524948
parted   -- http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/191
 (about posting of information using gpt labels...)
Comment 1 Javier Jardón (IRC: jjardon) 2009-12-02 23:51:34 UTC
You reported this bug a while ago and there hasn't been any activity in it
recently. We were wondering if this is still an issue for you.

Can you please check again if the issue you reported here still happens in a
recent version and update this report by adding a comment and adjusting
the 'Version' field?

Again thank you for reporting this and sorry that it could not be fixed for the
version you originally used here.

Set to NEEDINFO, so without feedback this report will be closed as INCOMPLETE
after 6 weeks.
Comment 2 Peter Silva 2009-12-03 12:06:13 UTC
I just checked on ubuntu 9.10, and my 8 TiB partition on an 8 TiB volume is
correctly displayed.  So someone has fixed the problem.  Thanks!