Chapter 6
Chapter 6
Storage
What is storage?
H ld d t
i
t
ti
d i f
ti
f
f t
Holds data, instructions, and information for future use
Storage medium
is physical material used for storage
Al
ll d
d
t
Also called secondary storage
Storage
What is
capacity
?
N
b
f b t
( h
t
)
t
di
h ld
Kilobyte (KB)
1 thousand
Number of bytes (characters) a
storage medium
can hold
Megabyte (MB)
1 million
Gigabyte (GB)
1 billion
Gigabyte (GB)
1 billion
Terabyte (TB)
1 trillion
Petabyte (PB)
1 quadrillion
Exabyte (EB)
1 quintillion
Exabyte (EB)
1 quintillion
Zettabyte (ZB)
1 sextillion
(
)
Storage
How does volatility compare?
Storage medium is nonvolatile—contents retained when
Storage medium is nonvolatile—contents retained when
power is off
Memory is volatile—holds data and instructions temporarily
ON
OFF
y
p
y
Screen Display
V
olatile
Display
Display
disappears
disappears
Display
Display
appears
appears
le
Memory
(most RAM)
(chips on motherboard)
V
Data and
Data and
instructions
instructions
available to user
available to user
Data and
Data and
instructions erased
instructions erased
Storage Medium
(floppy disks, Zip disks,
h d di k
CD )
onvolati
Contents
Contents
retained
retained
Contents
Contents
available to user
available to user
4
hard disks, CDs)
Storage
What is a
storage device
?
Hardware that records and retrieves items to and from the
dw
e
eco ds
d e
eves e s o
d
o
e
storage medium:
Reading – items are transferred from the storage media to memory
W iti
it
t
f
d f
t th
t
di
Writing - items are transferred from memory to the storage media
What is
access time
?
Ti
it t k
t
d
i
t l
t it
t
di
Time it takes storage device to locate item on storage medium
Time required to deliver item from memory to processor
Stores …
faster
transfer
rates
Secondary Storage
Primary Storage
Items waiting to be interpreted and executed by the
processor
Memory (most RAM)
Stores
Secondary Storage
Hard Disk
CDs and DVDs
Operating system, application software, user data and
information
Software, backups, movies, music
5
slower
transfer
Small files to be transported
Miniature Storage Media
Tape
Floppy Disks
shell
What is a
floppy disk
?
shell
liner
Portable, inexpensive storage
Thin, circular, flexible film enclosed
in 3.5” wide plastic shell
magnetic
Portable, inexpensive storage
medium
magnetic
coating
t l h b
flexible thin film
metal hub
What is a
floppy disk drive
?
Device that reads from and
One floppy drive, named drive A
Device that reads from and
writes to floppy disk
ppy
,
If two floppy drives, second
designated as drive B
6
Floppy Disks
How does a floppy disk drive work?
Step 1.
When you insert the floppy disk into drive, shutter moves to the side to expose thedi f di k
Step 2.
When you initiate a disk access, circuit board on drive that recording surface on disk. ,contains electronics sends signals to control movement of read/write heads until they barely touch surface (film) inside floppy disk’s shell.
Step 6.
Read/write heads read data from and write data onfl di k ppy
floppy disk.
Step 5.
Motor positions read/write heads over correctStep 3.
For write instructions, circuit board verifies whether or not disk can be written on.Step 4.
Motor spins a h f hi hlocation on recording surface of disk.
Floppy Disks
What are
tracks
and
sectors
?
Track
is narrow
Sector
stores up to
recording band
that forms full
circle on disk
stores up to
512 bytes
of data
Formatting prepares disk for use and marks bad sectors as
Formatting prepares disk for use and marks bad sectors as
unusable
How do you compute a disk’s storage capacity?
M lti l
b
f id
b
f t
k
b
f
t
Multiply number of sides, number of tracks, number of sectors per
track, and number of bytes per sector
For high-density disk: 2 sides
80 tracks
18 sectors per track
512
8
Floppy Disks
How do you care for a floppy?
P
h l
i i
di k’ lif
notch open
means you
Proper care helps maximize disk’s life
Floppy disk can last at least seven
means you
cannot write
on the disk
years
Never touch the disc surface
A
id
t h t
ld
t
i
t (d t
write-protected
Avoid exposure to heat, cold, contaminants (dust,
smoke, salt air, etc) or magnetic fields
Keep disks in a storage tray when not in use
not write-protected
p
g
y
What is a
write-protect notch
?
hole on this
side means
disk is high
notch closed
means you
can write on
p
Small opening with a cover that you slide
Protects floppy disk from being erased
disk is high
density
can write on
the disk
Zip
Disks
What is a
Zip disk
?
Magnetic medium that stores 100 MB
Magnetic medium that stores 100 MB
to 750 MB of data
Used to back up and to transfer files
Zip disk
Used to back up and to transfer files
Backup
is duplicate of file, program, or disk
in case original is lost
c
External
Zip disks require a
Zip drive
c—
chigh
capacity drive that reads from and
writes on a Zip disk
c
Zip drive
writes on a Zip disk
Hard Disks
What is a
hard disk
?
hard disk installed
in system unit
Hi h
it
t
High-capacity storage
Consists of several
inflexible, circular
,
platters that store items
electronically
C
t
l
d i
Components enclosed in
airtight, sealed case for
protection
Hard Disks
What are characteristics of a hard disk?
Sample Hard Disk Characteristics
Ad
i
d
i
120 GB
Advertised capacity
120 GB
Platters
3
Read/write heads
6
Cylinders
16,383
Bytes per second
512
Sectors per track
63
Sectors per drive
234,441,648
Revolutions per minute
7,200
Transfer rate
133 MB per
actual disk capacity
second
Access time
8.9 ms
Hard Disks
How does a hard disk work?
Step 3.
When software requests a
Step 2.
Small motor spins
q disk access, read/write heads determine current or new location of data. Small motor spins
platters while
computer is running.
Step 1
Step 4.
Head actuator positions read/write head arms over
t l ti l tt
Step 1.
Circuit board controls movement of head actuator and a small motor.
Hard Disks
What is a cylinder?
Vertical section of
platter
track
sector
Vertical section of
track through all
platters
sector
Single movement
of read/write head
arms accesses all
platters
in cylinder
read/write
head
platter
sides
14
Hard Disks
What is a head crash?
Occurs when read/write head touches platter surface
Spinning creates cushion of air that floats read/write head above platter
Occurs when read/write head touches platter surface
A
k
i l
d
i l
h
h i
ld
d
d i
bl
Clearance between head and platter is approximately two-millionths of an inch
A smoke particle, dust particle, or human hair could render drive unusable
read/write head
hair
clearance
dust
smoke
Hard Disks
What is a disk cache?
P
ti
f
processor
Portion of
memory that
processor uses
to store
frequently
accessed items
disk cache
first request
for data—to disk
second request
f
d
h d di k
cache
hard disk
for data—to hard disk
Hard Disks
What are
external hard disks
and
removable hard disks
?
Removable hard disk
—hard disk
that you insert and remove
from hard disk drive
Used to back up or transfer files
Hard Disks
What is a disk controller?
EIDE
EIDE
(
E
E
nhanced
nhanced
II
ntegrated
ntegrated
D
D
rive
rive
E
E
lectronics) controller supports four
lectronics) controller supports four
hard disks, provides connections for
hard disks, provides connections for
Chip and circuits that
Chip and circuits that
control transfer of
control transfer of
items from disk
items from disk
, p
, p
CD and DVD drives
CD and DVD drives
items from disk
items from disk
SCSI
SCSI
((
S
S
mall
mall
C
C
omputer
omputer
S
S
ystem
ystem
II
nterface)
nterface)
controller supports up to fifteen
controller supports up to fifteen
pp
pp
p
p
devices including hard disks, CD
devices including hard disks, CD
and DVD drives, tape drives, printers,
and DVD drives, tape drives, printers,
scanners, network cards
scanners, network cards
CDs and DVDs
What are CDs and DVDs?
Flat, round, portable metal discs made of metal, plastic, and
, ou d, po
b e
e
d scs
de o
e
, p s c,
d
lacquer
Can be read only or read/write
Most PCs include CD or DVD drive, most play audio CDs
single track
How is data stored on a
single track
spirals to edge
of disc
How is data stored on a
CD or DVD?
Typically stored in single
Typically stored in single
track
Track divided into
19
evenly sized sectors
that store items
CDs and DVDs
How does a laser read data on a CD or DVD?
disc label
0
1
lens
pit
land
lens
Step 2.
If light strikes
Step 3.
Reflected light is deflected to a
prism
prism
li ht
li ht
St
1
If light strikes a pit, it scatters. If light strikes a land, it is
reflected back
deflected to a
light-sensing diode, which sends digital signals of 1 to computer Absence
laser
di d
laser
di d
light-sensing
diode
light-sensing
diode
Step 1.
Laser diode shines a light beam towardreflected back toward diode.
computer. Absence of reflected light is read as digital signal of 0.
20
diode
diode
CDs and DVDs
How should you care for a CD or DVD?
Do not
expose
th di
t
Do store the
disc in a jewel
box when
the disc to
excessive
heat or
sunlight
box when
not in use
Do not
eat, smoke, or
drink near
a disc
Do not stack discs
Do hold a disc
by its edges
CDs and DVDs
What is a
CD-ROM
?
C
ompact
d
isc
r
ead-
o
nly
m
emory
C
ompact
d
isc
r
ead-
o
nly
m
emory
Cannot erase or modify contents
Typically holds 650 MB to 1 GB
Commonly used to distribute multimedia and complex software
Commonly used to distribute multimedia and complex software
What is the data transfer rate of a CD-ROM drive?
75X
Ranges from
48X to 75X
75X
48X to 75X
or faster
75
75
150 KBps = 11,250 KBps
150 KBps = 11,250 KBps
or 12.25 MBps
or 12.25 MBps
75X is 150 KBps
75X is 150 KBps
(KB per second)
(KB per second)
48X
48X
22
48X:
48X:
48
48
150 KBps = 7,200 KBps
150 KBps = 7,200 KBps
CDs and DVDs
What is a
Picture CD
?
Film developers
Can be
Stores digital
offer
Picture CD
service
modified
using photo
editing software
Stores digital
versions of
roll of film
service
editing software
Step 3.
Step 1.
At home, print images from Picture CD on your ink-jet photo printer. At a store, print images to Drop off film to
be developed. Mark the Picture CD box on the
Step 2.
When you pick up
prints and negatives a At a store, print images to Picture CD at kiosk.
film-processing envelope.
CDs and DVDs
What are
CD-Rs
and
CD-RWs
?
Must have
CD recorder
CD recorder
or
CD-R drive
CD R
(
t
d
i
d bl )
Cannot erase
CD-R
(
c
ompact
d
isc-
r
eadable)
—
cdisc you can write on once
Cannot erase
disc’s contents
CD-RW
(
c
ompact
d
isc-
r
e
w
ritable)
—
ceceerasable disc you can write on
erasable disc you can write on
multiple times
Must have
CD-RW software
CD RW software
and
CD-RW drive
CDs and DVDs
How is an audio CD created?
From a purchased CD. . .
From the Internet. . .
Step 2.
Song is stored on audio CD d h d b
Step 1.Artist composes a song.
Step 2.
Song is compressed and CD and purchased by
user.
Step 3.
g p
stored on the Internet.
Step 3.
User inserts audio CD into CD drive, plays song, and rips desired tracks onto
p
User pays for and downloads song as audio file onto a hard disk.
rips desired tracks onto hard disk.
Step 4 User copies file to a CD-RW disc
Step 5.User listens to song on a personal computer or removes CD and listens to song on a
Step 4.User copies file to a CD RW disc.
Step 5.User listens to song on a personal computer or removes CD and listens to song on a
CDs and DVDs
What is a
DVD-ROM
(digital versatile
disc-ROM or digital video disc-ROM)?
DVD
High capacity disc – from 4.7 GB to 17 GB
Must have
DVD-ROM drive
or DVD player
d DVD ROM
DVD drive
to read DVD-ROM
Stores databases, music, complex software,
and movies
and movies
How does a
DVD-ROM
store data?
DVD-ROM Storage Capacities
Two layers of pits are used,
lower layer is
semi-transparent so laser can
Sides
Layers
Storage Capacity
1
1
47 GB
1
1
8 5 GB
transparent so laser can
read through
Some are double-sided
26
1
1
8.5 GB
2
1
9.4 GB
2
2
17 GB
Some are double sided
Tape
What is
tape
?
Magnetically coated plastic ribbon capable of storing large
How is data stored on a tape?
amounts of data at low cost
How is data stored on a tape?
Sequential access
Reads and writes data consecutively, like music tape
Unlike direct access — used on floppy disks, Zip disks, hard disks,
CDs, and DVDs — which can locate particular item immediately
Digital audio tape
DAT
2 GB to 240 GB
Popular Types of Tape
Name
Abbreviation
Storage Capacity
Digital audio tape
DAT
2 GB to 240 GB
(also called digital data storage)(also called DDS)
Digital linear tape
DLT
20 GB to 229 GB
Li
t
LTO
100 GB t 200 GB
27
PC Cards
What is a
PC Card
?
Adds capabilities to comp ter
Adds capabilities to computer
Credit-card-sized device commonly
used in notebook computers
PC Cards
p
Category
Thickness
Use
Type I
3.3 mm
RAM, SRAM, flash
memory
y
Type II
5.0 mm
Modem, LAN, SCSI,
sound, TV turner, hard
disk, or other storage
d s , o ot e sto age
Type III
10.5 mm
Rotating storage such
as a hard disk
Miniature Mobile Storage Media
What is miniature mobile storage media?
Storage for small mobile devices
Storage for small mobile devices
What are common types of miniature mobile storage media?
Smart Media
CompactFlash
Secure Digital
Miniature Mobile Storage Media
What is a
card reader
?
Reads information stored on
miniature mobile storage media
Type of card determines type of card
Type of card determines type of card
reader needed
What is a
smart card
?
What is a
smart card
?
Stores data on microprocessor
embedded in small card
Input, process, output, and
storage capabilities
Miniature Mobile Storage Media
What is e-money (electronic money
)?
Means of paying for
Means of paying for
goods and services
goods and services
Bank issues unique
Bank issues unique
digital cash numbers
digital cash numbers
goods and services
goods and services
over the Internet
over the Internet
Also called digital cash
Also called digital cash
digital cash numbers
digital cash numbers
that represent amount
that represent amount
of money
of money
Sometimes placed
Sometimes placed
Money is withdrawn
Money is withdrawn
Sometimes placed
Sometimes placed
on smart card
on smart card
Money is withdrawn
Money is withdrawn
from your bank
from your bank
account
Microfilm and Microfiche
What are
microfilm
and
microfiche
?
Store microscopic images of documents on a roll or sheet of film
Store microscopic images of documents on a roll or sheet of film
Images are recorded using a computer
output microfilm recorder
Microfilm — 100- to
215-foot roll of film
Microfiche — small sheet
of film, usually 4”
6”
How do life expectancies of various media compare?
Microfilm and microfiche have longest life of any storage media
Media Life Expectancies
g
y
g
p
Magnetic disks
3 to 5 years
20 to 30 years
Media Type
Guaranteed Life
Potential Life
Expectancy
Expectancy
32
Magnetic disks
3 to 5 years
20 to 30 years
CDs and DVDs discs
5 to 10 years
50 to 100 years
Putting It All Together
What are recommended storage devices for home
users?
users?
3 5-inch high-density floppy
3.5-inch high-density floppy
disk drive
250 MB Zip drive
80 GB hard disk
Home
80 GB hard disk
Internet hard drive
CD or DVD drive
Card reader/writer
Putting It All Together
What are recommended storage devices for small
ffi /h
ffi
(SOHO)
?
office/home office (SOHO) users?
3 5-inch high-density floppy
3.5-inch high-density floppy
disk drive
750 MB Zip drive
100 GB hard disk
100 GB hard disk
Internet hard drive
CD or DVD drive
External hard drive for backup
Small Office/
External hard drive for backup
Home Office
(SOHO)Putting It All Together
What are recommended storage devices for mobile
users?
users?
3 5-inch high-density floppy disk
3.5-inch high-density floppy disk
drive
2 GB PC Card hard disk or USB Flash
Drive
Drive
40 GB hard disk
Internet hard drive
CD or DVD drive
Mobile
CD or DVD drive
Card reader/writer
External or removable hard disk for
backup
Mobile
Putting It All Together
What are recommended storage devices for large
b
i
?
business users?
3 5-inch high-density floppy
3.5-inch high-density floppy
disk drive
160 GB hard disk
CD or DVD drive
CD or DVD drive
Smart card reader
Tape drive
Network storage server
L
B
i
Network storage server
40 TB hard disk system
CD-ROM or DVD-ROM server
Microfilm or microfiche
Large Business
Putting It All Together
What are recommended storage devices for power
users?
users?
3 5-inch high-density floppy disk
3.5-inch high-density floppy disk
drive
CD or DVD drive
250 GB hard disk
250 GB hard disk
Internet hard drive
External or removable hard disk for
backup
P
backup