A Directory Is A Container That Is Used To Contain Folders and File. It Organizes Files and Folders Into A Hierarchical Manner
A Directory Is A Container That Is Used To Contain Folders and File. It Organizes Files and Folders Into A Hierarchical Manner
A Directory Is A Container That Is Used To Contain Folders and File. It Organizes Files and Folders Into A Hierarchical Manner
A platter is a round, metal disk that is mounted inside a hard disk drive. Several plasters are mounted on a fixed
spindle motor to create more data storage surfaces in a smaller area. The platter consists of a core containing
aluminium or glass substrate, covered with a thin layer of Ferric Oxide or Cobalt Alloy. On both sides of the layer, a
thin coating is deposited by a special manufacturing technique. This is the thin cover where the original data is stored
at the Media Layer.
When the magnetic media is applied on the surface of the layer material, a thin oily layer is applied to protect the
material.
The heads are the interface between magnetic media where data is stored and the electronic component on the hard disk.
Converts the bits into magnetic pulses in bit size while storing the heads on the platter and reverses the process while
reading. Each platter has two read/write heads, one at the top and the other at the bottom.
SPINDLE MOTOR
Spindle motors play an important role in hard drive operation by turning hard disk platters. A spindle motor must
provide stable, reliable and continuous turning power for continued use for several hours. Many hard drive failures
occur because the spindle motor is not working properly.
A Hard Disk drive (HDD) has a logical structure that is compatible with the operating system
installed. The master boot record is the most important part of the hard disk. This is the first sector
on the hard disk that the operating system accesses. The master boot record contains boot loaders
and partition tables. It is important to know the logical structure of the hard disk to better
understand and resolve the hard disk drive problems.
Basically, we can divide the hard disk logical structure into the following logical terms:
•
ROOT DIRECTORY
It is like a table of contents for information stored on HDD.
The remainder area of volume after root directory is the data area. It contains actual data
stored on the disk surface.
RAID
Data redundancy, although taking up extra space, adds to disk reliability. This means, in
case of disk failure, if the same data is also backed up onto another disk, we can retrieve
the data and go on with the operation. On the other hand, if the data is spread across
just multiple disks without the RAID technique, the loss of a single disk can affect the
entire data.
RAID levels
Raid devices will make use of different versions, called levels.
(disk striping) is the process of dividing a body of data into blocks and spreading the data
blocks across multiple storage devices, such as hard disks or solid-state drives (SSDs), in a
redundant array of independent disks (RAID) group. A stripe consists of the data divided
across the set of hard disks or SSDs, and a striped unit refers to the data slice on an individual
drive.
Raid 0: Striping
Requiring a minimum of two disks, RAID 0 splits files and stripes the data across two disks or
more, treating the striped disks as a single partition.
RAID 0 does not provide redundancy or fault tolerance. Since it treats multiple disks as a
single partition, if even one drive fails, the striped file is unreadable.
This is not an insurmountable problem in video streaming or computer gaming
environments where performance matters the most, and the source file will still exist even if
the stream fails.
RAID 1: Mirroring
RAID 1 requires a minimum of two disks to work, and provides data redundancy and
failover. It reads and writes the exact same data to each disk. Should a mirrored disk fail,
the file exists in its entirety on the functioning disk.
RAID 2. This configuration uses striping across disks, with some disks storing error
checking and correcting (ECC) information. RAID 2 also uses a dedicated Hamming
code parity; a linear form of error correction code. RAID 2 has no advantage over
RAID 3 and is no longer used
Hamming code is a block code that is capable of detecting up to two simultaneous bit errors
and correcting single-bit errors. It was developed by R.W. Hamming for error correction.
In this coding method, the source encodes the message by inserting redundant bits within
the message. These redundant bits are extra bits that are generated and inserted at specific
positions in the message itself to enable error detection and correction. When the
destination receives this message, it performs recalculations to detect errors and find the
bit position that has error.
RAID 3. This technique uses striping and dedicates one drive to
storing parity information. The embedded ECC information is used to detect
errors. Data recovery is accomplished by calculating the exclusive information
recorded on the other drives. Since an I/O operation addresses all the drives at the
same time, RAID 3 cannot overlap I/O. For this reason, RAID 3 is best for single-user
systems with long record applications.
RAID 4. This level uses large stripes, which means a user can read records from
any single drive.Since all write operations are required to update the parity drive,
no I/O overlapping is possible. RAID-4 allows recovery of at most 1 disk failure
(because of the way parity works). If more than one disk fails, there is no way to
recover the data.
RAID 5. This level is based on parity block-level striping. The parity information is striped
across each drive, enabling the array to function even if one drive were to fail. The array's
architecture allows read and write operations to span multiple drives -- resulting in
performance better than that of a single drive, but not as high as that of a RAID 0 array. RAID
5 requires at least three disks, but it is often recommended to use at least five disks for
performance reasons. RAID-5 allows recovery of at most 1 disk failure (because of the way
parity works). If more than one disk fails, there is no way to recover the data. This is identical
to RAID-4.
RAID 6. This technique is similar to RAID 5, but it includes a second
parity scheme distributed across the drives in the array. The use of
additional parity enables the array to continue to function even if two
disks fail simultaneously. However, this extra protection comes at a cost.
RAID 6 arrays often have slower write performance than RAID 5 arrays