Add raid system to CentOS is totally same as add new hard disk except constructing raid process (mdadm).
You can see the detail process how to add new hard disk post.
Sequences
Partitioning --> Raid construction (mdadm) --> Formatting (mkfs) --> Mount --> Register in 'fstab' file
Caution
You should set partition type to Linux raid auto.
You can check the fdisk status with 'fdisk -l /dev/sdb /dev/sdc
Raid construction
ex) mdadm --create /dev/md9 --level=linear --raid-devices=2 /dev/sdb1 /dev/sdc1
Scan entire raid
mdadm --detail --scan
mdadm --detail /dev/md9
Restoration method in emergency mode
mdadm --run /dev/md5
* Some high version of CentOS provide it automatically
* Only raid level 1, 5 can be restored
No comments:
Post a Comment