Skip to main content

What is RAID? Explain types of RAID in detail.

27.What is RAID? Explain types of RAID in detail.
Ans.
1. RAID is an acronym for Redundant Array of Independent Disks, Used for maintaining copy of the data.

2. The information of system’s RAID configuration is stored in ‘/etc/traidtab’.

3. There are two types of RAID – Hardware RAID and Software RAID.

Hardware RAID – in Hardware RAID, the disks have their own RAID controller with built in software that handles RAID disk setup.
The controller is a card in one of the system’s expansion slots.
It may be built onto the system board.
The O/S does not control the RAID level used, it is controlled by the hardware RAID controller.

Software RAID – there is no RAID controller card. The O/S is used to set up a logical array and the O/S controls the RAID level used by the system.

4. Six RAID levels are commonly used.
The three most commonly used RAID levels are

RAID level 0 – stripping
This level requires at least two disks and uses a method called striping that writes data across both drives.
There is no redundancy provided by this level of RAID, since the loss of either drive makes it impossible to recover the data.
This level does give a speed increase in writing to the disks.

RAID level 1 – Mirroring This level requires at least two disks and uses a method called mirroring.
With mirroring, the data is written to both of the drives. So, each drive is an exact mirror of the other one and if one fails the other still holds all the data.
There are two variants to level 1 with one variant using a single disk controller that writes to both disks.
The other variant uses two disk controllers, one for each disk.
This variant of RAID level 1 is known as duplexing.

RAID level 2 – Error Checking and Correction
Requires minimum 3 disks. RAID 2 adds error checking and correcting checksums to RAID-1.
ECC is Error correcting code in which each data signal confirms to specific rules of construction so that departures from this construction in the received signal can generally be automatically detected and corrected. 

RAID level 3 – Byte-Level Striping with Parity Disk
Requires minimum 3 disks, It does striping, like RAID-0, but at a very small granularity.
It also adds parity disks which helps in error detection and recovery.

RAID level 4 – Block-Level Striping with Parity disk
Requires minimum 3 disks, It attempts to add error checking and recovery to RAID-3 by doing block level striping with the addition of a single parity disk.

RAID level 5 – Block-Level Striping with Distributed Parity
It requires at least three disks and uses striping to write the data across the two disks.
But unlike 1, this level uses the third disk to hold parity information that can be used to reconstruct the data from either, but not both, of the two disks after a single disk failure.


Comments

Popular posts from this blog

Explain the tools used to monitor system security.

12.Explain the tools used to monitor system security. Ans. 1. People who, for purpose of larceny or to amuse themselves, like to break into computers, they are called ‘crackers’. 2. If there is a vulnerability in a system they will find it and use it against you. 3. Preventing use of your machine for nefarious purpose and guarding against intrusion are, in the end, your responsibility alone. 4. Red hat equips you with tools to detect and deal with unauthorised access of many kinds. 5. You need to configure those tools and understand how to sense the warning they provide. 6. Fortunately Linux is development community is quick to find potential exploits and to create ways of slamming the doors before crackers can enter in your system. 7. Red hat is careful enough to making available new, patched version in which potential exploits have been found. 8. You should make sure to download and install the repaired package. 9. This line of defence...

Explain the file systems supported by Linux.

21.Explain the file systems supported by Linux. Ans. 1. Linux can read/write to several file system that originated with other operating system much different from Linux. 2. One reason that Linux supports so many file systems is the design of its virtual file system (VFS) layer, its provides a fairly universal forms of file support, file systems supported by Linux are as follows: 3. ext3: • Ext3 stands for third extended file system. • Starting from Linux Kernel 2.4.15 ext3 was available. • The main benefit of ext3 is that it allows journaling. • Journaling has a dedicated area in the file system, where all the changes are tracked. • When the system crashes, the possibility of file system corruption is less because of journaling. (If no journaling, then fsck command (file system consistency check) is used to check for the corrupted file and to repair that file). • ext3 keeps a record of uncommitted file transactions and applies only those transactions when the sy...

Explain the boot process in Linux.

13.Explain the boot process in Linux. Ans. 1. When we turn on our PC, it runs a program called “Basic input/output System” (BIOS). 2. BIOS is the only way to communicate with the system components until the operating system is up and running and able to take over the system management functions. 3. BIOS is installed on Read only memory (ROM) chip physically attached to system board. 4. The ROM type of chip is usually referred as to as an EEPROM chip, meaning it’s not writeable by user. 5. After the BIOS loads, it performs some diagnostics on the hardware, checks the installed components to be sure they are functioning and checks the system RAM (Random access memory). 6. Next the BIOS tries to find system drives from which it can load the boot program to begin the process of starting the operating system/kernel. 7. We can specify the search order for drives by changing the setting in the system BIOS configuration. 8. Usually the first hard drive...