Lecture 5
Lecture 5
Magnetic Disk
Magnetic
Read
The write head itself is made of
Electric pulses are sent to the
write head and the resulting
easily magnetizable material and Write
and is in the shape of a
magnetic patterns are recorded
on the surface below, with
rectangular doughnut with a gap Mechanisms
along one side and a few turns
different patterns for positive
of conducting wire along the
and negative currents
opposite side
Table 6.1
Physical Characteristics of Disk Systems
To read or write the head must be positioned at the desired track and at the beginning
of the desired sector on the track
Track selection involves moving the head in a movable-head system or electronically
selecting one head on a fixed-head system
Once the track is selected, the disk controller waits until the appropriate sector rotates to
line up with the head
Seek time
On a movable–head system, the time it takes to position the head at the track
Access time
The sum of the seek time and the rotational delay
The time it takes to get into position to read or write
Transfer time
Once the head is in position, the read or write operation is then performed
as the sector moves under the head
This is the data transfer portion of the operation
Level 2 i
d
Characteristics Performance
An error-correcting code is
Makes use of a parallel access calculated across corresponding
technique bits on each data disk and the bits
of the code are stored in the
corresponding bit positions on
In a parallel access array all multiple parity disks
member disks participate in the
execution of every I/O request Typically a Hamming code is used,
which is able to correct single-bit
Spindles of the individual drives errors and detect double-bit
are synchronized so that each errors
disk head is in the same position
on each disk at any given time The number of redundant disks is
proportional to the log of the
number of data disks
Data striping is used
Strips are very small, often as Would only be an effective choice
small as a single byte or word in an environment in which many
disk errors occur
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+ R
RAID a
Level 3 i
d
Redundancy Performance
Requires only a single In the event of a drive failure, the
redundant disk, no matter how parity drive is accessed and data is 3
reconstructed from the remaining
large the disk array devices
Employs parallel access, with Once the failed drive is replaced, the
data distributed in small strips missing data can be restored on the
new drive and operation resumed
Instead of an error correcting In the event of a disk failure, all of the
code, a simple parity bit is data are still available in what is
computed for the set of referred to as reduced mode
individual bits in the same
position on all of the data disks Return to full operation requires that
the failed disk be replaced and the
entire contents of the failed disk be
Can achieve very high data regenerated on the new disk
transfer rates
In a transaction-oriented environment
performance suffers
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+ RAID R
a
Level 4 i
d
Characteristics
Performance
Makes use of an independent
access technique Involves a write penalty when 4
In an independent access array, an I/O write request of small
each member disk operates size is performed
independently so that separate
I/O requests can be satisfied in
parallel
Each time a write occurs the
array management software
Data striping is used must update not only the user
Strips are relatively large data but also the corresponding
parity bits
To calculate the new parity the
array management software Thus each strip write involves
must read the old user strip two reads and two writes
and the old parity strip
Durability
Longer lifespan
CD-ROM
Compact Disk Read-Only Memory. A nonerasable disk used for storing computer data.
The standard system uses 12-cm disks and can hold more than 650 Mbytes.
CD-R
CD Recordable. Similar to a CD-ROM. The user can write to the disk only once.
Table 6. 6
CD-RW
CD Rewritable. Similar to a CD-ROM. The user can erase and rewrite to the disk
multiple times. Optical
DVD
Digital Versatile Disk. A technology for producing digitized, compressed representation
Disk
of video information, as well as large volumes of other digital data. Both 8 and 12 cm diameters
are used, with a double-sided capacity of up to 17 Gbytes. The basic DVD is read-only (DVD- Products
ROM).
DVD-R
DVD Recordable. Similar to a DVD-ROM. The user can write to the disk only once.
Only one-sided disks can be used.
DVD-RW
DVD Rewritable. Similar to a DVD-ROM. The user can erase and rewrite to the disk
multiple times. Only one-sided disks can be used.
Blu-Ray DVD
High definition video disk. Provides considerably greater data storage density than DVD,
using a 405-nm (blue-violet) laser. A single layer on a single side can store 25 Gbytes.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Compact Disk Read-Only Memory
(CD-ROM)
Audio CD and the CD-ROM share a similar technology
The main difference is that CD-ROM players are more rugged and
have error correction devices to ensure that data are properly transferred
Production:
The disk is formed from a resin such as polycarbonate
Digitally recorded information is imprinted as a series of microscopic pits on
the surface of the polycarbonate
This is done with a finely focused, high intensity laser to create a master disk
The master is used, in turn, to make a die to stamp out copies onto
polycarbonate
The pitted surface is then coated with a highly reflective surface, usually
aluminum or gold
This shiny surface is protected against dust and scratches by a top
coat of clear acrylic
Finally a label can be silkscreened onto the acrylic
Serial recording
Data are laid out as a sequence of bits along each track