7 - Hard Disk
7 - Hard Disk
6early every desktop co p$ter and server in $se today contains one or ore hard#disk drives. 7very ainfra e and s$perco p$ter is nor ally connected to h$ndreds of the . 8o$ can even find 9C:#type devices and ca corders that $se hard disks instead of tape. These billions of hard disks do one thing well ## they store changing digital infor ation in a relatively per anent for . They give co p$ters the ability to re e ber things when the power goes o$t.
!n this article" we'll take apart a hard disk so that yo$ can see what's inside" and also disc$ss how they organi5e the gigabytes of infor ation they hold in files3
The agnetic recording aterial on a cassette tape is coated onto a thin plastic strip. !n a hard disk" the agnetic recording aterial is layered onto a high#precision al$ in$ or glass disk. The hard#disk platter is then polished to irror#type s oothness. %ith a tape" yo$ have to fast#forward or reverse to get to any partic$lar point on the tape. This can take several in$tes with a long tape. &n a hard disk" yo$ can ove to any point on the s$rface of the disk al ost instantly. !n a cassette#tape deck" the read'write head to$ches the tape directly. !n a hard disk" the read'write head (flies( over the disk" never act$ally to$ching it. The tape in a cassette#tape deck oves over the head at abo$t ) inches *abo$t +.,c . per second. / hard#disk platter can spin $nderneath its head at speeds $p to 0",,, inches per second *abo$t 12, ph or )2) kph.3 The infor ation on a hard disk is stored in e4tre ely s all agnetic do ains co pared to a cassette tape's. The si5e of these do ains is ade possible by the precision of the platter and the speed of the edi$ .
2
Beca$se of these differences" a odern hard disk is able to store an a a5ing a o$nt of infor ation in a s all space. / hard disk can also access any of its infor ation in a fraction of a second.
Data rate # The data rate is the n$ ber of bytes per second that the drive can deliver to the C>C. :ates between + and ?, egabytes per second are co on. Seek time # The seek ti e is the a o$nt of ti e between when the C>C re=$ests a file and when the first byte of the file is sent to the C>C. Ti es between 1, and ), illiseconds are co on.
The other i portant para eter is the capacity of the drive" which is the n$ ber of bytes it can hold.
!t is a sealed al$ in$ bo4 with controller electronics attached to one side. The electronics control the read'write echanis and the otor that spins the platters. The electronics also asse ble the agnetic do ains on the drive into bytes *reading. and t$rn bytes into agnetic do ains *writing.. The electronics are all contained on a s all board that detaches fro the rest of the drive:
the drive reveals an e4tre ely si ple b$t very precise interior:
The platters # These typically spin at 0"D,, or 2"),, rp when the drive is operating. These platters are an$fact$red to a a5ing tolerances and are irror#s ooth *as yo$ can see in this interesting self#portrait of the a$thor... no easy way to avoid that3.. The arm # This holds the read'write heads and is controlled by the echanis in the $pper#left corner. The ar is able to ove the heads fro the h$b to the edge of the drive. The ar and its ove ent echanis are e4tre ely light and fast. The ar on a typical hard#disk drive can ove fro h$b to edge and back $p to +, ti es per second ## it is an a a5ing thing to watch3
The echanis that oves the ar s on a hard disk has to be incredibly fast and precise. !t can be constr$cted $sing a high#speed linear otor.
Many drives $se a (%oice coil( approach ## the sa e techni=$e $sed to speaker on yo$r stereo is $sed to ove the ar .
/ typical track is shown in yellowE a typical sector is shown in bl$e. / sector contains a fi4ed n$ ber of bytes ## for e4a ple" )+D or +1). 7ither at the drive or the operating syste level" sectors are often gro$ped together into cl$sters. The process of low&le%el formatting a drive establishes the tracks and sectors on the platter. The starting and ending points of each sector are written onto the platter. This process prepares the drive to hold blocks of bytes. High&le%el formatting then writes the file#storage str$ct$res" like the file#allocation table" into the sectors. This process prepares the drive to hold files.