Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calculating Hard Disk Capacity [closed]

Tags:

diskspace

disk

Consider a disk with the following characteristics:
Number of surface 16
Number of sectors / cylinder 4096
Number of tracks per surface 2048
Number of bytes per sector 512

1) How many patters does the disk have ?
I got: number of surfaces / 2 = 8

2)How many sectors per tack ?
I got: Number tracks per cylinder = tracks per surface * surfaces
= 2048 * 16 = 32, 768
Number of sectors per track = number of tracks per cylinder / number of sectors per cylinder

        = 32, 768 / 4096 
        = 8  

3) What is the total size of this disk
I got : Total size = cylinders * surfaces * sectors per track * 512 bytes

    = 32,768 * 16 * 8 * 512  
    = 2, 147, 483, 648 bytes  
    = 2, 097, 152 Mb  
    = 2, 048 Gb  

The thing is, I dont know if this is right solution

like image 536
bobo Avatar asked Jan 20 '23 02:01

bobo


1 Answers

Question2:
Number of surface 16 -> a cylinder consists of 16 tracks.
Number of sectors / cylinder == 4096
Then sectors per track = 4096/16 = 256

Question3:
16 * 2048 * 256 * 512 = 4294967296
like image 107
RollingBoy Avatar answered Mar 13 '23 00:03

RollingBoy