[Bug 985882] Re: units shown are not equal to the units asked for creation

Curtis Gedak gedakc at gmail.com
Wed May 9 16:37:57 UTC 2012


> Can't sectors per MiB be different on different harddisks?
> But the LBA size "sectors?" may be the right option for below MiB alligning.

Sector size can vary from the traditional 512 bytes per sector.  Hence
sectors per MiB can be different on different hard disks.  I believe the
same can be said for LBA size "sectors".


There are already a few other upstream bug reports that involve allowing different units:

612928 - File size units not consistent with GNOME desktop
https://bugzilla.gnome.org/show_bug.cgi?id=612928

622150 - Support for data entry and display of logical blocks (sectors)
https://bugzilla.gnome.org/show_bug.cgi?id=622150

With this in mind, perhaps this bug report should deal only with adding
the size in MiB to the "Partition --> Information" dialog?


** Bug watch added: GNOME Bug Tracker #612928
   https://bugzilla.gnome.org/show_bug.cgi?id=612928

** Bug watch added: GNOME Bug Tracker #622150
   https://bugzilla.gnome.org/show_bug.cgi?id=622150

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/985882

Title:
  units shown are not equal to the units asked for creation

Status in “gparted” package in Ubuntu:
  Triaged

Bug description:
  Try to recreate or clone the OS partition on another harddrive of a
  different size as the original.

  GParted shows only an impresize size of the existing partition such as
  "32.63GB", whereas to create the new partition the exact size in MiB
  is required.

  Hidden in the Properties, gparted does tell the number of sectors in
  the old partition, but that can't be directly used to create the new
  partition either. (V 0.7.0)

  Use case is not to copy but create two disks with same partiton sizes
  (only some of them raid partition clones).

  --

  Suggested fix:

  * Add the size in MiB to the detailed properties, since this is the
  standard allign unit anyway.

  * Provide the option to use LBA units for creation, to allow full
  precision.

  (Provide an option to use "same as allign unit"?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/985882/+subscriptions




More information about the foundations-bugs mailing list