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:
- Create the partitions using diskdruid.
- Create the partitions having File system Type Software RAID.
- Click on RAID button
- Type the Mount Point
- Select File system type
- Select RAID Level
- Select Partitions/disks as a member of RAID.
- Click on ok After Installation: We can create the RAID Device after installation on command-line.
- Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining cylinder and divide by 2).
- Change the Partition ID to fd (linux raid Autodetect) by typing t.
- Type w To write on partitions table.
- Use partprobe command to synchronic the partition table.
- Use: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda? /dev/hda?
- Verify the RAID: mdadm --detail /dev/md0
- mkfs -t ext3 /dev/md0
- mount /dev/md0 /data
- vi /etc/fstab /dev/md0 /data ext3 defaults 0 0
- Verify mounting devices using mount command.
Topics
#RAID device#mdadm#RAID 1#disk partitioning
Community Discussion
No community discussion yet for this question.