Lecture 10
Lecture 10
Storage Devices
Secondary Storage Devices
2
CENG 351
Types of Storage Device
Sequential Access: In sequential access storage devices, data
can be accessed in sequential manner only.
And the time taken to read from a particular location will be
dependant on the location last accessed.
Sequential access devices are usually used for backup purpose only,
where frequent access of information is not required.
Random Access: Random Access storage devices allow retrieval
of content from any location in the same amount of time is independent of
content's location...
Secondary Storage Devices
8-4
Magnetic Storage
Recording of data
onto disks or tape by
magnetizing particles
of an oxide based
surface coating.
A fairly permanent
type of storage that
can be modified.
Organization of Disks
6
CENG 351
Sector, Cluster & Track
7
Looking at a surface
8
tracks
sector
CENG 351
Clusters
10
CENG 351
Floppy Disks
8-11
Diskettes
Floppies
Portable storage media
Floppy disk drives
(FDD)
Traditional Floppy Disk
Floppy disk : It can only store up 1.44Mb of data. All disks must be formatted before
data can be written to the disk. Formatting divides the disk up into sections or sectors
onto which data files are stored.
Advantage :
Small & light – easy to carry
Cheap
Useful for transferring small files
Can be used many times
Security tab to stop data from being written over
Disadvantage :
× Easy to be damage
× Small storage capacity
× Many new computer don’t have floppy disk drives
× Can transport viruses from one machine to another
× Slow to access and retrieve data when compared to a hard disk
× Data can be erased if the disk comes into contact with a magnetic field
Floppy Disk
Round piece of flexible
Mylar plastic covered
with a thin layer of
magnetic oxide and
sealed inside a protective
covering.
May be referred to as a
“floppy”
Media Arm
Head
Stepper Motor
Hard Disks
8-17
Large capacity
Sensitive instruments
Hard-Disk Packs
8-18
Removable
Massive storage capacity
Common in mainframes
Resembles stack of vinyl records
Hard-Disk Pack
8-19
Hard disk : the main storage device in computer. It is a bit like a filing cabinet: all of your data
files and applications software are stored on it. It contains a number of metal platters which have
been coated with a special magnetic material. The data is stored in this magnetic material.
Fixed hard discs : Used to store operating systems, software and working data. Any application
which requires very fast access to data for both reading and writing to. Not for applications which
need portability. Used for online and real time processes requiring direct access. Used in file
servers for computer networks.
Portable hard discs : Any application which requires extremely large storage capacity where
speed of access is not an issue. Uses serial access for reading and writing. Used for backups of
file servers for computer networks. Used in a variety of batch processing applications such as
reading of bank cheques, payroll processing and general stock control.
Advantage :
Disadvantage :
Magnetic Disks
21
CENG 351
A Disk Drive
22
surfaces
Spindle Boom
Read/Write heads
Platters
Arm movement
Only one head reads/writes
at any one time.
Arm assembly
Block size is a multiple
of sector size (which is often fixed).
CENG 351 23
Accessing Data
24
CENG 351
External Hard Disk
25
26
CENG 351
Magnetic Tape : uses 'serial access' to find a piece of data. It works in much the same way
as a video tape. To find a specific piece of data, you have to start at the beginning of the
tape and continue fast forwarding until you get to the piece of data that you need.
Advantage :
relatively cheap per megabyte of storage
can store large amounts of data - over 100 Gb
can be set up to do the back up overnight or over the week
Disadvantage :
× serial access so can be quite slow to access data
× need a special piece of equipment to record and read the data on the tape
Magnetic Tape
8-28
External storage
Provides sequential access
Information stored in sequence
Slower than disks which provide
direct access
Magnetic tape streamers or tape
cartridges used by both mainframes
and microcomputers
Characteristics
29
CENG 351
MT Characteristics-2
30
CENG 351
31
Reel 1 Reel 2
tape
Read/write head
CENG 351
Data Blocks and Records
32
CENG 351
Optical Storage
Means of recording data as light and dark spots on
CD or DVD.
Reading is done through a low-power laser light.
Pits
Dark spots
Lands
Lighter, non-spotted surface areas
Optical Disks
8-34
Compact
Permanent storage
Laser beams reflect off pits
Two common types
CD
DVD
Compact Disc
8-35
Optical format
From 650 MB to 1 GB capacity
Rotation speeds vary
Types
Read only: CD-ROM
Write once: CD-R
Rewriteable: CD-RW
Picture CDs and Photo CDs
CD-ROM : CD Read only memory. When you buy a CD from a store, you can read it, but
you can’t save any thing on it.
CD-R(WORM) : CD Write once read many. You are able to save to this disk one time, so you
can storage an application or your data on it. After you have saved on it once, you can read it
many times but can’t save on it again.
CD-RW : CD Read Write. You can save your data over and over again, like a floppy disk.
Advantages :
Small and portable
Very cheap to produce
Most computers can read CDs. If there is no CD drive, a DVD drive can usually read them
Fairly fast to access the data - quicker than a floppy disk or magnetic tape
Disadvantages :
× Fairly fragile, easy to snap or scratch
× Smaller storage capacity than a hard drive or DVD
× Slower to access than the hard disk.
Digital Versatile Disc
8-37
Backwards compatibility
Disadvantage :
× Very expensive
× The cost of film
× Presently greater number of movie titles are available on DVD's
× Future uncertainty (even without HD-DVD)
× Long reading times of the discs
Flash Memory : Memory sticks are available from 1 Gb up to 8 Gb. They are typically small,
lightweight, removable and rewritable. They consist of a small printed circuit board which is
encased in plastic or metal casing. They usually have a removable cap which covers and
protects the part of the stick which is inserted into a USB port.
Advantage :
Hold more data than CD
More reliable than floppy disk, because they have no moving part
More compact and portable than floppy disks or CDs/DVDs.
Being developed with fashionable looking outer casings and are almost becoming a
'fashion accessory‘.
Disadvantage :
× Lost easily
× The metal part which is inserted into the USB port can be snapped off if they are handled
roughly
× More expensive than floppy disks, CDs and DVDs