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;








5















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?










share|improve this question







New contributor



GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    5















    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?










    share|improve this question







    New contributor



    GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      5












      5








      5








      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?










      share|improve this question







      New contributor



      GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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






      share|improve this question







      New contributor



      GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      GreenPenguinGreenPenguin

      283 bronze badges




      283 bronze badges




      New contributor



      GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      GreenPenguin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          7














          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.






          share|improve this answer

























            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.









            draft saved

            draft discarded


















            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









            7














            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.






            share|improve this answer



























              7














              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.






              share|improve this answer

























                7












                7








                7







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                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




















                    GreenPenguin is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單