Sunday, October 16, 2011

How to find the hard disk capacity

This post is about how to find the hard disk capacity.

1- In Linux
command of Linux or Uinux
It will show complete detail of your hard drive partion , so you will calculate all , it will show around 9 GB it below exemple
fdisk -l /dev/hdaDisk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id
System
/dev/hda1 1 141 1132551 a0 IBM Thinkpad hibernation
/dev/hda2 * 142 3789 29302560 7 HPFS/NTFS
/dev/hda3 3790 3806 136552+ 83 Linux
/dev/hda4 3807 7296 28033425 5 Extended
/dev/hda5 3807 3931 1004031 82 Linux swap
/dev/hda6 3932 7296 27029331 83 Linux


you can do
.........401593
.........104422
.......1959930
.......6417967
.......8883912
..........*..1024
9097125888 bytes


9 GB partitioned space with no gaps between partitions.
The actual disk capacity would be

(16065 * 512) x 1106 = 9097159680 bytes

9 GB

2-In Winodws XP
  1. Click the Start button in the Taskbar’s lower left corner.
  2. In the menu that pops up, click My Computer to open the window.
  3. Click on the Local Disk (C:). The hard drive’s size is at the bottom of the blue bar on the left of the window.
  4. If it it is not displayed, click Details. The hard drive’s size in GB and how much of that space is unused (Free Space) is under Total Size.
3 in Windows 7


First Double-click on the "My Computer" icon, located on your desktop. This will open the new "My Computer" window
Then selected the C drive if you have only one parttation of Hard Drive. If you have two or more then you have to calculate one by one both.
Right-click on your hard drive icon and select "Properties". This will open a window that displays all the information that you need about your Hard Disk, along with a pie chart illustration.

No comments:

Post a Comment