Create Raid Configuration File ( /etc/mdadm.conf ) – Linux
RAID refers to a redundant array of independent disks; it helps you to combine multiple storage disks into a single logical unit. Data is distributed to across disks, depends upon Raid level used.
Normally Linux system doesn’t automatically remember all the components that are part of the RAID set. This information has to be added it on mdadm.conf file under /etc directory. It helps to start, rebuild,re-activate the raid etc.., by default, the file will not be available, it has to be created manually.
Use the following command to scan the availbe RAID levels on the system.
[[email protected] ~]# mdadm –detail –scan
ARRAY /dev/md level=raid1 num-devices=2 UUID=59bbce04:74f9376a:e78e164b:9897f07b
Check the Raid details.
[[email protected] ~]# mdadm –detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Thu Dec 2 20:21:44 2010
Raid Level : raid1
Array Size : 20971456 (20.00 GiB 21.47 GB)
Used Dev Size : 20971456 (20.00 GiB 21.47 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Dec 2 20:21:44 2010
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 59bbce04:74f9376a:e78e164b:9897f07b
Events : 0.1
Number Major Minor RaidDevice State
0 8 32 0 active sync /dev/sdc1
1 8 48 1 active sync /dev/sdd1
Append or Create the configuration file.
View the configuration file.
[[email protected] ~]# vi /etc/mdadm.conf
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=59bbce04:74f9376a:e78e164b:9897f07b
That’s All.
Search Term:
Create Raid Configuration File – Linux,Create Raid Configuration File – RHEL 6, Create Raid Configuration File RHEL 5, Create Raid Configuration File RHEL, Create Raid Configuration File CentOS 6. Create Raid Configuration File CentoS 5, Create Raid Configuration File CentOS, Create Raid Configuration File – Fedora, Create mdadm.conf file, Create mdadm.conf file linux, Create mdadm.conf file CentOS, Create mdadm.conf file RHEL 5 ,Create mdadm.conf RHEL 6, Create mdadm.conf file CentoS 6