Chp05 Storagedevices
Chp05 Storagedevices
Chapter 05
Properties
Physical Parts Nonvolatility Property
Storage Devices
ICMAP/F1/ZAQ
Physical Parts
(1)
Secondary Storage System involves two physical parts a peripheral storage device for e.g. disk drive or tape drive input/output medium for e.g. diskettes and magnetic tape cartridges are types of media
Storage Devices ICMAP/F1/ZAQ
Physical Parts
(2)
A peripheral storage device can be internal or external. Internal devices - such as diskette, hard disk, and optical disk drives - typically come installed and configured within the system. External devices - are stand alone pieces of hardware that connect via cables to ports on the system unit.
Storage Devices ICMAP/F1/ZAQ
Physical Parts
(3)
Storage Devices
ICMAP/F1/ZAQ
Nonvolatility Property
Secondary storage media are nonvolatile Nonvolatile storage - Storage that retains its contents when power is shut off
Storage Devices
ICMAP/F1/ZAQ
Accessing Data
The process of retrieving data and programs in storage is called access. Two methods of data access
Storage Devices
ICMAP/F1/ZAQ
10
Sequential access
Fetching stored records in the same order in which they are physically arranged on the medium
11
Direct access
Reading or writing data in storage so that the access time is independent of the physical location of the data. Also know as random access Computer system disks allow both sequential and direct access to data Media that allow process of data randomly are known as addressable
Storage Devices ICMAP/F1/ZAQ
12
14
Diskettes
A low capacity, removable disk made of a tough, flexible plastic and coated with a magnetizable substance. They are used for Doing small amounts of backup Sending programs and files to others through mail Storing rarely used files so they wont crowd your hard disk
Storage Devices ICMAP/F1/ZAQ
15
Diskette Size
Sharing data among all the computer you use. 3.5 in diameter, circular shaped storage medium contained in a square, plastic case that can fit into a shirt pocket.
Sizes
Storage Devices
16
Physical Properties
Hard Plastic Cover Write Protect Square Label High Density Indicator Hole Metal Hub Spring Loaded Shutter Liners The Plastic Surface coated with magnetizable substance
Storage Devices ICMAP/F1/ZAQ
17
Physical Properties
Storage Devices
ICMAP/F1/ZAQ
18
Diskette Addresses
Tracks - Disks come from the factory with concentric tracks on them. Tracks are encoded with 0 and 1 bits as data and programs are inscribed by users. Sectors - A pie shaped area on a disk surface. Cluster - An area formed where a fixed number of contiguous sectors intersect a track.
Storage Devices ICMAP/F1/ZAQ
19
Zip Drive
A Zip drive is a small, portable disk drive used primarily for backing up and archiving personal computer files. The trademarked Zip drive was developed and is sold by Iomega Corporation. Zip drives and disks come in two sizes. The 100 megabyte size and 250 megabyte drive and disk. The Iomega Zip drive comes with a software utility that lets you copy the entire contents of your hard drive to one or more Zip disks.
Storage Devices
ICMAP/F1/ZAQ
20
Hard Disks
A hard disk consists of one or more rigid metal platters mounted onto a shaft and sealed along with an access mechanism inside a case. The terms hard disk and hard drive are same.
Floppy disk spin at 300 rpm, hard disk spin anywhere from 3600 to 9600 rpm.
Storage Devices ICMAP/F1/ZAQ
21
Hard Disks
5 GB = 3400 3.5 inch floppy disks.
Constantly rotating - Eliminates waiting time for the drive to come up to the correct speed, whereas diskette does not start spinning until accessed.
Access mechanism - A mechanical device in a disk drive that positions the read/write heads on the proper tracks.
Storage Devices ICMAP/F1/ZAQ
22
Hard Disks
Disk Cylinders - On a disk pack, a collection of tracks that align vertically in the same relative position on different disk surfaces.
Storage Devices ICMAP/F1/ZAQ
23
disk device.
Disk access time = seek time + rotational
24
Rotational delay = Time taken for the desired sector to come under the read / write head.
Data movement time = Time taken for the system to transfer data from disk to RAM.
Storage Devices ICMAP/F1/ZAQ
25
Disk Cache
Disk cache is a special area of RAM used to store small amount of disk data. Such data can later be accessed thousands of times faster than they could from disk. Whenever a user requests data, the computer checks first to see if they are in cache. If they arent, they are pulled from the disk, and again, cache is rewritten with neighboring disk data.
Storage Devices ICMAP/F1/ZAQ
26
Disk Standards
EIDE - Enhanced integrated drive electronics (less expensive and easy to configure) SCSI - Small Computer System Interface (faster access, enables connection of more devices from a single board, and allows longer cable lengths)
Storage Devices ICMAP/F1/ZAQ
27
IDE
IDE (Integrated Drive Electronics) is a standard electronic interface used between a computer motherboard's data paths or bus and the computer's disk storage devices. The IDE interface is based on the IBM PC Industry Standard Architecture (ISA) 16-bit bus standard, but it is also used in computers that use other bus standards. Most computers sold today use an enhanced version of IDE called Enhanced Integrated Drive Electronics (EIDE). In today's computers, the IDE controller is often built into the motherboard.
Storage Devices ICMAP/F1/ZAQ
28
EIDE
Enhanced (sometimes "Expanded") IDE is a standard electronic interface between your computer and its mass storage drives. EIDE's enhancements to Integrated Drive Electronics (IDE) make it possible to address a hard disk larger than 528 Mbytes. When updating your computer with a larger hard drive (or other drives), an EIDE "controller" can be added to your computer in one of its card slot. 29 Storage Devices ICMAP/F1/ZAQ
SCSI
SCSI that allow personal computers to communicate with peripheral hardware such as disk drives, tape drives, CDROM drives, printers, and scanners faster and more flexibly than previous interfaces. Developed at Apple Computer and still used in the Macintosh, the present set of SCSIs are parallel interfaces. In addition to faster data rates, SCSI is more flexible than earlier parallel data transfer interfaces. The latest SCSI standard, Ultra-2 SCSI for a 16-bit bus can transfer data at up to 80 megabytes per second (MBps). SCSI allows up to 7 or 15 devices (depending on the bus width) to be connected to a single SCSI port in daisy-chain fashion.
Storage Devices
ICMAP/F1/ZAQ
30
Partitioning
Division of hard disk into separate areas. Each partition can be treated as independent disk drive. Partitioning the hard drive enables
31
Storage Devices
32
they provide better support for parallel processing. For e.g., if eight small disks replace a single, larger one, the system can read from all eight disks surfaces at the same time.
Storage Devices
ICMAP/F1/ZAQ
33
RAID
Redundant arrays of inexpensive disks. This process hooks up several arrays of relatively small disks in parallel to do the job of the larger disk. The disks are separated from the system unit in a cabinet that, is often referred to as the disk subsystem.
Storage Devices ICMAP/F1/ZAQ
34
RAID
The subsystem is set up to record redundant copies of information so that, in the event of system crash, the redundant data can be used to reconstruct the lost data. Duplicating the entire contents of a disk to another disk is sometimes described as disk mirroring.
Storage Devices ICMAP/F1/ZAQ
35
CDs DVDs HD
ICMAP/F1/ZAQ
Storage Devices
37
Optical Disk
General characteristics
Uses single track spiral concept Uses laser beam to read and write data
Storage Devices
38
Optical Disk
Removable, flat, round, portable, metal storage medium Used for software and combined digital data storage Advantages: higher capacity, more reliable and durable than floppy disks Disadvantages: sensitive Basic types: CD & DVD
Storage Devices ICMAP/F1/ZAQ
39
Compact Disk
The reading & writing mechanism of Compact Disk
Storage Devices
ICMAP/F1/ZAQ
41
42
43
Storage Devices
ICMAP/F1/ZAQ
44
45
CD - ROM
CD-ROM (Compact Disc, read-only-memory) Designed to store computer data in the form of text and graphics, as well as hi-fi stereo sound. A standard CD is 120 mm (4.75 inches) in diameter and 1.2 mm (0.05 inches) thick and is composed of a polycarbonate plastic substrate (underlayer - this is the main body of the disc), one or more thin reflective metal (usually aluminum) layers, and a lacquer coating.
Storage Devices ICMAP/F1/ZAQ
46
Photo CD
Photo CD is a process from Kodak that puts film images (including scanned prints and slides) on a compact disk as digitally stored images that you can view or work with at your computer. The images can also be printed out on photographic paper with a special Kodak machine.
Storage Devices ICMAP/F1/ZAQ
47
CD - R
WORM (Write-Once-Read-Many.) Record data onto for one-time, permanent storage. Ideal for use as archive because it can be read many times, but the data cannot be erased.
Storage Devices
ICMAP/F1/ZAQ
48
CD - RW
CD-RW (for compact disc, rewriteable) is a compact disc (CD) format that allows repeated recording on a disc. CD-RW discs usually hold 74 minutes (650 MB) of data, although some can hold up to 80 minutes (700 MB) and, according to some reports, can be rewritten as many as 1000 times.
Storage Devices ICMAP/F1/ZAQ
49
Video CD
VCD is a compact disk format specifically designed to hold MPEG-1 video data and to include interactive capabilities. Each VCD disk holds 72-74 minutes of video and has a data transfer rate of 1.44 Mbps. VCDs can be played on a VCD player connected to a television set or computer, on CD-ROM drives, and DVD players.
Storage Devices ICMAP/F1/ZAQ
50
CD - Magneto Optical
CD-Magneto Optical (CD-MO) is a compact disc format that uses magnetic fields for data storage. Like other optical media, such as DVD and other CD formats, CD-MO is read by a laser beam, which makes it more reliable than a hard disk or a floppy disk. However, a strong magnetic field can corrupt the stored data.
Storage Devices ICMAP/F1/ZAQ
51
53
DVD - ROM
DVD-ROMs have seven times the storage capacity of CD-ROMs. DVDs, although the same size as CDs, have varying storage capacities of up to 17GB (this is a format called DVD-18), compared with the standard CD's approximate (and unvarying) capacity of 750MB. DVD-ROM drives have a base speed of 1.32 megabytes/second. DVD-ROM drives are backward compatible, and can read CD-ROMs, usually at speeds comparable to a 24X or 32X CD-ROM drive.
Storage Devices ICMAP/F1/ZAQ
54
DVD - RAM
DVD-RAM is an adaptation of DVD-ROM that uses magneto-optical technology to record data, both on the grooves and the lands (flat areas) of the disk. Like most DVD formats, DVD-RAM can contain any type of information, such as video, text, audio, and computer data; however, at 2.6 gigabytes, the storage capacity is much lower than the other types of DVD. Single-sided DVD-RAM disks can be read by DVDROM drives, but double-sided DVD-RAM disks are not compatible with most DVD-ROM drives.
Storage Devices ICMAP/F1/ZAQ
55
DVD - R
Recordable (DVD-R) is a type of write once, read many (WORM) DVD DVD-R can contain any type of information, such as video, text, audio, and computer data DVD-R disks can be played on any type of DVD playback device that can handle the type of information stored, such as a DVD-ROM drive, or a DVD video player. DVD-R disks are read at the same speeds as commercially made DVDs. DVD-Rs can be written in a single session (called write-at-once recording) or incrementally.
Storage Devices ICMAP/F1/ZAQ
56
DVD - RW
Digital Versatile disc - Rewritable (DVD-RW) is a DVD format that allows the user to record and erase multiple times on a single DVD disk. Like DVD-R, DVD-RW disks can hold up to 9.4 gigabytes of data, compared to the 650 megabyte capacity of the CD.
Storage Devices
ICMAP/F1/ZAQ
57
DVD - Layers
Cross sections of the various types of completed DVDs (not to scale) look like this:
Storage Devices
ICMAP/F1/ZAQ
58
DVD - Layers
Format
Single Sided/Single Layer Single Sided/Double Layer Double Sided/Single Layer Double Sided/Double Layer
Storage Devices
Capacity
4.38 GB 7.95 GB 8.75 GB 15.9 GB
ICMAP/F1/ZAQ
Movie Length
2 hours 4 hours 4.5 hours Over 8 hours
59
DVD - Layers
Why the capacity of a DVD doesn't double when you add a whole second layer to the disc ? This is because when a disc is made with two layers, the pits have to be a little longer, on both layers, than when a single layer is used. This helps to avoid interference between the layers, which would cause errors when the disc is played.
Storage Devices ICMAP/F1/ZAQ
60
DVD - Layers
Storage Devices
ICMAP/F1/ZAQ
61
62
63
Storage Devices
ICMAP/F1/ZAQ
64
66
It is able to hold enormous amounts of data; for this reason it is used to store information on the largest computer systems. It is less expensive than magnetic disk and optical disk technology.
Slow data access time compared to other media. Sequential access to information.
ICMAP/F1/ZAQ
Disadvantages
Storage Devices
67
Data Organization
Secondary Storage
69
Types of Files
To organize data three types of data files are used: Master files - These have permanent existence, and are kept up-to-date by adding new records, deleting expired records and modifying records in file.
Storage Devices ICMAP/F1/ZAQ
70
Types of Files
Transaction files (Change files) - These have only a temporary life. They are created by validating input and then writing it to backing storage from where it is used to update the master file, after which they have no further use.
Storage Devices ICMAP/F1/ZAQ
71
Types of Files
Temporary files are used by a computer programs to store data when insufficient memory is available.
Although disk space for temporary files must be available to the computer program, they require no human intervention, being automatically created and deleted.
Storage Devices ICMAP/F1/ZAQ
72
Data Organization
Data is organized in three major ways
73
Sequential Organization
Arranging data on a physical medium in either ascending or descending order by the contents of some key field. It often suits the data requirements of batch processing operations by ordering records with respect to a key field.
Storage Devices ICMAP/F1/ZAQ
74
Indexed Organization
A method of organizing data on a direct access storage medium so that they can be accessed directly (through an index) or
sequentially.
This type of organization requires disk
75
Direct Organization
A method of arranging data on a storage device so they can be accessed directly (randomly). Both indexed and direct organization support the data needs of transaction processing and real-time processing.
Storage Devices ICMAP/F1/ZAQ
76
Storage Devices
ICMAP/F1/ZAQ
77
batch.
Advantages
Storage Devices
ICMAP/F1/ZAQ
78
Less computer processing power is needed than for more complicated forms of input.
Storage Devices
ICMAP/F1/ZAQ
79
There is a delay between a transaction being originated and the final output being available. Management information will always be out-ofdate, and therefore will not provide a current picture of the state of the company.
Information from the master file is not easily available, because these are kept off-line.
ICMAP/F1/ZAQ
Storage Devices
80
Data entry users become more responsible in data entering and verification.
ICMAP/F1/ZAQ
Storage Devices
81
It is very difficult to check that the information on the computer system entered is correct.
Systems are expensive than batch processing systems because more processing power is needed.
Storage Devices
ICMAP/F1/ZAQ
82
83
Processing is almost instantaneous. This provides a better service, because orders are processed more quickly, and account enquiries can be dealt with while the customer
84
Management information is up-to-date. If management wants to know how much stock is available in the warehouse, or know sales so far today, then this information can be obtained from the computer system.
Storage Devices
ICMAP/F1/ZAQ
85
Information is more readily available. This is because the master files are always on-line.
86
Systems are much more complex, and are thus more expensive to develop.
Because the data files are immediately updated, errors may be more damaging, and security becomes an important consideration. Hardware costs are higher. There is a need for on-line terminals, more memory, larger on-line storage, and more back-up facilities.
ICMAP/F1/ZAQ
Storage Devices
87