Beruflich Dokumente
Kultur Dokumente
Computer Fundamentals
Pradeep K. Sinha
Priti Sinha
Chapter 8
Secondary Storage
Devices
Chapter 08: Secondary Storage Devices Slide 1/116
Learning Objectives
In this chapter you will learn about:
1
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Learning Objectives
Ref. Page 122 Chapter 08: Secondary Storage Devices Slide 4/116
2
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Secondary Storage
Ref. Page 122 Chapter 08: Secondary Storage Devices Slide 5/116
Magnetic tape
Ref. Page 123 Chapter 08: Secondary Storage Devices Slide 6/116
3
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 123 Chapter 08: Secondary Storage Devices Slide 8/116
4
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 123 Chapter 08: Secondary Storage Devices Slide 9/116
Magnetic Tapes
5
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 124 Chapter 08: Secondary Storage Devices Slide 11/116
Characters for
Track/channel A frame
corresponding codes
numbers
0 1 2 3 4 5 6 7 8 9 A B C D E F G H I
Parity bit 7
6 Each vertical
Zone line represents
5
a binary 1 bit
4
Numeric 3
2
1
Illustrates the concepts of frames, tracks, parity bit, and character-by-character data
storage
Ref. Page 125 Chapter 08: Secondary Storage Devices Slide 12/116
6
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Magnetic Tape - Storage Organization
(Example 2)
Track/channel A frame for Characters for
numbers each character corresponding codes
0 1 2 3 4 5 6 7 8 9 A B C
8s digit 9
2s digit 8
Each vertical
Added zone 7 line represents
Track a binary 1 bit
Added zone 6
representation
Zone 5
Parity bit 4
Zone 3
Units digit 2
4s digit 1
Illustrates the concepts of frames, tracks, parity bit, and character-by-character data storage
Ref. Page 125 Chapter 08: Secondary Storage Devices Slide 13/116
Ref. Page 126 Chapter 08: Secondary Storage Devices Slide 14/116
7
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 126 Chapter 08: Secondary Storage Devices Slide 15/116
Ref. Page 126 Chapter 08: Secondary Storage Devices Slide 16/116
8
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Write tape header label used to update the contents of tape header label
Back space one block rewinds the tape to the beginning of previous block
Ref. Page 126 Chapter 08: Secondary Storage Devices Slide 17/116
Ref. Page 126 Chapter 08: Secondary Storage Devices Slide 18/116
9
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 126 Chapter 08: Secondary Storage Devices Slide 19/116
Ref. Page 127 Chapter 08: Secondary Storage Devices Slide 20/116
10
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 127 Chapter 08: Secondary Storage Devices Slide 21/116
Read/write
head assembly
Vacuum
columns
Tape loops
varying in length
Ref. Page 127 Chapter 08: Secondary Storage Devices Slide 22/116
11
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 127 Chapter 08: Secondary Storage Devices Slide 23/116
Ref. Page 127 Chapter 08: Secondary Storage Devices Slide 24/116
12
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 25/116
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 26/116
13
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
7
8
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 27/116
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 28/116
14
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
The Helical Scan Techniques
Used in DAT Drives
Write head B
Read head A
Spinning
Read head B
helical
scan
Write head A
Moving tape
Shaft
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 29/116
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 30/116
15
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 128 Chapter 08: Secondary Storage Devices Slide 31/116
Ref. Page 129 Chapter 08: Secondary Storage Devices Slide 32/116
16
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 129 Chapter 08: Secondary Storage Devices Slide 33/116
Processing Next
processing
Ref. Page 129 Chapter 08: Secondary Storage Devices Slide 34/116
17
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Magnetic Disks
Ref. Page 130 Chapter 08: Secondary Storage Devices Slide 36/116
18
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Magnetic Disk Storage Organization
Illustrates the Concept of Tracks
Ref. Page 130 Chapter 08: Secondary Storage Devices Slide 37/116
A sector
Ref. Page 130 Chapter 08: Secondary Storage Devices Slide 38/116
19
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Disk Pack
Data is accessed from a disk by specifying its disk address
Ref. Page 130 Chapter 08: Secondary Storage Devices Slide 39/116
Cylinder-Head-Sector (CHS)
Ref. Page 131 Chapter 08: Secondary Storage Devices Slide 40/116
20
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Magnetic Disk Storage Organization
(Illustrates the Concept of Cylinder)
Upper surface
not used
Read/Write head
Surface - 0
Surface - 1
Direction of movement of
access arms assembly
Surface - 2
Cylinder
Surface - 3
Lower surface
not used Central shaft
Ref. Page 131 Chapter 08: Secondary Storage Devices Slide 41/116
Ref. Page 132 Chapter 08: Secondary Storage Devices Slide 42/116
21
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Access Mechanism
Ref. Page 132 Chapter 08: Secondary Storage Devices Slide 43/116
One read/write
head per surface Central shaft
Direction of movement of
access arms assembly .
. Disk platters
.
Access arms
assembly
Vertical cross section of a disk system. There is one read/write head per
recording surface
Ref. Page 132 Chapter 08: Secondary Storage Devices Slide 44/116
22
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 133 Chapter 08: Secondary Storage Devices Slide 45/116
Ref. Page 133 Chapter 08: Secondary Storage Devices Slide 46/116
23
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Disk Formatting
Process of preparing a new disk by the computer
system in which the disk is to be used.
For this, a new (unformatted) disk is inserted in the disk
drive of the computer system and the disk formatting
command is initiated
Low-level disk formatting
Disk drives read/write head lays down a magnetic
pattern on the disks surface
Enables the disk drive to organize and store the
data in the data organization defined for the disk
drive of the computer
Ref. Page 134 Chapter 08: Secondary Storage Devices Slide 47/116
Disk Formatting
OS-level disk formatting
Creates the File Allocation Table (FAT) that is a
table with the sector and track locations of data
Leaves sufficient space for FAT to grow
Scans and marks bad sectors
One of the basic tasks handled by the computers
operating system
Enables the use of disks manufactured by third party
vendors into ones own computer system
Ref. Page 134 Chapter 08: Secondary Storage Devices Slide 48/116
24
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 134 Chapter 08: Secondary Storage Devices Slide 49/116
Ref. Page 134 Chapter 08: Secondary Storage Devices Slide 50/116
25
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 135 Chapter 08: Secondary Storage Devices Slide 51/116
Magnetic Disks
Ref. Page 135 Chapter 08: Secondary Storage Devices Slide 52/116
26
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Floppy Disks
Ref. Page 135 Chapter 08: Secondary Storage Devices Slide 53/116
Floppy Disks
Ref. Page 135 Chapter 08: Secondary Storage Devices Slide 54/116
27
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Drive spindle
hole in disk
5 - inch
5 - inch
A 5-inch floppy disk enclosed within jacket. The drive mechanism clamps
on to a portion of the disk exposed by the drive access opening in the jacket
Ref. Page 135 Chapter 08: Secondary Storage Devices Slide 55/116
Sliding metal
piece cover
3 - inch
Ref. Page 135 Chapter 08: Secondary Storage Devices Slide 56/116
28
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Hard Disks
Round, flat piece of rigid metal (frequently aluminium)
disks coated with magnetic oxide
Come in many sizes, ranging from 1 to 14-inch diameter.
Depending on how they are packaged, hard disks are of
three types:
Zip/Bernoulli disks
Disk packs
Winchester disks
Primary on-line secondary storage device for most
computer systems today
Ref. Page 136 Chapter 08: Secondary Storage Devices Slide 57/116
Zip/Bernoulli Disks
Uses a single hard disk platter encased in a plastic
cartridge
Disk drives may be portable or fixed type
Fixed type is part of the computer system, permanently
connected to it
Portable type can be carried to a computer system,
connected to it for the duration of use, and then can be
disconnected and taken away when the work is done
Zip disks can be easily inserted/removed from a zip drive
just as we insert/remove floppy disks in a floppy disk
drive
Ref. Page 136 Chapter 08: Secondary Storage Devices Slide 58/116
29
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Disk Packs
Uses multiple (two or more) hard disk platters
mounted on a single central shaft
Disk drives have a separate read/write head for each
usable disk surface (the upper surface of the top-most
disk and the lower surface of the bottom most disk is
not used)
Disks are of removable/interchangeable type in the
sense that they have to be mounted on the disk drive
before they can be used, and can be removed and
kept off-line when not in use
Ref. Page 136 Chapter 08: Secondary Storage Devices Slide 59/116
Winchester Disks
Ref. Page 136 Chapter 08: Secondary Storage Devices Slide 60/116
30
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Winchester Disks
For the same number of disks, Winchester disks have
larger storage capacity than disk packs because:
Ref. Page 136 Chapter 08: Secondary Storage Devices Slide 61/116
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 62/116
31
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 63/116
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 64/116
32
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 65/116
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 66/116
33
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 67/116
Ref. Page 137 Chapter 08: Secondary Storage Devices Slide 68/116
34
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 138 Chapter 08: Secondary Storage Devices Slide 69/116
Ref. Page 138 Chapter 08: Secondary Storage Devices Slide 70/116
35
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Optical Disks
Ref. Page 138 Chapter 08: Secondary Storage Devices Slide 72/116
36
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Has one long spiral track, which starts at the outer edge
and spirals inward to the center
Track is divided into equal size sectors
(a) Track pattern on an optical disk (b) Track pattern on a magnetic disk
Ref. Page 138 Chapter 08: Secondary Storage Devices Slide 73/116
= Number of sectors
Number of bytes per sector
Ref. Page 139 Chapter 08: Secondary Storage Devices Slide 74/116
37
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Laser Laser
beam beam
source source
Laser beam is
scattered by a pit
Laser beam is
reflected by a land
Ref. Page 139 Chapter 08: Secondary Storage Devices Slide 75/116
Ref. Page 140 Chapter 08: Secondary Storage Devices Slide 76/116
38
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 139 Chapter 08: Secondary Storage Devices Slide 77/116
Optical disk
Is placed on top
Headphone socket
of this groove
enables a user to
plug-in headphones Tray Direction
to recorded sound eject of movement
when the drive is button of the tray Optical disk tray
used to play audio
CDs.
Ref. Page 140 Chapter 08: Secondary Storage Devices Slide 78/116
39
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
CD-ROM
Ref. Page 141 Chapter 08: Secondary Storage Devices Slide 79/116
Ref. Page 141 Chapter 08: Secondary Storage Devices Slide 80/116
40
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 142 Chapter 08: Secondary Storage Devices Slide 81/116
Ref. Page 142 Chapter 08: Secondary Storage Devices Slide 82/116
41
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 142 Chapter 08: Secondary Storage Devices Slide 83/116
Ref. Page 142 Chapter 08: Secondary Storage Devices Slide 84/116
42
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 142 Chapter 08: Secondary Storage Devices Slide 85/116
Ref. Page 143 Chapter 08: Secondary Storage Devices Slide 86/116
43
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
DVD-audio
Offers multiple choices of sampling rate and number of bits
per sample
Specification also supports up to six channels of
multichannel
Surround sound with 24-bit sampling at a 48 KHz rate
Provision for visual menus, still images, and video to
accompany the audio program
Ref. Page 143 Chapter 08: Secondary Storage Devices Slide 87/116
Ref. Page 143 Chapter 08: Secondary Storage Devices Slide 88/116
44
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 144 Chapter 08: Secondary Storage Devices Slide 89/116
Ref. Page 144 Chapter 08: Secondary Storage Devices Slide 90/116
45
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 145 Chapter 08: Secondary Storage Devices Slide 92/116
46
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 145 Chapter 08: Secondary Storage Devices Slide 93/116
Ref. Page 145 Chapter 08: Secondary Storage Devices Slide 94/116
47
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 146 Chapter 08: Secondary Storage Devices Slide 95/116
Vendor name
Storage
capacity
Ref. Page 146 Chapter 08: Secondary Storage Devices Slide 96/116
48
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 146 Chapter 08: Secondary Storage Devices Slide 98/116
49
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Disk Array
Ref. Page 146 Chapter 08: Secondary Storage Devices Slide 99/116
Disk Array
Enhanced storage capacity is achieved by using
multiple disks
Enhanced performance is achieved by using parallel
data transfer technique from multiple disks
Enhanced reliability is achieved by using techniques
such as mirroring or striping
In mirroring, the system makes exact copies of files
on two hard disks
In striping, a file is partitioned into smaller parts and
different parts of the file are stored on different disks
Ref. Page 146 Chapter 08: Secondary Storage Devices Slide 100/116
50
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
A RAID Unit
Multiple
disks
RAID Controller
Computer
Ref. Page 146 Chapter 08: Secondary Storage Devices Slide 101/116
Ref. Page 147 Chapter 08: Secondary Storage Devices Slide 102/116
51
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
CD-ROM Jukebox
Set of CD-ROMs and CD-ROM drives with a controller
mounted in a single box, forming a single large
storage unit
Large CD-ROM jukebox can accommodate up to
several hundred CD-ROM disks bringing the storage
capacity of the storage unit to several terabytes
Used for archiving read-only data in such
applications as on-line museums, on-line digital
libraries, on-line encyclopedia, etc
Ref. Page 147 Chapter 08: Secondary Storage Devices Slide 103/116
Data Backup
52
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Ref. Page 148 Chapter 08: Secondary Storage Devices Slide 105/116
Ref. Page 148 Chapter 08: Secondary Storage Devices Slide 106/116
53
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Types of Backup
Full backup
All data on an on-line secondary storage device is copied on
a backup device at the time of backup
Full backup is simpler and a little safer
To restore a particular file we need to search for it at only
one place
Incremental backup
Only newly created files or files that have been changed
since the last backup are copied on backup device from on-
line secondary storage device at the time of backup
Incremental backup is faster than full backup
To restore a particular file we need to search for it on
several backups
Ref. Page 148 Chapter 08: Secondary Storage Devices Slide 107/116
Backup Policy
Ref. Page 149 Chapter 08: Secondary Storage Devices Slide 108/116
54
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Backup Policy
Ref. Page 149 Chapter 08: Secondary Storage Devices Slide 109/116
Hierarchical Storage
System (HSS)
55
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
On-line, direct-access
secondary storage devices such
as hard disk or disk array
Near-line, tertiary mass storage devices
such as tape library, CD jukebox, etc.
Ref. Page 150 Chapter 08: Secondary Storage Devices Slide 111/116
56
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
On-line storage
On-line storage device is under direct control of the
processing unit of the computer
Near-line storage
Near-line storage device is an intermediate storage
between on-line storage and off-line storage
Off-line storage
Off-line storage is not under direct control of any computer
Ref. Page 149 Chapter 08: Secondary Storage Devices Slide 113/116
Ref. Page 150 Chapter 08: Secondary Storage Devices Slide 114/116
57
Computer Fundamentals: Pradeep K. Sinha & Priti Sinha
Key Words/Phrases
Automated tape library Floppy disk
Auxiliary memory Hard disk
Block Inter-block gap (IBG)
Blocking Inter-record gap (IRG)
Blocking factory Land
CD-ROM Latency
CD-ROM jukebox Magnetic disk
Check bit Magnetic tape
Cylinder Magnetic tape drive
Data transfer rate Mass storage devices
Direct access device Master file
Disk array Odd parity
Disk controller Off-line storage
Disk drive On-line storage
Disk formatting Optical disk
Disk pack Parallel representation
DVD Parity bit
Even parity Pit
File Allocation Tube (FAT)
Key Words/Phrases
QIC Standard
Record
Redundant Array of Inexpensive Disks (RAID)
Secondary storage
Sector
Seek time
Sequential access device
Storage hierarchy
Tape controller
Track
Transaction file
Winchester disk
WORM disk
Zip disk
58