|
|
 |
<< Index | Next >>
Hard Drives
 |
Hard drives are magnetic storage devices that contain several discs inside called "Platters" that are attached to a spindle motor. The number of platters varies depending on the capacity of the drive. Platters are coated with a film of magnetically sensitive substance that is primarily made of iron oxide. Another important ingredient is a thin layer of cobalt alloy. The read/write heads are responsible for reading and writing to the platters and are attached to the head actuator which is in charge of moving the heads around the platters.
|
The voice coil actuator is found in modern drives and assures that the heads are in proper position which ensures that the appropriate tracks are read. The guidance system used by the heads is called a servo. Its job is to position the head over the correct cylinder. The spindle motor is responsible for spinning the platters at a rate ranging from 3600 RPM to 10000 RPM depending on the drive. Heads typically have a coil of copper wire inside. Currents are passed through the wires which causes the surface underneath to become magnetized, creating 1 bit of data. The direction of the current passing through the wiring dictates the polarity of the magnetization, which creates a 0 or a 1. To read the data, the drive's electronics detect polarity differences.
The disk's surface has tracks that are rings that are located next to each other. Each platter has the same number of tracks, and the tracks on the outside are larger than the tracks on the inner part of the surface. A track location that cuts across all platters is called a cylinder. Each cylinder is divided into sectors that are 512K in size. The size of the sector determines the amount of data that can be written, and the amount that will be wasted if only a few characters are in a record. A one byte record written to a sector occupies the entire track in that sector.
Hard drive performance is measured as follows:
- Access Time - This is a measure of the average time that it takes the drives R/W heads to access data on the drive.
- Seek Time - This is the amount of time it takes for the drives head to move between cylinders and land on a particular track.
- Data Transfer Rate - The megabytes per second(MBps) in which data is transferred between the drive and the system.
There are several different type of interfaces that can be used including IDE, EIDE and SCSI. Each IDE interface can support up to 2 devices. IDE devices each contain their own integrated controllers, and so in order to maintain order on the channel, it is necessary to have some way of differentiating between the two devices. This is assigning each device either a master slave designation using jumpers on the drive, and then having the controller address commands and data to either one or the other. Another option is to set the jumpers to cable select. This means that the position of the drive on the cable will determine its status. If you are using two drives on a single channel, it is important to ensure that they are jumpered correctly. Making both drives the master, or both the slave, will most likely cause problems.
CompTIA uses the terms ATA, IDE and EIDE interchangeably to refer to all non-SCSI devices. IDE Drives come in 2 types:
- Parallel ATA - The older, but still widely used variety, that uses a 40-pin cable to connect to devices.
- Serial ATA - A newer specification that offers a number of benefits including: Faster throughput, thinner 7-pin cable that promotes better airflow through the case, support for longer cables, and hot-swappable. In addition, there are no jumpers to worry about because each device connects to its own controller channel.
PIO and DMA are 2 different transfer modes and protocols that are used by hard drives to access the computer. Details of each are provided below:
- PIO Mode - The Programmed I/O (PIO) mode is the older of the 2 methods for transferring data. This method uses the CPU to control the transfer of data between the system and hard drive. There are several different PIO modes that offer different speeds. These are shown in the table below:
| PIO Mode |
Transfer Rate (MBps) |
| 0 |
3.3 |
| 1 |
5.2 |
| 2 |
8.3 |
| 3 |
11.1 |
| 4 |
16.6 |
- DMA Mode - Direct Memory Access mode allows devices to transfer data to and from memory without using the CPU which reduces the overhead. PCI controllers use bus mastering to accomplish direct memory access. Below are tables which show the different DMA modes and their transfer rates:
DMA Mode Single Word (16-bit) |
Transfer Rate (MBps) |
| 0 |
2.1 |
| 1 |
4.2 |
| 2 |
8.3 |
DMA Mode Double Word (32-bit) |
Transfer Rate (MBps) |
| 0 |
4.2 |
| 1 |
13.3 |
| 2 |
16.7 |
- Ultra DMA - The maximum speed of multiword DMA mode 2 was 16.7 MB/s. As faster and faster hard drives were created the new Ultra DMA specification was needed. The table below shows the transfer rates:
| Ultra DMA Mode |
Transfer Rate (MBps) |
| 0 |
16.7 |
| 1 |
25 |
| 2 |
33 |
| 3 |
44.4 |
| 4 |
66.7 |
| 5 |
100 |
| 6 |
133 |
Drives that use Ultra DMA are typically referred to as "Ultra ATA/xx" where "xx" is the speed of the interface. For example, a drive that uses Ultra DMA mode 5 is referred to as ATA/100 because its throughput is 100 MBps.
Note: Both the hard disk, the system chipset and BIOS must support the mode in question.
Hard drives can be configured in a Redundant Array of Inexpensive Drives(RAID) configuration that is used for a variety of purposes including data recovery and increased read/write performance depending on the level of RAID employed. The RAID levels are as follows:
- RAID Level 0
Disk striping will distribute data across 2-32 hard disks. This provides the fastest read/write performance as the system can access the data from more than one place. This level of RAID does not provide any redundancy.
- RAID Level 1
Disk mirroring writes exact copies of data to more than one disk. Each disk or partition of a disk will contain the exact same data. If one hard disk fails, the data still exists on the other disk. This level of RAID also increases disk read performance as it can pull the data off of both disks.
- RAID Level 2
Uses Hamming error correction codes, is intended for use with drives which do not have built-in error detection. All SCSI drives support built-in error detection, so this level is of little use when using SCSI drives. It is seldom used at all today since ECC is embedded in almost all modern disk drives.
- RAID Level 3
Stripes data at a byte level across several drives, with parity stored on one drive. It is otherwise similar to level 4. It can be used in data intensive or single-user environments which access long sequential records to speed up data transfer. However, RAID-3 does not allow multiple I/O operations to be overlapped and requires synchronized-spindle drives in order to avoid performance degradation with short records.
- RAID Level 4
Disk Striping in which the parity information is written to 1 drive at a block level. The parity information allows recovery from the failure of any single drive. The performance of a level 4 array is very good for reads(the same as level 0). Writes require that parity data be updated each time. The process offers no advantages over RAID-5 and does not support multiple simultaneous write operations.
- RAID Level 5
Very similar to RAID level 4, however, parity information is written to each of the disks in the array. If one of the disks fails, the data can be reconstructed by installing a working hard disk. The parity information is used to reconstruct the data that was lost.
For more in depth information on RAID, read Terms and Concepts of Hardware and Software RAID - PART 1.
The following procedure outlines the installation of a hard disk.
- Disconnect the power to the computer
- Configure the appropriate master/slave settings or SCSI ID for the drive
- Insert the drive into an available drive bay. If the drive is too small for the bay, you will need a mounting kit
- Screw in the 4 screws - 2 on each side of the bay
- If the drive is an IDE disk, connect the IDE cable to the drive. There should be a stripe along 1 edge of the cable. This stripe denotes pin 1. Pin 1 on the drive is usually closest to the power connector on the drive, however, you should consult the manufacturers documentation. Then connect the signal cable to the motherboard ID1 or ID2 interface making sure to note the pin 1 orientation there as well. If the drive is a SCSI drive, a SCSI cable would be connected from the drive to a SCSI controller card.
- Connect one of the power supply's power connectors to the drive
Once the drive has been installed it must be configured for use in the following steps:
- CMOS configuration - Newer BIOSes autodetection features will do this automatically. Otherwise, enter the setup utility during boot up and configure the drive.
- Certain older drives types must be low-level formatted. Do not do this on IDE drives!
- Partition the drive - Using the DOS utility FDISK, the drive can be partitioned into logical drives. The disk must contain an active primary partition that will be the C drive. An extended partition may also be created if desired. In Windows NT, the Disk Administrator program is used instead of FDISK. The size of the partitions can be set to a desired size, however, note the following:
- Windows 95 Rev A(FAT16) only supported partitions up to 2GB in size.
- Windows 95/98 OSR2(FAT32) supported drives up to 8GB.
- Even if the OS supports larger partition sizes, the BIOS must also support logical block addressing(LBA) or the maximum partition that you will be able to create will be either 504 or 528 MB.
- Once the disk has been partitioned, it must then be formatted. This can be done using the DOS format utility.
Due to the magnetic nature of hard disks, they should remain clear of magnetic fields.
Further Reference:
http://www.techtutorials.com/Hardware/Storage/
Floppy Drives
Floppy drives are also a form of magnetic storage that function similarly to hard drives. There is a spring loaded metal cover that is moved aside during operation that exposes a mylar disk that is coated with a ferro-magnetic substance. The drive's read/write heads access the disk as it turns on a spindle. Older PCs used 5.25 inch disks and drives that were able to hold 1.2mb of data. Modern 3.5 drives can hold 1.44mb of data. Given the popularity of newer storage types such as CDROM, ZIP disks and removable hard drives, it is not likely that further advancements to floppy technology will be made.
The following procedure outlines the installation of a floppy drive.
- Disconnect the power to the computer
- Insert the drive into an available floppy drive bay
- Screw in the 2 screws
- Plug the floppy cable into the drive and into the mainboard FD1 interface while noting the pin 1 orientation. Note the twist in the cable. Connecting the floppy to the last connector on the cable will make the drive an "A Drive" while plugging it in to the connector toward the middle of the cable will make it a "Drive B"
- Connect one of the power supply's power connectors to the drive
CD-ROM
A beam is emitted by the laser and directed onto a single track on the disc by a prism/beamsplitter. As the disc rotates, the beam encounters a series of pits and landings that determine whether the beam is reflected back into the detector(from a landing) or scattered(from a pit). Light from the laser beam must penetrate a thin protective layer of plastic on the disc before striking the reflective coating that contains the pits and landings. As the disc rotates, light reflected from landings on the disk strikes the photo sensor producing a series of electrical pulses that are coordinated with a timing circuit to generate a stream of 1s and 0s that produce the binary code of information on the disc. The average storage capacity for a CD-ROM is 680mb of data.
Newer CD-ROM drives have the capability to record data. There are 2 main types of CD recorders.
CD-R (Recordable) - Uses a chemical layer with a thin metal layer(silver alloy or gold). “Burning” removes reflective parts to simulate pits and lands and represent 1s and 0s . CD-RW (ReWritable) - Uses phase-change material that crystallizes to write, and rewrite CDs through a heating and cooling process.
The following procedure outlines the installation of a CDROM drive.
- Disconnect the power to the computer
- Configure the appropriate master/slave settings or SCSI ID for the drive
- Insert the drive into an available drive bay
- Screw in the 4 screws - 2 on each side of the bay
- If the drive is an IDE, connect the IDE cable to the drive. There should be a stripe along 1 edge of the cable. This stripe denotes pin 1. Pin 1 on the drive is usually closest to the power connector on the drive, however, you should consult the manufacturers documentation. Then connect the signal cable to the motherboard ID1 or ID2 interface making sure to note the pin 1 orientation there as well. If the drive is a SCSI drive, a SCSI cable would be connected from the drive to a SCSI controller card.
- Connect one of the power supply's power connectors to the drive
Further Reference:
http://www.techtutorials.com/Hardware/CD_ROM/
DVD
DVDs have nearly replaced VHS players in a relatively short amount of time. The reason for this is their incredible capacity for storing data and improved picture quality. Another major advantage is that DVD players became available for computers which did not happen with the VHS. DVDs come in single-sided and dual-sided formats and can store 2 hours of video per side using the MPEG-2 compression standard. Because DVDs are compressed, they need to be decoded as they play. On a computer this can be done with the use of software or a hardware decoder. Hardware decoders use less CPU time. DVD-ROM drives are the most common type of DVD drives sold for computers. DVD-ROM discs can hold up to 16 GB of data. Just like CD-ROM players, DVD-ROM drives offer recordable versions. DVD-R and DVD+R can be recorded on once only. DVD-RW, DVD+RW and DVD-RAM are rewrittable. DVD drives can play CD-ROMs and all DVD writable drives can burn CDs as well. DVD players connect to the PC in the same way that CD-ROM drives do using either an ATAPI or SCSI interface. When working with CD-ROM and DVD-ROM burners, one of the most common problems is buffer underruns. Burners come with buffer RAM onboard that temporarily stores the data coming from the source. There are many causes for buffer underrun errors, but following are the most common things that will fix this.
- Make sure that your burner has a large enough buffer
- Make sure that you close as many applications and processes on your computer before burning. Also make sure that screen savers, anti-virus software, etc. do not start running while you are burning.
- Try burning at a slower speed.
- Make sure that your media is not scratched or dirty.
Tape Drives
Tape drives are another form of magnetic storage media that function similarly to the other forms of magnetic media. The tape is belt driven and read/write heads magnetize portions of the tape as it passes by them. Tape drives are typically used for backing up and storing data. Because they are comparatively slow, they are used to store data that does not need to be accessed very often. Older versions of tape drives were quarter-inch cartridges(QIC) that were approximately 6" x 4" in size. Improvements in encoding enabled advancements in the amount of data that could be stored on these tapes.
The newest advancements in tape technology have brought about Digital Audio Tape(DAT) and Digital Linear Tape(DLT). DAT tapes work in a similar fashion as a VCR tape and can store much larger amounts of data than the QIC formats. There are several different DAT standards as follows:
| Standard |
Compressed capacity |
Uncompressed capacity |
| DDS-1 |
4 GB |
2 GB |
| DDS-2 |
8 GB |
4 GB |
| DDS-3 |
24 GB |
12 GB |
Tape Drives are typically connected to Parallel or SCSI ports.
<< Index | Next >>
|
|
 |
|
 |
|
CareerAcademy
Certification training videos with private instructors. Topics
cover Microsoft MCSE, CompTIA, CISSP & Cisco exams. Courses also come with official practice exams with 7x24 mentors.
more products...
Netwind Learning
Free Demo. Certification Training for A+, MCSE, MCTS Microsoft.NET, Cisco CCNA, CCNP, CCVP, CCSP, Java, Oracle, Linux, PMP and 100's of other courses.
more products...
EDULEARN
Certification Training on CD-ROMs & Videos: Microsoft MCSE Training, A+ Certification, Windows 2003, & Free demos. MCSE certification training includes videos and labs.
more products...
Training Planet
Nationwide Computer Training Boot Camp Classes and also CD based training courses A+ Certification, Cisco Training, MCSE, CISSP, Autocad, Office, PMP, SOX, PC Diagnostics
more products...
|
|