Jump to content
xisto Community
jedipi

How Can I Create Raid In Redhat As?

Recommended Posts

hi,i want to create RAID5 in redhat as server.How can i do it?what is the advantage of software RAID compare to Hardware RAID.Which is better?Thand you

Share this post


Link to post
Share on other sites

RAID can be configured during the graphical installation of Red Hat Linux or during a kickstart installation. These instructions are for Disk Druid interface.

 

1.On the Disk Partitioning Setup screen select Manually partition with Disk Druid.

 

2.Choose New to create a new partition.

 

3.Choose software RAID from the File System Type pulldown menu

You will not be able to enter a mount point (you will be able to do that once you have created your RAID device).

 

4.Enter the size that you want the partition to be.

 

5.Select Force to be a primary partition if you want the partition to be a primary partition.

 

6.Click OK to return to the main screen.

 

Repeat these steps to create as many partitions as needed for your RAID setup.

 

 

That's all for RAID config.

 

About the differences between Software and Hardware RAID. The software RAID is like a emulator. And the hardware one, It's based on hardware, only enable if your hardware support it.

Share this post


Link to post
Share on other sites

by the way, jedipi, how many hard disks do you have ? Because you need at least three disks (opmtimally five disks) in order to create a RAID5 disk. If you have only two disk, you create a raid1 disk or a mirrored pair.

Share this post


Link to post
Share on other sites

what is the advantage of software RAID compare to Hardware RAID.Which is better?


Hardware raid is better.

Software RAID is like RAID emulation for people who dont have hardware RAID.

Share this post


Link to post
Share on other sites

I agree with qwijibow. Moreover,If you create a hardware RAID5 group, you can partition your disk, and then use it under Windows as well as under Linux.Else, if you prefer software RAID, you will have a RedHat-only system, and you will loose a part of the openness and collaboration possibility of your PC.RegardsYordan

Share this post


Link to post
Share on other sites

hi,i want to create RAID5 in redhat as server.How can i do it?
what is the advantage of software RAID compare to Hardware RAID.
Which is better?

Thand you


1. Run fdisk on your hard disk, converting your partition to RAID AUTO(type 0xfd). Save changes and reboot.
Remember that the example is assuming your partition are /dev/hda9, /dev/hda10, /dev/hda11 and /dev/hda12. your actual partitions may wary.

2. initialze your RAID array:

# mdadm -- create /dev/md0 --level=5 --raid-devices=4 /dev/hda{9, 10, 11, 12}

this will aslo start the array. The array will immediately begin the construction process, but it can be used immediately. In a spare terminal window, run watch cat /proc/mdstat to keep an eye on the progress of array construction.

3. While waiting for this process to complete. we can start using RAID device. format the partition with an ext3 file system. We will use 4k blocks.

# mke2fs -j -b 4096 -R /dev/md0

4. See if you can mount /dev/md0 /data. This command should work, even if the array is still building.

5. The mdadm --detail command can be used to display used to display useful information on the state of your RAID devices. Try out this command, mdadm --detail /dev/md0.

6.Try creating some files in it /data. Add entry to /etc/fstab and test mounting and unmounting the file system.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.