<quote who="[EMAIL PROTECTED]">
> This is what I'm considering doing:
>
> * Adding an extra HD to the machine on the first IDE, and copy the
> contents of the current root filesystem onto it.
> * Make the extra HD into the root filesystem using LILO.
> * Make the two SCSI HDs into the raid device.
> * Copy the root filesystem onto the raid device.
> * Take any extra steps as outlined in the HOWTOs.
> * Update LILO.
> * Remove extra HD.
>
> Any ideas, pointers, tips or help appreciated.
You can do the extra drive thing, but I've always done it with the existing
drives in the machine. Starting with an existing machine, which you want to
RAIDise [1]...
* Set up your raidtab normally, for whichever level you care about (in
this case, 1)
* Set the disk that has data on it (let's call it 'master') to 'failed'.
This allows you to explicitly remove it from the RAID array whilst
you're setting it up.
* Use (c)fdisk to set all of the partitions to the RAID autodetect type.
* Start RAID, initialise the array, and format it.
* Mount the array and copy everything over from the 'master' disk (cp -a
will do it properly).
* Now you can check that it boots on RAID and does everything normally.
* If it breaks, you can easily boot back in to the 'master' and fix stuff.
* If it works, you can switch 'master' back to a raid-disk and hotadd it.
It will sync, and your RAID array will be running at 100%.
:-)
- Jeff
[1] As opposed to a fresh install. And wow, I'm way impressed by the Red Hat
installer's RAID stuff.
--
... *bounce*bounce*bounce*
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug