On 11/23/2012 11:50 AM, Greg Freemyer wrote:
On Fri, Nov 23, 2012 at 10:58 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On Fri 23 Nov 2012 04:41:31 AM EST, Arvin Schnell wrote:
On Thu, Nov 22, 2012 at 09:39:54PM -0500, Roman Bysh wrote:
Hello List mates,
I recently purchased a Western Digital "Black" 500 GB drive with 7200 rpm.
When I create partitions during the install using the "optimal" option, the following appears when I select fdisk.
fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00033420
Device Boot Start End Blocks Id System /dev/sda1 * 2048 146802687 73400320 83 Linux /dev/sda2 146802688 155187199 4192256 82 Linux swap / Solaris /dev/sda3 155187200 976773119 410792960 f W95 Ext'd (LBA) /dev/sda5 155189248 870322175 357566464 83 Linux /dev/sda6 870324224 976752639 53214208 83 Linux
linux-nxcl:~ # fdisk -lu=cylinders
Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00033420
Device Boot Start End Blocks Id System /dev/sda1 * 1 9139 73400320 83 Linux /dev/sda2 9139 9660 4192256 82 Linux swap / Solaris /dev/sda3 9660 60802 410792960 f W95 Ext'd (LBA) /dev/sda5 9661 54176 357566464 83 Linux /dev/sda6 54176 60801 53214208 83 Linux
Why is 1st partition's last cylinder sharing the same number with the 2nd partition's first cylinder when the gui showed the 2nd partition starting on the next cylinder?
Cylinders are calculated from sectors and different sectors can map to the same cylinder. Look at the partition table in sectors and everything will be fine (no overlap).
ciao Arvin
Arvin
That is what I thought. There is no overlap. Whew :-) I tried partitioning using fdisk while in Parted Magic to have the cylinders line up and I got error about physical partitions overlapping.
Most likely because of the 4096 byte sector size. I would recommend that the partitioner no longer show the cylinders. Yes?
I don't think it is obvious one way or the other.
Windows XP still defaults to cylinder based alignment of partitions, but it can work with non-aligned partitions as of the last several years.
Windows 7 defaults to partitions lined up on 1 MB boundaries.
Linux tools just started defaulting to a 1MB partition alignment a couple years ago, but there are still a lot of drives in use with cylinder alignment.
Maybe opensuse should update the yast partitioner to look at the partition alignment and adjust the output to either cylinder aligned or MB aligned based on what it sees in use of the drive.
For drives with no partition table, it should default to creating MB aligned partitions in my opinion.
Greg I agree. In my case the sector size is 4096 bytes so the 1MB alignment of partitions is required.
Should this be requested via openFate or Bugzilla? Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org