Chapter 9: SCSI Drives and File Systems


Published on

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Chapter 9: SCSI Drives and File Systems

  2. 2. Objectives <ul><li>At the end of this chapter students should be able to: </li></ul><ul><li>Differentiate SCSI from other computer system interfaces. </li></ul><ul><li>Identify different types of SCSI cable and the signaling methods that they used. </li></ul><ul><li>Define the termination used in SCSI subsystem and explain how it works. </li></ul><ul><li>Identify the standards used in the SCSI-1, SCSI-2 and SCSI-3 and explain the improvement that has been made. </li></ul><ul><li>Set up a SCSI subsystem by constructing the “daisy chain” structure. </li></ul><ul><li>Define FAT by explaining how it works. </li></ul><ul><li>Define NTFS by explaining how it works. </li></ul><ul><li>Differentiate the differences between FAT and NTFS. </li></ul><ul><li>Define disk compression and explain how it works. </li></ul><ul><li>Perform file compressing by using the file compression utilities in Windows. </li></ul>
  3. 3. <ul><li>SCSI </li></ul>
  4. 4. SCSI <ul><li>Small Computer Systems Interface , abbreviated as SCSI and pronounced “skuzzy” . </li></ul><ul><li>SCSI is a much more advanced interface than its chief competitor, IDE, and has several advantages over IDE that make it preferable for many situations, usually in higher-end machines. </li></ul><ul><li>However, it is far less commonly used than IDE due to its higher cost and the fact that its advantages are not useful for the typical home or business desktop user . </li></ul>
  5. 5. SCSI <ul><li>SCSI was first developed for hard disks. However, SCSI is not an interface tied specifically to hard disks. </li></ul><ul><li>SCSI was to be a high-level, expandable, high-performance interface. </li></ul><ul><li>For this reason, it is frequently the choice of high-end computer users. It includes many commands and special features, and also supports the highest-performance storage devices. </li></ul>
  6. 6. SCSI
  7. 7. Limitation Of SCSI <ul><li>Most PC systems do not provide a built-in support for SCSI the way they do for IDE </li></ul><ul><li>It has limited system BIOS support, and all the different SCSI types have different speeds, bus widths and connectors. </li></ul><ul><li>That is why implementing SCSI on a PC typically involves the purchase of not only the storage device, but also a special card called a host adapter . </li></ul><ul><li>Special cables and terminators may also be required. </li></ul>
  8. 8. Advantages of SCSI <ul><li>SCSI is very reliable and bug free. </li></ul><ul><li>SCSI can support multiple platforms ( PC, Apple Macintosh and others). </li></ul><ul><li>SCSI can be very fast (faster than any other methods currently used to connect components to your computer including IDE & USB). </li></ul><ul><li>SCSI devices can be daisy chained (up to seven devices from the one connector). </li></ul><ul><li>Some SCSI adapters support both internal and external devices. </li></ul>
  9. 9. SCSI SCSI Card
  10. 10. <ul><li>Each SCSI device must have a unique identifier (ID) in order for it to work properly. </li></ul><ul><li>Internal devices connect to a SCSI controller with a ribbon cable. </li></ul><ul><li>External SCSI devices attach to the controller in a daisy chain using a thick, round cable </li></ul>SCSI
  11. 11. SCSI Cables
  12. 12. Daisy Chain Connection
  13. 13. <ul><li>SCSI-1 </li></ul><ul><li>SCSI-2 </li></ul><ul><li>SCSI-3 </li></ul>Major Types of SCSI
  14. 14. SCSI 1 <ul><li>SCSI-1 (also known as Regular SCSI ) defines the basics of the first SCSI buses, including cable length, signaling characteristics, commands and transfer modes. </li></ul><ul><li>It was quite limited, especially by today's standards, and defined only the most fundamental of SCSI features and transfer modes. </li></ul><ul><li>Devices corresponding to the SCSI-1 standard use only a narrow (8-bit) bus, with a 5 MBps maximum transfer rate. </li></ul><ul><li>There could be only seven devices besides the host adapter. Only single-ended transmission was supported, with passive termination. </li></ul>
  15. 15. SCSI 1
  16. 16. SCSI 2 <ul><li>the SCSI-2 (also known as fast Fast SCSI ) specification. </li></ul><ul><li>SCSI-2 is an extensive enhancement of the very limited original SCSI </li></ul><ul><li>Important goals of this evolution of the SCSI standard were to improve performance, enhance reliability, and add features to the interface. However, the most important objective was to formalize and properly standardize SCSI commands. </li></ul>
  17. 17. SCSI 2
  18. 18. SCSI 3 <ul><li>SCSI-3 (also known as Ultra SCSI ) began in 1993. It has grown to be a set of standards rather than a single standard. It supports both parallel and serial data transmission, supports FireWire connections and increases the possible rate of data transfer to 320 MBps and higher. </li></ul><ul><li>The most implemented form of SCSI, is the SCSI-3 Parallel Interface (SPI ) </li></ul><ul><li>The latest revision of SPI will be called the SCSI-3 Parallel Interface 4 or SPI-4 . It is still in development. The one feature that we now know will be included in SPI-4 is yet another doubling of maximum throughput on the SCSI bus. It is expected to soon be rated at 640 MBps to 1280 MBps. </li></ul>
  19. 19. SCSI 3
  20. 20. Signaling Methods Used on SCSI Cables <ul><li>A SCSI cables are built in two different ways, depending on the method by which the electrical signal is placed on the cable: </li></ul><ul><li>single-ended </li></ul><ul><li>differential. </li></ul><ul><li>Both types of cables send a signal on a pair of twisted wires. </li></ul><ul><li>In single-sided (SE) cables, one of the wires carries voltage and the other is a ground . </li></ul><ul><li>While in differential cables, both wires carry voltage and the signal is calculated to be the difference between the two voltages. </li></ul>
  21. 21. Signaling Methods Used on SCSI Cables <ul><li>A single-sided cable is less expensive than a differential cable, but the cable length is limited to sustain the data integrity. </li></ul>
  22. 22. TERMINATION <ul><li>Termination prevents an echo effect from the electrical noise and reflected data at the end of the SCSI daisy chain, which can cause interference with data transmission. Each end of a SCSI chain must be terminated. </li></ul>
  23. 23. TERMINATION <ul><li>Types of terminator are: </li></ul><ul><li>Passive Terminators </li></ul><ul><li>Active Terminators </li></ul><ul><li>Forced Perfect Terminators (FPTs) </li></ul><ul><li>Passive terminators, active terminators and FPTs are all used with single-ended SCSI cables. Differential cables use either HVD or LVD terminators. </li></ul>
  24. 24. SETTING UP A SCSI SUBSYSTEM <ul><li>Now, you will learn how to add some external SCSI devices to the SCSI subsystem. </li></ul>
  25. 25. Step 1 <ul><li>First of all, shut down the PC. </li></ul>
  26. 26. Step 2 <ul><li>Connect the SCSI cable to the SCSI port on the SCSI device (printer, scanner, external storage, etc). Each end of the cable may be different. Securely tighten hand screws. </li></ul>Connecting SCSI Cable to SCSI Device
  27. 27. Step 3 <ul><li>Connect the other end of the cable to the SCSI port on your computer. Securely tighten hand screws or fasten clips. </li></ul>Connecting SCSI Cable to the SCSI Port
  28. 28. Step 4 <ul><li>Connect the cable for a second SCSI device to the output SCSI port on the first SCSI device. These steps can be repeated for up to seven devices. </li></ul>Daisy Chain
  29. 29. Step 5 <ul><li>Put a SCSI terminator on the last device in the SCSI chain (unless the device has built-in termination). </li></ul>
  30. 30. Step 6 <ul><li>Connect the power cable for the SCSI devices to a power supply. </li></ul>Connecting the Power Cable
  31. 31. Step 7-8 <ul><li>Turn on the devices. </li></ul><ul><li>Turn on the computer. Your devices are ready for use. </li></ul>
  32. 32. <ul><li>File Allocation Table </li></ul>
  33. 33. File Allocation Table (FAT) <ul><li>File Allocation Table (FAT) is a partially patented file system developed by Microsoft for MS-DOS and was the primary file system for consumer versions of Microsoft Windows. </li></ul><ul><li>FAT as it applies to floppy and optical disk has been standardized as ECMA-107 and ISO/IEC 9293. </li></ul><ul><li>The FAT file system is relatively uncomplicated, and is supported by virtually all existing operating systems for personal computers </li></ul>
  34. 34. History FAT <ul><li>The FAT file system was created by Bill Gates and Marc McDonald in 1977 for managing disks in Microsoft Disk BASIC. </li></ul><ul><li>The name originates from the usage of a table which centralizes the information about which areas belong to files, are free or possibly unusable, and where each file is stored on the disk. </li></ul><ul><li>To reduce the management complexity, disk space is allocated to files in contiguous groups of hardware sectors called clusters </li></ul>
  35. 35. Defragmantation <ul><li>The most common implementations have a serious drawback in that when files are deleted and new files written to the media, their fragments tend to become scattered over the entire media, making reading and writing a slow process. </li></ul>
  36. 36. Defragmentation <ul><li>Defragmentation is the process or reorganizing and rewriting files so that they occupy one large continuous area on your hard disk rather than several smaller areas scattered all over the surface </li></ul>
  37. 37. <ul><li>Defragmentation The process or reorganizing and rewriting files so that they occupy one large continuous area on your hard disk rather than several smaller areas scattered all over the surface </li></ul>
  38. 38. HOW FAT WORKS <ul><li>A disk is divided into partitions. Under the FAT file system each partition is divided into clusters, each of which can be one or more sectors, depending on the size of the partition. Each cluster is either allocated to a file or directory or it is free (unused). A directory lists the name, size, modification time and starting cluster of each file or subdirectory it contains. </li></ul><ul><li>At the start of the partition is a table (the FAT) with one entry for each cluster. Each entry gives the number of the next cluster in the same file or a special value for “not allocated” or a special value for “this is the last cluster in the chain”. </li></ul>
  39. 39. FAT32 <ul><li>FAT32 is a derivative of the FAT file system that supports drives over 2GB. FAT32 drives can contain more than 65,526 clusters, smaller clusters are used than on large FAT16 drives, resulting in more efficient allocation of space on the drive. </li></ul><ul><li>The 32-bit FAT includes four bytes per cluster within the File Allocation Table. This differs from FAT16 and FAT12 in that those files systems contain 2 bytes and 1.5 bytes within the File Allocation Table, respectively. </li></ul>
  40. 40. File System Cluster Limits
  41. 41. NTFS
  42. 42. NTFS <ul><li>NT File System (NTFS) is the standard file system of Windows NT and its descendants Windows 2000, Windows XP, Windows Server 2003, and Windows Vista. </li></ul><ul><li>NTFS replaced Microsoft’s previous FAT file system, used in MS-DOS and early versions of Windows. </li></ul><ul><li>NTFS has several improvements over FAT in terms of performance, reliability, and disk space utilization . </li></ul><ul><li>It is designed to quickly perform standard file operations such as read, write, and search, and even advanced operations such as file-system recovery on a very large hard disks. </li></ul>
  43. 43. Advantages NTFS <ul><li>The NTFS file system includes security features required for file servers and high-end personal computers in a corporate environment. </li></ul><ul><li>The NTFS file system also supports data access control and ownership privileges that are important for the integrity of critical data. </li></ul><ul><li>While folders shared on a Windows NT computer are assigned particular permissions, NTFS files and folders can have permissions assigned whether they are shared or not. </li></ul><ul><li>NTFS is the only file system on Windows NT that allows you to assign permissions to individual files. </li></ul>
  44. 44. NTFS <ul><li>Formatting a volume with the NTFS file system results in the creation of several System Files and the Master File Table (MFT) , which contains information about all the files and folders on the NTFS volume. </li></ul><ul><li>The first information on an NTFS volume is the Partition Boot Sector . Figure below illustrates the layout of an NTF volume when formatting has finished. </li></ul>
  45. 46. Master File Table <ul><li>Each file on an NTFS volume is represented by a record in a special file called the MFT </li></ul>
  46. 47. <ul><li>DISK COMPRESSION </li></ul>
  47. 48. Disk Compression <ul><li>It is possible to compress individual files or directories on a hard disk, or even compress an entire disk volume </li></ul><ul><li>many PC users needed disk compression just to allow them enough room for the latest operating system, and for their applications and data files </li></ul>
  48. 49. Advantages of Compression <ul><li>Compression not only saves disk space, it can help you organize and archive older files that you don't use regularly. </li></ul><ul><li>It has also become a standard for allowing the easy downloading of large numbers of files from the Internet. </li></ul><ul><li>Compression allows them to be packed into a single file that takes less time to transmit than if the files were sent in their regular format. </li></ul>
  49. 50. Compressing File <ul><li>These are the simple steps on how to do file compression using the utilities available in Windows XP. </li></ul>
  50. 51. Step 1 <ul><li>Select the folder which you want to compress. </li></ul>
  51. 52. Step 2 <ul><li>Right click the folder and select Properties . </li></ul>
  52. 53. Step 3 <ul><li>Under the general tab, click the Advanced button. </li></ul>
  53. 54. Step 4 <ul><li>Select (or Check) the Compress contents to save disk space option. </li></ul>
  54. 55. Step 5 <ul><li>Finally, click OK . </li></ul>