External memory in Computer Organization
Eternal memory can also be known as secondary memory or backing store. It is used to store a huge amount of data because it has a huge capacity. At present, it can measure the data in hundreds of megabytes or even in gigabytes. The important property of external memory is that whenever the computer switches off, then stored information will not be lost. The external memory can be categorized into four parts:
- Magnetic disk
- Raid
- Optical memory
- Magnetic Tape
Magnetic Disks
A disk is a type of circular platter constructed by a nonmagnetic material, which is known as a substrate. It is covered with a magnetic coating used to hold the information. The substrate is traditionally constructed by aluminium or aluminium alloy material. But recently, another material has been introduced, which is known as glass substrates. There are various benefits of glass substrates, which are described as follows:
- It has the ability to increase disk reliability by improving the uniformity of a magnetic film surface.
- It is used to reduce the errors of read-write by doing a significant reduction in overall surface defects.
- It has better stiffness, which will help to reduce disk dynamics. It has the great ability that it can withstand against shock and damage.
Magnetic Read and Write Memory
The most important component of external memory is still magnetic disks. Many systems, such as supercomputers, personal computers, and mainframes computers, contain both removable and fixed hard disks. We can conduct a coil named as the head so that we can recover the data on and later and then retrieve it from the disk. A lot of systems contain two heads that are read head and write head. While the operation of reading and writing, the platter is rotating while the head is stationary.
If the electricity is flowing through the coil, the write mechanism will exploit the fact that the coil will generate a magnetic field. The write head will receive the electric pulses, and the below surface will record the resulting magnetic pattern. It will be recorded into different patterns for negative and positive currents. If the electricity is flowing through the coil, the read mechanism will exploit the fact that it will generate an electric current in the coil. When the disk’s surface passes under the head, it will produce a current with the same polarity as the already recorded one.
In this case, the structure of head is the same for reading and writing. Therefore, we can use the same head for both. These types of single heads can be used in older rigid disk systems and in floppy disk systems. A type of partially shielded magneto-resistive (MR) sensor consists in the read head. The electric resistance is contained in the MR material, which depends on the direction of magnetization of the medium moving under it.
Data Organization and formatting
The head is known as a small device, which is able to read from or write to the portion of the platter rotating beneath it. The width of each track is the same as head. We have thousands of tracks per surface. The gaps are used to show the separation of adjacent tracks. This can prevent or minimize the error which is generated because of the interference of magnetic fields or misalignment of the head. The sectors are used to transfer the data from and to the disks.
The fixed-length sectors will be used in the most contemporary systems with 512 bytes, which is nearly a universal sector size. Intersector gaps separate the adjacent sectors so that we can avoid imposing unreasonable precision requirements on the systems. At the same rate, we can scan the information with the help of rotating the disk at a fixed speed, which is called constant angular velocity (CAV).
There are various things in which disks can be divided. So it can divide into a series of concentric tracks and into a number of pie-shaped sectors. The CAV has an advantage in that the tracks and sectors are able to directly address the data with the help of CAV. The CAV also has a disadvantage in that the amount of data that is stored on the short inner tracks and the long outer tracks are the same.
The modern hard disks introduce a technique to increase the density, which is called Multiple zone recording. Using this technique, the surface is able to divide into a number of concentric zones, which is typically equal to 16, which means 16 zones. The number of bits per track is constant within a zone. The zones which are closer to the centre have fewer amounts of bits or sectors as compared to the zones which are farther from the centre.
Physical characteristics
If there is a fixed head disk, then it will contain one read-write head per track. All of these heads are mounted on a rigid arm, which has the ability to extend across all tracks. If there is a movable head disk, then it will contain only one read-write head. Here the head is also mounted on the arm. The head can position above any track. Due to this purpose, the arm can be retracted or extended.
The disk drive always or permanently contains a non-removable disk. For example, in the personal computer, the hard disk can never be removed, or we can say that it is a non-removable disk. The removable disk is a type of disk that can be removed and replaced with other disks. Both sides of the platter contain the magnetizable coating for most of the disks, which will also be referred to as the double side. The single side disks are used in some less expensive disk systems.
A movable head is employed by the multiple platter disks with one head of read-write per platter surface. Form the centre of the disk, all the heads contain the same distance and move together because all the heads are mechanically fixed. In the platter, a set of all tracks in the same relative position will be known as a cylinder.
This type of mechanism is mostly used in a floppy disk. This type of disk is the least expensive, small, also contains a flexible platter. The sealed drive assemblies are almost free of contaminants, and it contains the Winchester’s heads. IBM uses the term Winchester as a code name and it was used for the 3340 disk model prior to its announcement in IBM. The workstations and personal computers commonly contain a built-in disk, which is known as Winchester disk. This disk is also referred to as a hard disk.
On a movable system, there will be a seek time which can be defined as the time taken to position the head at the track. There will also be a rotation latency or rotation delay, which can be defined as the time taken from the starting of the sector to reach the head. The time it takes to get into a position to write or read is known as access time which is equal to the sum of rotational delay and seeks time, if any.
Once the head gets its position, we are able to perform the read or write operation as the sector moves under the head. This process can be called the data transfer portion of the operation, and the time taken while transferring the data will be known as the transfer time.
RAID
The RAID is also known as a redundant array of independent disks. It is a type of data virtualization technology, which is used to combine components of multiple disks into a logical unit so that they can improve the performance or create redundancy. If there are multiple disks/drives, it will allow the employment of various techniques such as disk mirroring, parity, and disk striping. We cannot consider RAID as a replacement for data backup. If RAID is going through the critical data, it will be backed up to a logical set of disks or other physical disks. When we make a connection with RAID, we will normally use the following terms:
Striping: In this, data will be split between more than one disk.
Mirroring: In this, data will mirror between more than one disk.
Parity: It can also be called checksum. It can be described as a calculated value, which is used to mathematically rebuild the data.
Commonly RAID has 7 levels. In which levels 0, 1, and 3 are used for high transfer rates. Levels 4, 5, and 6 are used for high transaction rates. All the levels of RAID are described as follows:
RAID 0
RAID 0 can also be called disk striping. In the RAID 0 technique, data is evenly divided into two or more than two storage devices such as HDD or SDD. In this technique, we will organize the data in such as manner that users can faster read or write the files. Due to this process, the performance will speed up. If we have a large number of applications and enormous data, the best solution will be disk stripping. The setup of RAID 0 is very easy. It can also be called the most affordable type of redundant disk organization.
However, this type of arrangement is unable to handle the fault or error, and we cannot use it to handle the critical data. This is because it writes the first block into the first disk, the second into the next disk, and so on. This process will be repeated until it hits all of the disks. Lastly, it will come back to the first disk. This means all the disks are working in parallel, so we are able to see the full performance of our disks.
On the downside, there will be no redundancy, and that means if any disk fails, we will lose all our data across all disks. So RAID 0 provides us high performance and expanding storage, but it is actually less reliable as compare to a single disk.
Advantages of RAID 0
- In the read and write operations, it provides us with great performance.
- There will be no overhead because RAID 0 uses all the storage capacity.
- In RAID 0, we can easily implement the technology.
Disadvantages of RAID 0
- RAID 0 cannot be used in critical systems because it is unable to tolerate the fault.
- If one disk fails in RAID 0, then all the data of other disks are also lost.
RAID 1
RAID 1 can also be called Mirroring. It will take all data from a disk and then write it into a second disk, which is parallel to the first disk. In RAID 1, there is very high redundancy because each disk contains the exact copy of data on another disk. It needs minimum two disks to work. The setup of RAID 1 provides protection against data loss, or we can say that it has the fault tolerance capacity. If one disk fails, then the copy of that disk provides the required data.
Here, the systems can read the data from both disks simultaneously. Because of this feature, it will also be able to speed up the performance and availability. Still, the performance of write operation is unaffected. It takes more time as compared to the read operation because RAID 1 contains two disks writing in parallel, and the writing operation uses the capacity of one disk, and they have to write the same data twice. In RAID 1, the downside of the disks contains the high costs because one disk must build twice the capacity that’s actually needed at this level.
Advantages of RAID 1
- As compare to the single disk, the RAID 1 provides an excellent read and write speed.
- It has the fault tolerance ability. If one disk fails, we don’t need to build the data again, and we will just simply copy the data into the replacement disk.
- It is a very simple technology, and the implementation of RAID 1 is also very simple.
Disadvantages of RAID 1
- In RAID 1, the data has to be written twice. That’s why effective storage capacity is only half of the total disk capacity, and it is the main disadvantage of RAID 1.
- RAID 1 is more expensive as compared to RAID 0 because it needs twice disks to mirror the data.
- The hot-swapping of failed disks are not always allowed by the software RAID 1. When we power down the computer through which failed disk is attacked, the failed disk can only be replaced.
- A lot of people simultaneously use the servers, and this power-down process may not be accepted by them. That’s why these types of systems typically use hardware controllers because they support hot-swapping.
RAID 2
RAID 2 can also be called Bit-level stripping. In RAID 2, we strip the bits across the disks in place of striping the blocks across the disks. At this level, we require two groups of disks. The first group of disks will be used to write the data, and the second group of disks will be used to write the error correction codes.
In this level, we will use Hamming error correction code (ECC) and then use the redundancy disks to store the information of ECC code. Hamming code is a type of linear error correction code, which is able to detect up to (d – 1) bit errors and correct (d -1)/2-bit errors. Where d is a type of code word given by the minimum Hamming distance between all pairs. If d is greater than or equal to the Hamming distance between transmitted and received bit pattern, only then reliable communication will be possible. In contrast, a simple parity code is able to only detect an odd number of errors, and it cannot correct the error.
When we write the data on disks, it will evaluate the ECC code (error correction code) for the data on the fly. After that, it will strip the data bits to the data disks, and finally, it will write the ECC code to the redundancy disks. When we read the data from the disks, it uses the redundancy disks to read the corresponding ECC code. Now it will verify whether the data is consistent. If needed, it will perform appropriate corrections on the fly.
This process uses many disks. It will be configured in various disk configurations. Now this time, RAID 2 is not useful anymore because it is costly, and the implementation of RAID 2 in RAID controller is difficult. Now this time, ECC is also redundant because the hard disks are capable of doing the work of ECC themselves.
Advantages of RAID 2
- RAID 2 uses hamming code while error correction.
- It can store the parity with the help of one designated drive.
Disadvantages of RAID 2
- RAID 2 needs an extra drive for error detection.
- It contains an extra drive. That’s why it is expensive and contains a complex structure.
RAID 3
RAID 3 can also be called Byte level stripping. The working of RAID 3 is the same as RAID 0 as it uses byte-level stripping, but it also needs an extra disk in the array. RAID 3 is used to support a special type of processor in the parity code calculations, which can be called ‘parity disk’. In RAID 3, we strip the bytes across the disks in place of striping the blocks across the disks. At this level, we require multiple data disks and a dedicated disk so that we can store the parity. In the configuration process of RAID 3, the data will be divided into individual bytes, and then it will be saved on a disk. For each row of the data, the parity disk will be determined, and after that, it will be saved in the mentioned parity disk. If there is any failure, it has the ability to recover the data with the help of parity bytes that correspond with them and the appropriate calculation of remaining bytes.
Although this level is rarely used in practice, but it has a lot of benefits that are if there is any damage of disk in the arrangement, it can resist. Secondly, it has a very high reading speed. Unfortunately, RAID 3 also has a lot of drawbacks. First, as compared to the read speed, the write speed is very slow because of its necessity for checksum calculating. (RAID hardware controllers are also unable to solve this problem). The second problem is that if there is any disk failure, then the whole system will work very slowly. RAID 3 has the ability to resist breakdown that means if any disk in the array fails, it will replace the damaged disk, but replacing process is very costly. The third problem is that we use the disk for calculating checksums, which is the bottleneck in the entire array performance.
Though the above description, RAID 3 is unable to show a good, reliable and cheap solution. That’s why RAID 3 is used rarely in practice. The systems which are based on RAID 3 are mostly used for the implementation purpose where very large files are referred by the small number of users.
Advantages of RAID 3
- RAID 3 provides high throughput to transfer the huge data.
- It solves RAID 2’s main disadvantage that means it can be resistant to disk failure and breakdown.
Disadvantages of RAID 3
- If we only need to transfer a small file, the configuration may be too much.
- If there is any disk failure, then it will significantly decrease the throughput.
RAID 4
RAID 4 can be known as Block-level striping. The working of RAID 4 is the same as RAID 3. The main difference between them is the process of sharing the data. They are divided into blocks such as 16, 32, 64, or 128 GB. Same as RAID 0, it will be written on the disk. For each row of written data, a parity disk is used to write any recorded block. That means this level uses block-level for striping data in place of byte-level striping. RAID 5 and RAID 4 has a lot of similarities, but RAID 4 confines all parity data to a single disk. So we can say that it does not use distributive parity.
In RAID 4, we can complete implementation and configuration with the help of minimum three disks. RAID 4 also requires hardware support to perform the parity calculations. Due to this, we are able to recover data with the help of appropriate mathematical operations.
Advantages of RAID 4
- RAID 4 allows the block-level striping, which provides the facility to simultaneously send I/O requests.
- It provides a low storage overhead. If we add various disks, it will become more lowers.
- This level does not need a synchronized controller or spindles.
Disadvantages of RAID 4
- It contained the parity drives, which may lead to a bottleneck.
- If we try to perform a write operation simultaneously, the operation will be slower because the information of parity is written to one disk.
RAID 5
RAID 5 can be called Stripping with parity. It uses the block level for data striping and also uses distributive parity. RAID 5 needs minimum three disks but can work up to 16 disks. It is the most secured RAID level. Parity is a type of raw binary data. RAID system calculates the values of parity and using these values, create a parity block. If any disk fails in the RAID system, it will use the parity block to recover striped data. Mostly RAID system with parity function uses the array to store the parity blocks in the disks. At this level, data blocks are striped across the drives. The parity checksum of all data blocks is written only on one drive. The parity checksum does not use a fixed drive, but they are spreading across all the drives. If the data of any data block has no longer available, with the help of parity data, the computer can recalculate the data. That means if there is any single drive failure, RAID 5 has the ability to resist against the failure of any disk in the array without access to data or losing the data.
Although we can use RAID 5 in the software, but the recommended controller is a hardware controller. These controllers can improve their write performance by often using the extra cache memory. In this level, the performance of RAID 0 is combined with the redundancy of RAID 1, but in this process, it takes a huge amount of storage space that can be approx one-third of usable capacity. In the array, all the drives serve to write requests simultaneously. That’s why this level increases the write performance. But the write implication can affect the performance of overall disk since we need to perform multiple steps and recalculation if we do minor changes in the stripes.
In short, we can say that RAID 5 provides reliability and high performance. It has the ability to balance reads, and writes and also it is secure. RAID 5 stores the parity by using the space of entire disk, and it also reduces the aggregate amount of data users can save. RAID 5 is a type of excellent all-around system, which is used to provide decent performance and also combine efficient storage with excellent security. It is mainly used for the file and application server that contains a limited number of data drives.
Advantages of RAID 5
- In RAID 5, the write data transactions are slow because of the calculation of parity, while the read data transactions are very fast.
- If there is any disk failure in the RAID 5, we still have the power to access all the data no matter that the failed drive is being replaced and the data is rebuilt by the storage controller on a new disk.
Disadvantages of RAID 5
- If there is any disk failure, it will affect the throughput, but this process is still acceptable.
- RAID 5 is complex technology. Suppose there is a disk of 4TB in the array of various disks, and it fails. In this case, replacing and restoring the data of failed disk may take a day or more than that on the basis of the speed of the controller and the load on an array. At this time, if any disk goes bad, data will be lost forever.
RAID 6
RAID 6 can also be called Striping with double parity. The working of RAID 5 is the same as RAID 6, and the difference between them is that the system stores an additional parity block on each desk in RAID 6. Due to this, a configuration will be enabled where before the array is unavailable, the two disks may be failed. It needs two different sets for parity calculations, and it has the ability to rebuild an array even if two drives simultaneously fail. RAID 6 needs minimum four disks, and it can withstand two disks that are dying simultaneously. The two disks will be used for the data, and the remaining two disks will be used for parity information. If there is a rise in the number of disks, it will increase the chances of multiple failures and also increase the complexity of rebuilding the disk set.
As compared to the RAID 5, it offers higher redundancy and also increases the performance of read. If there is an intensive write operation, this level will also suffer from the same server performance overhead. This performance is depended on the architecture of RAID system, i.e., software or hardware. If the system performs high-performance parity calculation with the help of including processing software, and if it is located in the firmware, it will affect the performance.
In RAID 6, the chances of two disks failure at the same time are very less. In the RAID 5 system, if any disk fails, it will take hours, days or more time to replace it with the new disk. At that time, if another disk fails, we will lose all of our data forever. But in RAID 6, the RAID array will even survive from the second failure.
Advantages of RAID 6
- In RAID 6, the read data transactions are very fast, just like the RAID 5.
- It is more secure than RAID 5 because if two disks fail, we are able to still access all our data even while the system is replaced with our failed disks.
Disadvantages of RAID 6
- In the RAID 6, we have to calculate the additional parity. That’s why write data transactions in RAID 6 are slower than the RAID 5. It can be slower by 20% as compared to RAID 5.
- If there is any disk failure, then it will affect the throughput, but this process is still acceptable.
- RAID 6 is complex technology. If there is a disk failure in any RAID array, rebuilding an array can take a long time.
Optical Memory
The optical memory was released in 1982, and Sony and Philips developed it. These memories perform their operations with the help of light beams, and it also needs option drive for the operations. We can use optical memory to store backup, audio, video, and also for caring data. The speed of a flash drive and the hard drive is faster as compared to the read/write speed. There are various examples of optical memory that are Compact disk (CD), Bluray Disk (BD), and Digital Versatile Disk (DVD).
Compact Disk (CD)
It is a type of digital audio system, which is used to store data. It is composed of circular plastic, in which aluminium alloy is used to coat the single side of plastic, which is used to store the data. It also contains an additional thin plastic covering, which is used to protect the data. CD will perform its operations with the help of a CD drive. The compact disk can be called the non-erasable disk. Here we use the laser beam to imprint the data on the disk. In the starting, the CDs are used to hold the 60 to 75 minutes of audio information that has the ability to store about 700MB of data. But now, it can store 60 minutes of audio information on a single side. Now many devices have been developed which contains low cost and high capacity as compared to the CD.
Types of Compact Disk
CD-ROM:
CD-ROM is also known as CD read-only memory. It is mainly used to store computer data. As we know earlier, the compact disks were used to store the video and audio data, but it uses the digital form to store the data, so we can also be used the compact disks to store the computer data.
If there is some error in the audio and video appliance, it will ignore that error, and that error does not reflect in the produced video and audio. But if the computer data contains any error, then CD-ROM will not tolerate it, and that error will reflect in the produced data. At the time of indenting pills on the compact disks, it is impossible to prevent physical imperfection. So in order to detect and correct the error, we have to add some extra bits.
The compact disk (CD) and compact disk read-only memory (CD-ROM) contain one spiral track, beginning from the track’s centre and spiral out towards the outer edge. CD-ROM uses the blocks or sectors to store the data. On the basis of tracks, the number of sectors varies. The inner tracks of the compact disk contain fewer sectors, and the outer track of the compact disk contains more sectors. The length of the sectors at the inner edge and the outer edge of disk is the same.
When the disk is rotating, the low power laser beam will be used to scan the sectors at the same rate. There can be a variation in the rotating speed of disk. If we are trying to access the sectors which are near to the centre of the disk, the disk will be rotated comparatively faster. If the sectors are present near the outer edge, the disk will be rotated slower as compared to the sectors near to centre of the disk.
CD-R:
CD-R is also known as CD-Recordable. It is a type of write once read many, or we can say that it allows single time recording on a disk. It is used in these types of applications that require one or a small number of copies of a set of data. CD recordable composed of polycarbonate plastic substrate, coating of thin reflective metal, and a protective outer coating. Between the metal layers and the polycarbonate, there is a layer of organic polymer dye, which serves as a recording medium. With the help of dye, the reflectivity can be changed. When there is exposure to a specific frequency of light, the dye will be permanently transformed. The high-intensity laser is used to activate the dye. In the dye, marks are created by the laser that is used to mimic the reflective properties of lands (highest area) and pills (lower area) of the traditional CD.
CD-RW:
CD-RW is also known as CD-Rewritable. It is a type of compact disk format which allow us to repeatedly recording on a disk. CD rewritable and CD recordable both are composed of the same material. So it is also composed of polycarbonate plastic substrate, coating of thin reflective metal, and a protective outer coating. The dye will be replaced by an alloy in the CD-RW. When the alloy is heated and cooled down, then it will show some interesting behavior.
If there is a melting point and the alloy is heated above that point and cooled down, in this case, it will turn into a state which is known as the amorphous state, which is used to absorb light. If there is a case in which alloy is heated at 200o C and that temperature is maintained for a certain period, then a process known as annealing will occur, and it will turn alloy into the crystalline state.
The area of non-crystalline and crystalline will be formed with the help of controlling the temperature of a laser. The crystalline area is used to reflect the laser, while the other area is used to absorb it. These differences will be registered as digital data. We can further use the annealing process to delete the stored data. There is an advantage of CR-RW over CD-R and CD-ROM, i.e., we can rewrite the CD-RW, and after that, we can use it as true secondary storage.
Digital Versatile Disk (DVD)
The DVD (digital versatile disk) technology was first launched in 1996. The appearance of the CD (compact disk) and the DVD (digital versatile disk) has the same. The storage size is the main difference between CD and DVD. So the storage size of a DVD is much larger than the CD. While designing DVDs, there are several changes that are done in their design to make the storage larger.
DVD uses the shorter wavelength of a laser beam to imprint the data than the CDs laser beam wavelength. With the help of a shorter laser beam wavelength, the lights are able to focus on a small spot. Pits of CDs are much larger than the pits of DVDs. The tracks on DVD is placed very close than the tracks on a CD. By doing all the changes in the design of a DVD, it has a 4.7GB storage size. We can more increase the storage capability by using the two-sided disk and two-layered disk.
Two Layered Disk
The first base of the two-layered disk is the same as CD that means it is also composed of circular plastic. But in this disk, we use translucent material rather than aluminium to cover the lands and pits of the first base. This material is able to solve the purpose of a reflector. The program of a translucent layer is doing in a way that it can store the data with the help of indenting pits onto it. The second layer of lands and pits contains the reflective material. In order to retrieve the binary pattern, when the laser beam is focused on the first layer, then sufficient light will be reflected by the translucent material, which will be captured by the detector. After that, the second layer will reflect a small light, and that light is a noise. That’s why it will be cancelled by the detector.
Similarly, the focus of a laser is on the second layer and wants to read it, the first layer will reflect a small light, and that light will be cancelled with the help of detector.
Two-Sided Disk
In a two-sided disk, the implementation of tracks will be applied on both sides of the DVDs. This structure is also known as two single-sided disks. These disks will be put together so that they can form a sandwich. But the topmost disk will be turned upside down.
Blu-Ray DVD
A Blu-ray disk is a type of high capacity optical disk medium, which is used to store a huge amount of data and to record and playback high definition video. Blu-ray was designed to supersede the DVD. While a CD is able to store 700 MB of data and a DVD is able to store 4.7 GB of data, a single Blu-ray disk is able to store up to 25 GB of data. The dual-layer Blu-ray disks can hold 50 GB of data. That amount of storage is equivalent to 4 hours of HDTV. There is also a double-sided dual-layer DVD, which is commonly used and able to store 17 GB of data.
Blu-ray disk uses the blue lasers, which help them to hold more information as compared to other optical media. The laser is actually known as ‘blue-violet’, but the developer rolls off the tongue to make ‘Blue-violet-ray’ a little earlier as ‘Blu-ray’. The CDs and DVDs use the red laser, and their wavelength (650 nm) is greater than the blue-violet laser (405nm). With the help of a small wavelength, the laser can focus on a small area. In Blu-ray disks, we can use the same size, which is used by CD or DVD and store a large amount of data on a disk. Blu-ray is able to provide very high resolution as compared to the DVD. On the basis of standard definition, a DVD can provide a definition of 720×480 pixels. In contrast, the Blu-ray high definition contains 1920X1080 pixel resolution.
Magnetic Tape
Reading and writing techniques in the tape system is the same as the disk system. In this, the medium is flexible polyester tape coated with a magnetizable material. The tape’s data can be structured as a number of parallel tracks that will be run lengthwise. In this form, the recording of data can be called a parallel recording. Instead of the parallel recording, most of the modern system uses serial recording. The serial recording uses the sequence of bits along with each track to lay of the data. It is done with the help of a magnetic disk. In the serial recoding, the disk contains the physical record on the tape, which can be described as the data which are read and write in the contiguous blocks.
The gaps are used to separate the blocks on the tape, which can also be known as inter-record gaps. With the disk, we format the tape so that we can assist in locating physical records. When the data are being recorded in the techniques of serial tape, we record the first set of bits along with the whole tape’s length. When we reach the end of a tape, the head will be repositioned so that they can record a new track. This time, the tape will follow the opposite direction to again record its whole length. This process will be continued until the tape is full.
A tape drive can be accessed as a sequential access device. If the current position of the head is beyond the desired result, we have to rewind the tape at a certain distance and starting reading forward. During the operation of reading and writing only, the tape is in motion. The difference between tape and disk drive is that the disk drive can be referred to as a direct access device. A disk drive is able to get the desired result without sequentially reading all sectors on a disk. It has to only wait until the intervening sectors have arrived within one track. After that, it is able to successive access to any track.
The magnetic tape can also be known as a type of second memory. It can also be used as the slowest speed and lowest cost member of the memory hierarchy. There is also a linear tape technology, which is a type of cartridge system. It was developed in late the 1990s. In the market, the LTO can be described as an alternative to various properties systems.