N/APosted on - 12/28/2011
I want to get total hard disk space. If hard drive space 40 GB I want to 40 rather then 37, 38 GB. OCS excludes some 2 or 3 GB space. For example hard space is 80 GB available space is 77 GB but I want to get total 80 GB.
Is it possible?
Why does a hard drive exempt some space
The answer to your question is, no it is not possible because the capacity of hard disk drives given by the manufacturers uses decimal multiples, prefixes assigned to powers of 1000 (1 GB = 1,000,000,000 bytes or 1 TB = 1,000,000,000,000 bytes), but in reality hard disk drive capacity uses binary multiples, prefixes assigned to powers of 1024 (1GB = 1,073,741,824 bytes or 1TB = 1,099,511,627,776). So the manufacturers 80GB hard disk drive is giving you 80,000,000,000 bytes, divide that by 1024 and again by 1024 and again by 1024 (because 1KB=1024 bytes, 1MB=1024KB, 1GB=1024MB, etc..) and you get 74.505 GB of real space. For the 40GB is the same process to get the real space in GB, 40,000,000,000 bytes divided by 1024 and again by 1024 and again by 1024 is 37.253GB of available space.