nerdexam
Red_Hat

RH202 · Question #35

Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.

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: 1. Create the partitions using diskdruid. 2…

Installation and Configuration

Question

Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.

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:

  1. Create the partitions using diskdruid.
  2. Create the partitions having File system Type Software RAID.
  3. Click on RAID button
  4. Type the Mount Point
  5. Select File system type
  6. Select RAID Level
  7. Select Partitions/disks as a member of RAID.
  8. Click on ok After Installation: We can create the RAID Device after installation on command-line.
  9. Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining cylinder and divide by 2).
  10. Change the Partition ID to fd (linux raid Autodetect) by typing t.
  11. Type w To write on partitions table.
  12. Use partprobe command to synchronic the partition table.
  13. Use: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda? /dev/hda?
  14. Verify the RAID: mdadm --detail /dev/md0
  15. mkfs -t ext3 /dev/md0
  16. mount /dev/md0 /data
  17. vi /etc/fstab /dev/md0 /data ext3 defaults 0 0
  18. Verify mounting devices using mount command.

Topics

#RAID device#mdadm#RAID 1#disk partitioning

Community Discussion

No community discussion yet for this question.

Full RH202 Practice