How To Configure Raid-6 In Linux Rhel 4&5

In This Tutorial We Are Going To Learn How To Configure Raid 6 In Rhel 4&5
Firstly we Have To Drow This Type Of Raid 6 Diagram

Now We Have To Do The Coading Of Raid 6

Step-1 Here First We Have To Create The Partition In Hard Disk /dev/sda & /dev/sdb

fdisk -l
fdisk /dev/sda
n {for New Partition}
Select Partition 3
t
fd {For Raid Partition}
p {For Check Partition Is created Or Not}
w {For Save}
Partprobe /Dev/Sda {For Refresh}

fdisk -l
fdisk /dev/sda
n {for New Partition}
Select Partition 4
t
fd {For Raid Partition}
p {For Check Partition Is created Or Not}
w {For Save}
Partprobe /Dev/Sda {For Refresh}

fdisk -l
fdisk /dev/sdb
n {for New Partition}
Select Partition 1
t
fd {For Raid Partition}
p {For Check Partition Is created Or Not}
w {For Save}
Partprobe /Dev/Sdb {For Refresh}

fdisk -l
fdisk /dev/sdb
n {for New Partition}
Select Partition 2
t
fd {For Raid Partition}
p {For Check Partition Is created Or Not}
w {For Save}
Partprobe /Dev/Sdb {For Refresh}

Step-2 Now Here Is The Coading Of Raid\

mdadm –create/dev/md3 –level=6–raid-devices=4 /dev/sda3 /dev/sda4 /dev/sdb1 /dev/sdb2
mdadm –detail /dev/md3

Step-3 Now How To Del Full Raid 1

mdadm –detail /dev/md3
mdadm –stop /dev/md3
mdadm –detail /dev/md3
mdadm –remove /dev/md3
mdadm –detail /dev/md3

Step-4 Now For Delete Partition

fdisk /dev/sdb
d {For Del The Partition}
Select Partition 1
p {For Check Partition Is Del Or Not}
w {For Save}
Partprobe /Dev/Sdb {For Refresh}

fdisk /dev/sdb
d {For Del The Partition}
Select Partition 2
p {For Check Partition Is Del Or Not}
w {For Save}
Partprobe /Dev/Sdb {For Refresh}

fdisk /dev/sda
d {For Del The Partition}
Select Partition 3
p {For Check Partition Is Del Or Not}
w {For Save}
Partprobe /Dev/Sdb {For Refresh}

fdisk /dev/sda
d {For Del The Partition}
Select Partition 4
p {For Check Partition Is Del Or Not}
w {For Save}
Partprobe /Dev/Sda {For Refresh}

This Is Full tutorial How We Create Or Delete The Partition Of Raid 6 In Linux Rhel 4&5

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s