LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Installing Centos6.3-minimal on RAID 1 (https://www.linuxquestions.org/questions/linux-server-73/installing-centos6-3-minimal-on-raid-1-a-4175422792/)

chen.yo 08-18-2012 01:15 PM

Installing Centos6.3-minimal on RAID 1
 
hello all,
i want to install centos6.3 on a software raid1 on a Virtual machine for testing.


i have two hdd disks and i want to accomplish the following:

make raid1 with this 2 disks:
/dev/sda
/dev/sdb

i have already partitioned theme as:
/dev/sda1 200MB for boot
/dev/sda2 17.8G for o\s
/dev/sda3 2G for swap.

and created my raid1 array fully synced.

when the installation of centos6.3-minimal reaches the part of "Partitiong Type" it dosent give me the option
to create\pick raid devices.
it only lists: /dev/sda /dev/sdb

1. is this a limitation of Centos6.3 minimal?

in short,
what are the steps to install centos6.3 minimal on raid1? should i create the raid1 before or after?
why does the installation wizard wont show anything about raid devices?

i found:
http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
can i do the same steps without the GUI,i.e using Centos-minimal installation?
see this one also:
http://lists.centos.org/pipermail/ce...ly/114224.html

guess i just download the full dvd ....

mpapet 08-22-2012 03:10 PM

You've got it wrong.

FIRST put the empty disks into a raid1
THEN create the partitions on the new software RAID device. ex. /dev/md0

Installing GRUB can get a little tricky because GRUB goes on the actual disk /dev/sda and perhaps /dev/sdb, not the /dev/md0 device.

The Redhat/CentOS installer is different than Debian's. It's been too long since I've done a software RAID install with the CentOS one, so you may have to work at it a little more including using a live CD to set up the software RAID.

chen.yo 09-09-2012 03:22 AM

Thanks for your reply , im experimenting with different raid\lvm setups:
what you have suggested is later addition of the kernel which support partitiong of raid devices (i.e parition md0 ..).
ill get to that soon...

i managed to prepare my partition layout and raided it as i described above using the centos6.3 regular dvd1 (not minimal).


All times are GMT -5. The time now is 06:06 AM.