1 / 69

Secondary storage Devices

Secondary storage Devices. Primary storage. The primary storage of a computer system has the following limitations: Limited Capacity: It is often necessary to store many millions, sometimes billions, and even trillions, of bytes of data in a computer.

joycei
Download Presentation

Secondary storage Devices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Secondary storage Devices www.AssignmentPoint.com

  2. Primary storage • The primary storage of a computer system has the following limitations: • Limited Capacity: • It is often necessary to store many millions, sometimes billions, and even trillions, of bytes of data in a computer. • The storage capacity of the primary storage of today’s computers is not sufficient to store the large volume of data, which needs to be handle by most data processing centers. • Volatile : • The primary storage is volatile, and the data stored in it is lost, when the electric power is turned off or interrupted. • Computer systems need to store data on a permanent basis for several days, several months, or even several years. www.AssignmentPoint.com

  3. Secondary storage • As a result, additional memory, called auxiliary memory or secondary storage, is used with most computer systems. • The secondary storage of a computer system is non-volatile. • It how low cost per bit stored, but it generally has an operating speed far slower that that of the primary storage. • This section of the memory is used to store large volume of data on a permanent basis, which can be partially transferred to the primary storage, as and when required for processing. www.AssignmentPoint.com

  4. Commonly used secondary storage devices and their classification Secondary storage Devices Sequential Access Device Direct Access Devices Magnetic tape Optical Disks Magnetic Disks CD-ROM WORM Disk Hard Disks Floppy Disk Winchester Disk Zip Disk Disk Pack www.AssignmentPoint.com

  5. Sequential and Direct-Access Devices • Several different devices can be used as secondary storage device, but the one selected for a particular application, mainly depends upon how the stored information needs to be accessed. • There are two methods of accessing information • Sequential or several access, and • Direct or random access. www.AssignmentPoint.com

  6. Magnetic Tape • Magnetic tape is the most popular storage medium for large data, which are sequentially accessed and processed. • The magnetic tape medium is a plastic ribbon, which is usually ½ inch or ¼ inch wide, and 50 to 2400 feet long. • It is coated with a magnetizable recording material, such as iron oxide or chromium dioxide. • Data are recorded on the tape in the form of tiny invisible magnetized and non-magnetized spots on the coated surface of the tape. www.AssignmentPoint.com

  7. Magnetic Tape (cont…) • The tape ribbon is itself stored in reels or a small cartridge or cassette. • Example: like audio or video tape, the magnetic tape used in computer systems can also be erased and reused indefinitely. • Old data on a tape are automatically erased, as new data are recorded in the same area. However, the information stored can be read many times, without affecting the stored data. www.AssignmentPoint.com

  8. Basic principles of operation • Storage Organization • Storage capacity • Data transfer Rate • Tape drive • Tape Controller www.AssignmentPoint.com

  9. Storage capacity • The storage capacity of a tape is multiple of its length and data recorded density. That is, Storage capacity of a tape = Data recording density X Length • Data recording density refers to the amount of data, which can be stored on a given length of tape. • It is measured in bytes per inch (bpi), or the number of bytes, which can be stored per linear inch of tape. • Tape density varies from 800 bpi in older systems to 77,000 bpi in some of the most modern systems. • Hence, if a 2400 feet tape has a data recording density of 800 bpi, its storage capacity will be 2400 x 12 inches x 800 bpi = 23 x 106 bytes = 23 Mega bytes. • Note that, this is the total storage capacity of the tape. www.AssignmentPoint.com

  10. Data Transfer Rate • Data Transfer Rate refers to the number of characters per second, which can be transmitted to the primary storage from the tape. • It is measured in bytes per second (bps). • Its value depends on the data recording density, and the speed with which the tape travels under the read/write head. • Tape speed is typically of the order of 100 inches per second. • Therefore, a tape having data recorded density of 77,000 bpi, and its drive having a tape speed of 100 inches per second, will have a data transfer rate of 77,000 x 100 = 77,00,000 bytes or 7.7 MB per second. www.AssignmentPoint.com

  11. Tape Drive • A magnetic tape device is used for storage and retrieval of data, which is stored on magnetic tape medium. • The tape drive is different for tape reels, tape cartridges, and tape cassettes. • However, all of them work on a similar mechanism like the audio tape recorders or video cassettes recorders (VCR) found in our homes. • Instead of play and record, read and write commands are used with the tape drive. • Once loaded, the magnetic tape is said to be on-line; that is, it can now be used for storage or retrieval of data by the computer system. • When processing is complete, the tape is removed from the tape drive for off-line storage; that is, it is stored away from the computer system, and data on it are not accessible to the computer system, until it is loaded again on the tape drive. www.AssignmentPoint.com

  12. Tape Controller • A magnetic tape must be mounted on a tape drive, before it can be used for reading/writing of information. • Atape drive is connected to, and controlled by a tape controller, which interprets the commands for operating the tape drive. www.AssignmentPoint.com

  13. Type of Magnetic Tape • The data recording density and data transfer rate of magnetic tapes depend to a large extent on the data organization and principles of operation of various types of magnetic tapes, and their tapes drives.The commonly used ones are:   • ½ -inch tape reel • ½ - inch tape cartridge • ¼ -inch streamer tape • 4-mm digital audio tape (DAT) • They are described next slide www.AssignmentPoint.com

  14. Advantages of Magnetic Tapes • Their storage capacity is virtually unlimited , because as many tapes, as required, can be used for storing very large data sets. • With the low cost of tape reels and cartridges, and high data recording densities, the cost per bit of storage is very low for magnetic tapes . An additional cost benefit is that tapes can be erased and reused many times. • Since the tape reels and cartridges are compact and light in weight, they are easy to handle and store. Very large amount of data can be stored in a small storage space. • Due to their compact size and lightweight tape reels and cartridges are also easily portable form one place to another . They are often used for transferring data and programs from one computer to another, which are not linked together. www.AssignmentPoint.com

  15. Uses of Magnetic Tapes Magnetic tapes are typically used for one or more of the following purposes: • For applications, which are based on sequential data processing. For example, as shown in Figure 8.7, the contents of an inventory master file (which is the permanent source of inventory data ) may be periodically updated using a transaction file ( which contains data reflecting inventory activities during the period ) to create a new inventory master file, which is used in the next processing cycle . 2.     Backing up of data stored on an on-line storage device, such as a disk, for its off-line storage, so that, if by accident, the data on the disk is corrupted or lost, it can be retrieved form the backup tape and stored back on the disk. 3.    Archiving of data which are not used frequently, but which may be used once in a while. www.AssignmentPoint.com

  16. Limitations of Magnetic Tapes 1.Due to their sequential access nature, they are not suitable for storage of those data , which frequently require to be accessed randomly. 2. They must be stored in a dust-free environment, because specks of dust can cause tape reading errors. 3. They must also be stored in an environment with properly controlled temperature and humidity levels, otherwise, the tape ribbon may get twisted due to warping, resulting in loss of stored data. 4.They must be properly labeled, so that some useful data on a tape is not erased by mistake. www.AssignmentPoint.com

  17. Magnetic Disks • Magnetic Disks are the most popular storage medium for direct-access secondary storage. • Due to their random access capability, magnetic Disks are the most popular on-line secondary storage device. • A magnetic Disks is a thin, circular plate/platter made or plastic, which is usually coated on both sides with a magnetizable recording material, such as iron oxide. • Data are recorded on the disk in the form of tiny invisible magnetized and non-magnetized spots on the coated surfaces of the disk. • A standard binary code, usually 8-bit EBCDIC, is used for recording data. • The disk itself is stored in a specially designed protective envelope or cartridge, or several of them may be stacked together in a sealed, contamination-free container. www.AssignmentPoint.com

  18. Magnetic Disks • Like magnetic tapes, magnetic disks can also be erased and reused indefinitely. • Old data on a disk are automatically erased as new data are recorded in the same area. • However, the information stored can be read many times, without affecting the stored data. www.AssignmentPoint.com

  19. Basic Principles of Operation Track 000 200 tracks Storage Organization: … Track 199 … www.AssignmentPoint.com

  20. Basic Principles of Operation A sector www.AssignmentPoint.com

  21. Storage Capacity • Storage capacity: The storage capacity of a disk is a multiple of the number of recording surfaces, number of tracks per surface, number of sectors per track, and number of bytes per sector. That is Storage capacity of a disk system = Number of recording surfaces X Number of tracks per surface X Number of sectors per track X Number of bytes per sector Example: let us assume that a disk pack has 10 disk plates, each having 2655 tracks. Also assume that there are 125 sectors per track, each sector can store 512 bytes. Since the disk pack has 10 plates, it will have 18 recording surfaces. Hence the capacity of the disk pack will be = 18 x 2655 x 125 x 512 = 3,05,85,60,000 bytes = 3 x 109 bytes (approximately) www.AssignmentPoint.com

  22. Cylinder Lower surface not used www.AssignmentPoint.com

  23. Magnetic Disks Hard Disks Floppy Disks Winchester Disks Disk Packs Zip Disks Type of magnetic Disks • All the magnetic disks are round platters. • They come in different sizes, different types kf packaging, and can be made of rigid metal or flexible plastic. • Based on these differences, there are many different types of magnetic disks available today. • However, all of them may be broadly classified into two types. • Floppy Disks • Hard Disks. www.AssignmentPoint.com

  24. Floppy Disks • A floppy Disks is a round, flat plate of flexible plastic. • It is encased in a square plastic or vinyl jacket cover. • The jacket cover handling protection to the disk surface. • It has a special liner, which provides a wiping action to remove dust particles, which are harmful for the disk surface and the read/write head. www.AssignmentPoint.com

  25. Floppy Disks • Floppy disks are very cheap as compared to other secondary storage devices. • All 3 ½ floppy Disks are of double-sided type, and record data on both the disk surfaces. • They come in three different capacities • Double density • High density • Very high density www.AssignmentPoint.com

  26. Storage Capacity of Floppy Disks • If the double-density 3 ½ inch diskettes have 40 tracks, 18 sectors/track, and 512bytes/sector. What is the total capacity of it? • Ans: 720 KB (approximately) www.AssignmentPoint.com

  27. Storage Capacity of Floppy Disks • If the high-density 3 ½ inch diskettes have 80 tracks, 18 sectors/track, and 512bytes/sector. What is the total capacity of it? • Ans: 1.4 KB (approximately) www.AssignmentPoint.com

  28. Storage Capacity of Floppy Disks • If the very high-density 3 ½ inch diskettes have 80 tracks, 36 sectors/track, and 512bytes/sector. What is the total capacity of it? • Ans: 2.88 MB (approximately) www.AssignmentPoint.com

  29. Floppy Disks www.AssignmentPoint.com

  30. Floppy-Disks Drive • A floppy-disk drive is a device, which is used to read/write data from/to floppy disks. • In case of currently used floppy disk drives, the rotational speed of a floppy-disk is of the order of 300 to 400rpm. • The data transfer rate is of the order of 10 to 30 Kilobytes/second. www.AssignmentPoint.com

  31. Hard Disk • Hard disks are the primary on-line secondary storage device for most computer systems today. • Unlike floppy disks, which are made of flexible plastic or Mylar, hard disks are made of rigid metal. • The hard disk platters come in many sizes, ranging from 1 to 14-inch diameter. www.AssignmentPoint.com

  32. Hard Disks Winchester Disk Zip Disk Disk Pack Types of hard disks • Depending on how they are packaged, hard disks are normally categorized into following three types. • Zip/Bernoulli Disks • Disk Packs • Winchester Disks www.AssignmentPoint.com

  33. The ZIP Disk • Moving up the popularity charts in secondary storage is the ZIP disk drive. • A single ZIP disk has the capacity of 70 floppy diskettes, that’s 100 MB for those of you in the back. • Larger files that are too big for a floppy are now easily stored and transported via the ZIP disk. • A ZIP drive may be of potable or fixed type. www.AssignmentPoint.com

  34. Disk pack • A disk pack consists of multiple hard disk platters mounted on a single central shaft. • Hence, all the disks pack revolve together at the same speed. • As mentioned before, the disk drive of a disk pack has a separate read/write head foe each disk surface, excluding the upper surface of the top most disk, and the lower surface of the bottommost disk. • They 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 use. • That is, different disk packs can be mounted on the same disk-pack drive at different instances of time. • This gives virtually unlimited storage capacity to disk packs. www.AssignmentPoint.com

  35. A disk pack Lid of the plastic container Plastic container Hard disk platters www.AssignmentPoint.com

  36. Winchester Disks • A Winchester disk also consists hard disk platters mounted on a single central shaft. • Howe ever, the main difference between a Winchester disk and a disk pack is that Winchester disks are fixed type. That is, hard disk platters and the disk drive are sealed together in a contamination free container and cannot be separated from each other. • Hence, as opposite to disk packs, which have virtually unlimited capacity, Winchester disks have limited capacity. www.AssignmentPoint.com

  37. Winchester Disks • However for the same number of disk platters of the same size, Winchester disks can manage to have larger storage capacity than disk packs due to the following reasons: • Because both the disk platters and the disk drive are sealed in a contamination-free container and do not require to be separated later, all the surface of all the disk platters are used for data recording in case of Winchester disks.That is, for a Winchester disks with four platters, there are eight surfaces on which data can recorded, as opposed to six surfaces, in case of a disk pack with four platters. • The contamination-free environment allows Winchester disks to employ much greater precision of data recording and accessing, resulting in greater density of data storage than the interchangeable disk packs. The storage capacity of today’s Winchester disks is usually of the order of a few tens of megabytes to a few gigabytes www.AssignmentPoint.com

  38. Advantage and Limitations of Magnetic Disks • Advantages: • Unlike magnetic tapes, which support sequential access of data, magnetic disks support direct access of data. Hence they are more suitable for a wider range of applications. • Due to random access property, magnetic disks are often used simultaneously by multiple users as a shared device. For example, Winchester disks and disk packs are often used on-line secondary storage devices, in which case they store data of multiple users of the computer system. A tape is not suitable for such type of usage, due to its sequential-access property. • Magnetic disks are suitable for both on-line and off-line storage of data. For example, Winchester disks and disk packs are often used as on-line secondary storage devices, whereas floppy disks and zip disks are used as off-line secondary storage devices. In fact, the high-capacity Winchester disks have made it possible for today’s most personal computer users to enjoy the convenience of having all data and software readily accessible at all times. www.AssignmentPoint.com

  39. Advantage of Magnetic Disks • Due to their low cost and high data recording densities, the cost per bit of storage is low for magnetic disks. An additional cost benefit is that magnetic disks can be erased and reused many times. • Floppy disks and zip disks are compact and high in weight. Hence, they are also easy to handle and store. Very large amount of data can be stored in a small space. • Due to compact size and light weight, floppy disks and zip disks are also easily portable from one place to another. They are often used for transferring data and programs from one computer to another, which are not linked together. www.AssignmentPoint.com

  40. Advantage of Magnetic Disks (cont…) • Any information desired from a storage cane be accessed in a few milliseconds, because it its a direct access device. This is not possible in case of a tape storage, which is a sequential access storage device. • Data transfer rate a magnetic disk system is normally higher than a tape system. • Magnetic disks are less vulnerable to data corruption due to careless handling or unfavorable temperature and humidity conditions than magnetic tapes. • Except for the fixed type Winchester disks, the storage capacity of other magnetic disks is virtually unlimited, because as many disks as required can be used for storing very large data sets. www.AssignmentPoint.com

  41. Limitations of Magnetic Disks • Limitations : • Although magnetic disks may be used for both types of applications (random as well as sequential data processing applications), for applications of t he latter type, use of magnetic disks may be less efficient than magnetic tapes. • It is more difficult to maintain the security of information stored on magnetic disks, which are used as shared, on-line secondary storage devices, as compared to information stored on magnetic tapes or on other types of magnetic disks. • For Winchester disks, a disk crash or drive often failure often results in the loss of entire data stored on it. It is not easy to recover the lost data. Hence, suitable backup procedures are suggested for data stored on a Winchester disks. www.AssignmentPoint.com

  42. Limitations of Magnetic Disks • Some types of magnetic disks, such as disk packs and Winchester disks, are not so easily portable like magnetic tapes. • On a cost per bit basis, the cost of magnetic disks is low, but the cost of magnetic tapes is even lower • They must be stored in a dust-free environment. • Floppy disks, zip disks and disk packs should be labeled properly to prevent erasure of useful data by mistake. www.AssignmentPoint.com

  43. Uses of Magnetic Disks • Magnetic disks are typically used one or more of the following purpose: • For applications that are based on random data processing. • As a shared, on-line secondary storage device. Winchester disks and packs are often used for this purpose. • A a backup device for off-line storage of data, so that if by accident, the data on an on-line storage device is corrupted, it can be retrieved from the backup storage. Floppy disks, zip disks, and disk packs are often used for this purpose. www.AssignmentPoint.com

  44. Uses of Magnetic Disks • Archiving of data which are not used frequently, but which may be used once in a while. Floppy disks, zip disks, and disks packs are often used for this purpose. • Transferring of data and programs from one computer to another, which are not linked together. Floppy disks, zip disks are often used for this purpose. • Distribution of software by vendors. Originally sold software or software updates are often distributed by vendors on floppy disks and zip disks. www.AssignmentPoint.com

  45. www.AssignmentPoint.com

  46. How much data can a HD DS disk and a Zip disk hold? • HD DS 3½” diskettes have capacity of 1.44 MB • Zip disks come in 100 MB, 250 MB, and 750 MB versions www.AssignmentPoint.com

  47. How can ZIP disks store more data than standard floppy disk? • Diskdensity - closeness and size of magnetic particles on the disk’s surface. • Zip disks store data at a higher density than a standard 3½” floppy disk. www.AssignmentPoint.com

  48. How does a hard disk work? • Hard disk platter- a flat, rigid disk made of aluminum or glass and coated with magnetic iron oxide particles • Density far exceeds floppy disk • Harddisk - one or more platters and their associated read-write heads • Preferred type of main storage • Miniature hard drives store 20 to 40 GB www.AssignmentPoint.com

  49. How does a hard disk work? www.AssignmentPoint.com

  50. What’s the downside of hard disk storage? • Headcrash - when a read-write head runs into a dust particle or other contaminant on the disk • Head crash damages some data on disk • Triggered by jarring the hard disk while in use • Not limited to hard disks www.AssignmentPoint.com

More Related