DISK and RAID
DISK and RAID
of disk drives
Rahul Raman
Asst. Professor (Senior)
Department of Analytics
School of Computer Science and Engineering
VIT University Vellore, India
Types of External Memory
Magnetic Disk
RAID
Removable
Optical
CD-ROM
CD-Recordable (CD-R)
CD-R/W
DVD
Magnetic Tape
Magnetic Disk
A disk is a circular platter constructed of non magnetic material substrate
Disk substrate coated with magnetisable material (iron oxide…rust)
Substrate used to be aluminium or aluminium alloy material.
Now glass is used as substrate
Benefits of using glass as substrate
Improved surface uniformity
Increases reliability
Reduction in surface defects
Reduced read/write errors
Better stiffness
Better shock/damage resistance
Read and Write Mechanisms
Recording & retrieval via conductive coil called a head
May be single read/write head or separate ones
During read/write, head is stationary, platter rotates
Write
Current through coil produces magnetic field
Pulses sent to head
Magnetic pattern recorded on surface below
Read (traditional)
Magnetic field moving relative to coil produces current
Coil is the same for read and write
Read (contemporary)
Separate read head, close to write head
The head consists of partially shielded magneto resistive (MR) sensor
The MR material has an electrical resistance depends on direction of magnetization medium moving
under it
MR design allows high frequency operation which equates to greater storage density and speed
Inductive Write MR Read
Data Organization and Formatting
Concentric rings or tracks
Gaps between tracks
Reduce gap to increase capacity
Same number of bits per track (variable packing density)
Constant angular velocity
Tracks divided into sectors
Minimum block size is one sector
May have more than one sector per block
Disk Data Layout
Disk Velocity
Bit near centre of rotating disk passes fixed point slower than bit on outside of disk
Increase spacing between bits in different tracks
Rotate disk at constant angular velocity (CAV)
Gives pie shaped sectors and concentric tracks
Individual tracks and sectors addressable
Move head to given track and wait for given sector
Waste of space on outer tracks
Lower data density
Can use zones to increase capacity
Each zone has fixed bits per track
More complex circuitry
Disk Layout Methods Diagram
Multiple Zone Recording
To increase density, modern hard disk systems use a technique
Multiple Zone Recording
The surface is divided into number of concentric zone .
Within a zone a number, the number of bit /track is constant.
Zones farther from the centre contain more sectors than zones
closer to the centre.
Greater overall storage capacity at the expense of somewhat more
complex circuitry.
Finding Sectors
Must be able to identify start of track and sector
Disk Format
Additional information not available to user
Marks tracks and sectors
Characteristics
Fixed (rare) or movable head
Removable or fixed
Single or double (usually) sided
Single or multiple platter
Head mechanism
Contact (Floppy)
Fixed gap
Flying (Winchester)
Fixed/Movable Head Disk
Fixed head
One read write head per track
Heads mounted on fixed ridged arm
Movable head
One read write head per side
Mounted on a movable arm
Removable or Not
Removable disk
Can be removed from drive and replaced with another disk
Provides unlimited storage capacity
Easy data transfer between systems
Nonremovable disk
Permanently mounted in the drive
Multiple Platter
One head per side
Heads are joined and aligned
Aligned tracks on each platter form cylinders
Data is striped by cylinder
reduces head movement
Increases speed (transfer rate)
Physical Characteristics of Disk
Systems
Multiple Platters
Tracks and Cylinders
Speed
Seek time
Moving head to correct track
(Rotational) latency
Waiting for data to rotate under head
Access time = Seek + Latency
Transfer rate
The key components that are typically added
together to obtain the access time are:
• Seek time
• Rotational latency
• Command processing time
• Settle time
Seek Time: With rotating drives, the seek time measures the time it takes the
head assembly on the actuator arm to travel to the track of the disk where the
data will be read or written.
Media rate
Rate at which the drive can read bits from the surface of the media.
Calculate
Average Rotational delay = ½ Time of Rotation in milliseconds