Why is the total number of hard disk sectors shown in fdisk not the same as theoretical calculation?Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?Debian Wheezy live - gparted, dmsg, fdisk etc. do not detect local hard drive but it is shown during installationExpanding root partition CentOS 6 With using fdiskHow to extend logical & extended partition with fdiskExtend partition using LVMHow to ensure the same speed of hard disks among cluster machines?Hard disk shows '193' bad sectors and makes a repetitive clicking noiseI have a dedicated with 2 SSDs, how to I group them to behave as 1?Merge unallocated hard disk spaceHow to calculate partition Start End Sector?
What does "Fotze" really mean?
Do native speakers use ZVE or CPU?
What is temperature on a quantum level?
TikZ Can I draw an arrow by specifying the initial point, direction, and length?
Help with understanding nuances of extremely popular Kyoto-ben (?) tweet
Measuring mystery distances
Why would guns not work in the dungeon?
What to put after taking off rear stabilisers from child bicyle?
What does `[$'rn']` mean?
Dropping outliers based on "2.5 times the RMSE"
Professor falsely accusing me of cheating in a class he does not teach, two months after end of the class. What precautions should I take?
CPU overheating in Ubuntu 18.04
How might the United Kingdom become a republic?
Too many spies!
nginx serves wrong domain site. It doenst shows default site if no configuration applies
Supporting developers who insist on using their pet language
Are there any double stars that I can actually see orbit each other?
Is it rude to tell recruiters I would only change jobs for a better salary?
Pre-1968 YA science fiction novel: robot with black-and-white vision, later the robot could see in color
Is this floating-point optimization allowed?
Can I play a first turn Simic Growth Chamber to have 3 mana available in the second turn?
Why did the Japanese attack the Aleutians at the same time as Midway?
A DVR algebra with weird automorphisms
How do Windows version numbers work?
Why is the total number of hard disk sectors shown in fdisk not the same as theoretical calculation?
Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?Debian Wheezy live - gparted, dmsg, fdisk etc. do not detect local hard drive but it is shown during installationExpanding root partition CentOS 6 With using fdiskHow to extend logical & extended partition with fdiskExtend partition using LVMHow to ensure the same speed of hard disks among cluster machines?Hard disk shows '193' bad sectors and makes a repetitive clicking noiseI have a dedicated with 2 SSDs, how to I group them to behave as 1?Merge unallocated hard disk spaceHow to calculate partition Start End Sector?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When we use fdisk to check a hard disk, it would show something like:
Disk /dev/sda/: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
But when we multiply 255 x 63 x 2610, the number is 41929650, slightly less than the total no. of sectors shown above. Why?
hard-disk fdisk
New contributor
add a comment |
When we use fdisk to check a hard disk, it would show something like:
Disk /dev/sda/: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
But when we multiply 255 x 63 x 2610, the number is 41929650, slightly less than the total no. of sectors shown above. Why?
hard-disk fdisk
New contributor
add a comment |
When we use fdisk to check a hard disk, it would show something like:
Disk /dev/sda/: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
But when we multiply 255 x 63 x 2610, the number is 41929650, slightly less than the total no. of sectors shown above. Why?
hard-disk fdisk
New contributor
When we use fdisk to check a hard disk, it would show something like:
Disk /dev/sda/: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
But when we multiply 255 x 63 x 2610, the number is 41929650, slightly less than the total no. of sectors shown above. Why?
hard-disk fdisk
hard-disk fdisk
New contributor
New contributor
New contributor
asked 8 hours ago
GreenPenguinGreenPenguin
283 bronze badges
283 bronze badges
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The head, cylinder, sector numbers are displayed for historical purposes only, and for use by some really old software. Logical Block Addressing is used to address disks today. The geometry of modern disks typically have a variable number of sectors, outer tracks have more sectors than inner tracks.
Various interfaces have maximum values of 255 heads, 63 sectors/track, so to be able to express the CHS values for a large disk, these are set to their respective maximum values and the number of cylinders is rounded down to the nearest integer value giving an approximate value of the number of total sectors on the disk. The real number of sectors is typically different, as you have seen. The actual geometry of the disk is not even close to the CHS values; probably no disk ever manufactured has 255 heads, for example.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
GreenPenguin is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530000%2fwhy-is-the-total-number-of-hard-disk-sectors-shown-in-fdisk-not-the-same-as-theo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The head, cylinder, sector numbers are displayed for historical purposes only, and for use by some really old software. Logical Block Addressing is used to address disks today. The geometry of modern disks typically have a variable number of sectors, outer tracks have more sectors than inner tracks.
Various interfaces have maximum values of 255 heads, 63 sectors/track, so to be able to express the CHS values for a large disk, these are set to their respective maximum values and the number of cylinders is rounded down to the nearest integer value giving an approximate value of the number of total sectors on the disk. The real number of sectors is typically different, as you have seen. The actual geometry of the disk is not even close to the CHS values; probably no disk ever manufactured has 255 heads, for example.
add a comment |
The head, cylinder, sector numbers are displayed for historical purposes only, and for use by some really old software. Logical Block Addressing is used to address disks today. The geometry of modern disks typically have a variable number of sectors, outer tracks have more sectors than inner tracks.
Various interfaces have maximum values of 255 heads, 63 sectors/track, so to be able to express the CHS values for a large disk, these are set to their respective maximum values and the number of cylinders is rounded down to the nearest integer value giving an approximate value of the number of total sectors on the disk. The real number of sectors is typically different, as you have seen. The actual geometry of the disk is not even close to the CHS values; probably no disk ever manufactured has 255 heads, for example.
add a comment |
The head, cylinder, sector numbers are displayed for historical purposes only, and for use by some really old software. Logical Block Addressing is used to address disks today. The geometry of modern disks typically have a variable number of sectors, outer tracks have more sectors than inner tracks.
Various interfaces have maximum values of 255 heads, 63 sectors/track, so to be able to express the CHS values for a large disk, these are set to their respective maximum values and the number of cylinders is rounded down to the nearest integer value giving an approximate value of the number of total sectors on the disk. The real number of sectors is typically different, as you have seen. The actual geometry of the disk is not even close to the CHS values; probably no disk ever manufactured has 255 heads, for example.
The head, cylinder, sector numbers are displayed for historical purposes only, and for use by some really old software. Logical Block Addressing is used to address disks today. The geometry of modern disks typically have a variable number of sectors, outer tracks have more sectors than inner tracks.
Various interfaces have maximum values of 255 heads, 63 sectors/track, so to be able to express the CHS values for a large disk, these are set to their respective maximum values and the number of cylinders is rounded down to the nearest integer value giving an approximate value of the number of total sectors on the disk. The real number of sectors is typically different, as you have seen. The actual geometry of the disk is not even close to the CHS values; probably no disk ever manufactured has 255 heads, for example.
answered 7 hours ago
Johan MyréenJohan Myréen
8,4241 gold badge17 silver badges26 bronze badges
8,4241 gold badge17 silver badges26 bronze badges
add a comment |
add a comment |
GreenPenguin is a new contributor. Be nice, and check out our Code of Conduct.
GreenPenguin is a new contributor. Be nice, and check out our Code of Conduct.
GreenPenguin is a new contributor. Be nice, and check out our Code of Conduct.
GreenPenguin is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f530000%2fwhy-is-the-total-number-of-hard-disk-sectors-shown-in-fdisk-not-the-same-as-theo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown