How to configure raid 5
First we have to create three partition with fd ( raid) filesystem.
# Please use below command
Note: Above Screenshot, We came to know that we have new hard disk /dev/sdb.
We have to create our raid partition in this hard disk.
Note: As per Screenshot, we have to create three
partitions like above screenshot.
Note: As per above screenshot, we can see that we have three
raid partition. Now we have configure raid.
Note: As per above screenshot
, we created the raid 5 with three partition.
Details : C - create
, l -
level of raid , --raid-device –
total number of hard disk use for raid array
Now to check the raid status, we have to run below command.
Now we have to get UUID of raid device with below command
Thereafter we have to write this entry in the file
/etc/mdadm.conf with below command.
Note: After write above entries in /etc/mdadm.conf. our raid
device will active during reboot.
Now we have to format our raid device with below command.
Now we have to create a mount point for use of raid device
and mount our raid device on this mount point. Use below commands.
Note: For permanent mount raid device on this mount point.
We have to write the entries in /etc/fstab file.
Note: As per above screenshot, we have to write entries in
this file.
Now Reboot the system. Thereafter we can check our raid
mount point and raid status with below commands.
<<<<<<<<<<<<< Raid 5 has been configured properly
>>>>>>>>>>>>>>>>>>>>>>>