[CentOS] Turning root partition into a RAID array
Chris Mauritz
chrism at imntv.com
Tue Nov 15 17:55:21 UTC 2005
That's the ticket. I wonder if anyone has tried building a "rescue USB
thumb drive" since the 1GB devices are so cheap these days. That would
be great for this kind of situation.
Cheers,
Peter Farrow wrote:
> you probably have to boot from the cd using rescue mode as well:
>
> at the cd boot prompt:
>
> linux rescue
>
> this will release the "busy" devices as you can unmount them as you go...
>
> P.
>
>
>
> Nigel kendrick wrote:
>
>> I have a CentOS 4.2 system that was set up VERY quickly following the
>> demise
>> of its former life as a CentOS 3 server - you don't want the full
>> story, but
>> it had to be done quickly to get a company up and working following a
>> slight
>> disaster involving an electrician, a portable appliance safety tester
>> and a
>> pulled power cable - anyway, here's where I am at...
>>
>> Everything is running fine but I now want to mirror the root partition
>> (/dev/hda3). I have read quite a few set of notes on the theory but
>> since
>> they contain conflicting advice I am hoping someone here can set me
>> straight
>> - here's what IO want to do:
>>
>> hda3 and hde3 become a mirrored pair (/dev/md0) and this is mounted
>> at boot
>> time as /
>>
>> Is it as simple as a quick mdadm command and then an edit of
>> /etc/inittab??
>>
>> If I try and use mdadm right now I get complaints that /dev/hda3 is busy
>> (fair enough) so I guess I need to be in less than 'full steam ahead'
>> mode
>> to make the change - over to you....
>>
More information about the CentOS
mailing list