25 Apr
2011
25 Apr
'11
18:43
Feature changed by: Greg Freemyer (gregfreemyer) Feature #312273, revision 2 Title: fix bug in yast disk openSUSE Distribution: Unconfirmed Priority Requester: Mandatory Requested by: Andrew Joakimsen (joak0) Partner organization: openSUSE.org Description: + Summary Description yast-partitioner was updated for 11.3 and newer to + stop using CHS information as its primary partition alignment strategy. + The user interface was never updated to match. The user interface for + yast2-partitioner should be updated to allow the user to select legacy + CHS presentation and the more modern presentation units of sectors / + MBs / GBs or other units more appropriate to raid strides. + Original Description On Fri, Apr 22, 2011 at 08:14, Greg Freemyer <greg.freemyer@gmail.com> wrote: > Andrew, > > Is there a openfate proposal? They are easy to create. Any opensuse > user with a login can do it. > > Since this is not a bug, just a functionality change proposal, > bugzilla is not the right place. > > Greg > > On 4/18/11, Greg Freemyer <greg. freemyer@gmail.com> wrote: >> On Mon, Apr 18, 2011 at 1:28 PM, Andrew Joakimsen <joakimsen@gmail.com> >> wrote: >>> On Mon, Apr 18, 2011 at 06:18, David Haller <dnh@opensuse.org> wrote: >>>> Hello, >>>> >>>> On Sun, 17 Apr 2011, Andrew Joakimsen wrote: >>>>>understands what is going on can make sure it is setup properly. There >>>>>is no formula to convert from cylinders to sectors! >>>> >>>> http://en.wikipedia.org/wiki/Cylinder-head-sector#CHS_to_LBA_mapping >>>> >>>>>This issue is also affecting newer/larger hard drives. And these >>>>>without a doubt have 4kb sectors but everything in opensuse shows 512 >>>>>bytes! >>>> >>>> The _drives_ don't tell their real sector sizes! >>>> >>>> # /sbin/hdparm -I /dev/sdb >>>> [..] >>>> Model Number: SAMSUNG HD204UI >>>> [..] >>>> LBA48 user addressable sectors: 3907029168 >>>> Logical Sector size: 512 bytes >>>> Physical Sector size: 512 bytes >>>> >>>> This is what the disk tells via the ATA interface. And yes, that is >>>> a disk with 4K physical sectors, which is why I partitioned aligned >>>> to 4K. There is just no way for Yast or any other tool to know. One >>>> could create a database of 4K-disks reporting 512B sectors though. >>>> >>> >>> Right that's what I said basically and hence my proposal that Yast >>> shows disks in the relevant unit of "sectors" and not the antiquated >>> useless term of "cylinders." If you know your disk needs to be aligned >>> to X size sectors you can calculate it yourself and set it up with no >>> hassle. >>> >>> But in the current arragement, since there's no universal formula to >>> convert cylinders to sectors and yast only shows the former, you need >>> to e.g. boot a live CD, create your partitions with some clunky 3rd >>> party tool and then do your installation. >> >> If you'll post the openFATE link to your proposal, I'll add my vote. - >> >> Greg >> > The current functionality is a bug and I have long ago - reported it as such. Disks are addressed by logical sectors this - millenium. It's a bug to show an obsolete, not-convertible unit. serves - no purpose unit. The fix to that bug is to show the relevant unit. -- - Med Vennlig Hilsen, A. Helge Joakimsen + >> >> Greg >> > + The current functionality is a bug and I have long ago reported it as + such. Disks are addressed by logical sectors this millenium. It's a bug + to show an obsolete, not-convertible unit. serves no purpose unit. The + fix to that bug is to show the relevant unit. -- Med Vennlig Hilsen, + A. Helge Joakimsen -- openSUSE Feature: https://features.opensuse.org/312273