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 how to configure DHCP client?

50.Explain how to configure DHCP client? Ans. 1. Before configuring DHCP, NIC should be configured properly and recognized by the system. 2. After that it’s easy to command system to use DHCP to obtain its IP information. 3. Configuring DHCP client involves following steps : a. Open the /etc/sysconfig/networkscripts/ifcfg-eth0 file. b. Find the line bootproto=static c. Change the static to dhcp. d. Save changes. e. Restart the network by issuing command ‘service network restart’, after that system will receive its IP information from the DHCP server.

QT practicals files

Temporarily Available: Click below to download|||||||||||

Explain memory and virtual file system in Linux.

22.Explain memory and virtual file system in Linux. Ans. 1. These file systems do not exist on disk in the same way that traditional file systems do, they either exists entirely in the system memory or they are virtual because they are an interface to system devices. 2. cramfs: cramfs is designed to cram a file System onto a small flash memory device, so it is small, simple and able to compress things well. The largest file size is 16MB and the largest file system size is 256MB since cramfs is so compressed, it isn’t instantly updateable. 3. tmpfs: tmpfs is structured around the idea that whatever is put in the /tmp file system is accessed again shortly, tmpfs solely in memory, so what you put in /tmp doesn’t persist between reboots. 4. ramfs: ramfs is basically cramfs without the compression. 5. romfs: This is a read only file system that is mostly used for initial ramdisks of installation disks. It was designed to take up very little space, so you could fit a ke...