Bug 8812

Summary: 66305-cylinder disk shows up as 769-cylinder in fdisk.
Product: [Retired] Red Hat Linux Reporter: xkr47
Component: util-linuxAssignee: Elliot Lee <sopwith>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.1CC: johnsonm
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-18 09:47:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description xkr47 2000-01-24 23:05:53 UTC
My new IBM 34gb harddisk is identified correctly at boot time as 66305
cylinder (16 heads, 63 sectors). However, when I start up fdisk it shows me
769 cylinders, which is equal to the lowest 16 bits of 66305. "sfdisk -g"
also shows the disk as 769-cylinder. However, cfdisk correctly displays the
number of cylinders (after creating a empty partition table with fdisk).

I guess if I had used some other DOS or Windows based utility (urgh) then
that util might have wrapped the whole disk into (4160,255,63) or whatever
and this problem wouldn't have occured since I've noticed that linux
detects the actual used parameters (if it can) from the partition table.

Comment 1 Elliot Lee 2001-07-16 23:49:27 UTC
Michael, is this a kernel bug as Matt suggested?

Comment 2 Arjan van de Ven 2001-07-18 09:47:55 UTC
Red Hat Linux 6.1 had an fdisk that couldn't cope with such large disks.
I'd recommend upgrading the fdisk to at least the 7.0 version.