Wednesday, 3 January 2018

RAID 0 configuration in RHEL7

RAID stands for redundant array of independent disks or redundant array of inexpensive disks.

RAID  is the combination of physical drives which is accessed by the operating system as one single drive.

In the schema of RAID, data is divided and replicated among multiple physical drives.

There are many different ways to organize data in RAID array. These ways are called as "RAID Levels".

Some most used RAID levels are :-

RAID 0
RAID 1
RAID 5
RAID 6
RAID 10 = RAID 1+0

------------------------------------------------------------------------------------------------------------------
Here we will focus upon RAID level 0

                                                                RAID 0 {stripping}




It requires at least two raid partition and the data is distributed across all the physical devices or partitions.

It provides or offers increased performance means accessing of data is fast but it doesn't provide fault tolerance means if one disk in the array fails then the entire array doesn't work.

--> to check partition table

# fdisk  -l        


we have two physical devices here  /dev/vdb  &   /dev/vdc





# mdadm --create /dev/md0 --level=0 --raid-devices=2  /dev/vdb1 /dev/vdc1



# mdadm  --detail  /dev/md0



# lsblk



# mkfs.ext4   /dev/md0



# mkdir  /raid

# mount   /dev/md0   /raid

# mount








No comments:

Post a Comment