19. Disks Flashcards
What is stable storage?
Storage that does not lose its contents when the computer is turned off
What are the two categories of stable storage?
HDD (hard disk drive), spinning disk, or hard drive
SSD (solid state drive) or flash drive
Describe the hard drive category of stable storage.
A stable storage device constructed of rotating magnetic platters
Describe the solid state drive category of stable storage.
A stable storage device constructed of non-moving, non-volatile memory
What are the key differences between HDDs and SSDs?
HDDs are bigger, slower, and cheaper than SSDs.
Ex: HHD is $0.07 per GB, SSD is $0.15 per GB
Why study spinning disks?
HDDs are still around and will be for awhile. Flash storage is definitely the future though.
What are the three parts of the hardware disk?
Platter, Spindle, and Head
What is the platter in a HDD?
A circular flat disk on which magnetic data is stored.
Constructed of a rigid non-magnetic material coated with a very thin layer of magnetic material.
Can have data written on both sides.
What is the spindle in a HDD?
The drive shaft on which multiple platters are mounted and spun between 4200-15,000 RPM
What is the head in a HDD?
The actuator that reads and writes data onto the magnetic surface of the platters while rotating at tens of nanometers over the platter surface
What are the three components of disk location?
Track, Sector, and Cylinder
What is the track?
Think of a lane on a race track running around the platter.
What is a sector?
It resembles a slice of pie cut out of a single platter.
What is a cylinder?
Imagine the intersection between a cylinder and the set of platters. It’s composed of a set of vertically-aligned tracks on all platters.
How are disks different from other hardware components?
Disks move, disks are slow, and disks are devices, meaning they are less tightly coupled to the abstractions built on top of them.