Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HD not showing full 3

Status
Not open for further replies.

cganti

Programmer
Dec 16, 2003
26
CA
hi i have one new 80gb samsung hard drive and whe i first tried to install the operating system then it showed me 80GB where as do to some problem in my RAM i couldnt able to load and i formatted 5 or 6 times and now the maximum it is showing is 75 GB i dont know where that 5 GB has lost.
i tried to scan ,check everything but no way i can find.
now i loaded xp everything is fine but it is only 75GB god knows whee that 5Gb is lost.
can anybody tell me how to get hold of that 5 GB
One more thing is in BIOS it is showing 80GB.
thankyou
ganti
 
There's no problem, it's just that manufacturers rate the capacity of the drive as the true number of bytes, i.e. 1,000 bytes = 1 kilobyte, and 1,000 megabytes = 1 gigabyte.
Operating systems, however, calculate capacity differently: It takes 1,024 bytes to equal 1 kilobyte in this case, and 1,024 megabytes to equal 1 gigabyte resulting in the apparent discrepancy you mention.
All is well, there's no problem.
Regards,
Andy.
 
Actually, the discrepancy lies in the mixed usage of binary and decimal kilobytes. The number system that everyone is most familiar with is the decimal, or base 10, system, where every position in a number represents a power of 10. For example, the number 123 can be broken down into 1*10**2 (1 times 10 squared, or 100) + 2*10**1 (2 times 10 to the first power, or 20) + 3*10**0 (3 times 10 to the 0th power, which is 1, or 3). In Greek, "kilo" means one thousand, and that's what everyone originally accepted it as being. A kilometer is 1000 meters, not 1024 meters.

But when computers were being developed, they (nearly) all used a binary numbering system, and the power of 2 closest to 1000 was 2**10 (2 to the 10th power), or 1024. So it was decided to use the term kilobyte to describe this value. The binary number system was never designed to count a small number of things (other than its "binary" values, 0 and 1). It was used to measure bytes, of memory, and of disk space, which even in the early days of computers were numbered in the thousands.

And for a number of years, everyone cooperated with everyone else, and all numbers agreed, because the hard drive manufacturers reported their drives' capacities in binary units: kilobytes and megabytes, while operating systems (DOS and Windows) also reported disk capactities in binary kilobytes and megabytes.

So a binary kilobyte is "almost" the same as a decimal kilobyte, being off by only 2.4%. System capacities grew, however, and the discrepancy between the two numbering systems grew as well.
Decimal Binary Discrepancy
------- ------ -----------
Kilobyte 1000 1024 2.4%
Megabyte 1000000 1048576 4.9%
Gigabyte 1000000000 1073741824 7.4%

As hard drives crept into the gigabyte size, drive manufacturers decided that the discrepancy was costing them money. A 10-gigabyte drive had almost 11 million bytes of storage, while a 15-gigabyte drive had OVER 16 million bytes of storage. So they decided to begin reporting their drives' capacities using decimal measurements.

That 80-GB hard drive that you have has 80 decimal gigabytes on it, or 80,000,000,000 bytes (and even a few more than that, most likely). Windows, however, is measuring that drive's capacity using binary gigabytes, and it sees 80,000,000,000/1,073,741,824 binary gigabytes, or 74.498867721509047872585003729562 gigabytes. (Call it 74.5 gigabytes.) If your system reports that you've got 75 gigabytes, then there's actually a few more than just 80,000,000,000 bytes there.

Sorry for the long-winded explanation. It's just the teacher in me that keeps popping up. (Down, boy!)


Rich (in Minn.)
 
hi RICHINMINN
thankyou very much for your really valuable post
thankyou
bye
ganti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top