[CentOS] raid

Wed May 30 06:04:47 UTC 2007
Feizhou <feizhou at graffiti.net>

CentOS List wrote:
>> ----- Original Message ----- ----- "CentOS List" 
>> <centoslist at gmail.com> escreveu:
>> > >> > Set up md0 (Raid1) (sda,sdb)
>> > >> > Set up md1 (Raid1) (sdc,sdd)
>> > >> >
>> > >> > Set up md2 (Raid0) (md0,md1)
>> > >>
>> > >> ok. That sounds easy.. I tried to do md0. It ask for me a mount
>> > >> point.
>> > >> What should I mount it on?
>> > >
>> > > The only thing you mount at the end of the day is md2
>> > >
>> > > Are you trying to set this up in the installer or somewhere else?
>> >
>> > Yes. During the installing of CentOS 5. I had specified hda and hba
>> > as raid and when i wanted to create md0, it want me to supply a mount
>> > point.
>> > So i am stuck there.
>>
>>   As far as I know, the CentOS installer didn't allow a RAID 1+0
>> during install! But, I think you can setup this using RAID1 + LVM :
>>    - Setup md0 (Raid1) (sda,sdb)
>>    - Setup md1 (Raid1) (sdc,sdd)
>>    - Setup LVM (md0+md1)
>>
>> But i am stuck during the setup of md0 as it requires me to specified
>> a mount point. 
> 
>> Well, select the partition type as LVM not ext2/3 and it will not ask 
>> for a mount point :)
> 
> So where do i mount /boot / and swap?

You can put / and swap on the LVM. /boot needs to be separate.