CORRECT TEXT
Create a RAID Device /dev/md0 by creating equal two disks from available free space on your
harddisk and mount it on /data.
Answer:
Explanation:
Redhat Enterprise Linux 5 Supports the RAID LEVEL 0, RAID LEVEL 1, RAID LEVEL 5 and RAID
LEVEL 6 at installation time. You can create it at installation time later no need to type lots of
commands for RAID.
At Installation Time:Create the partitions using diskdruid.Create the Partitions having File system
Type Software RAID.Click on RAID buttonType the Mount PointSelect File system typeSelect
RAID LevelSelect Partitions/disks as a member of RAID.Click on ok
After Installation: We can create the RAID Device after Installation on command-line.
1. Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining
cylinder and divide by 2).
2. Change the Partition ID to fd (Linux raid Autodetect) by typing t.
3. Type w à To write on partitions table.
4. Use partprobe command to synchronic the partition table.
5. Use: mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/hda? /dev/hda?
6. Verify the RAID: mdadm –detail /dev/md0
7. mkfs -t ext3 /dev/md0
8. mount /dev/md0 /data
9. vi /etc/fstab
/dev/md0 /data ext3 defaults 0 0
10. Verify mounting devices using mount command.