On Tue, Feb 08, 2000 at 10:40:46AM -0500, Sean Millichamp wrote:
> the RAID. I could do it, but it would be a big pain in the butt and it
> seems that for RAID-1 it should be possible without formatting my original
> drive.
>
> I looked for mention of a setup like this in the howto but didn't see any
> sign of it. Has anyone done this? Is it possible?
Well ... Unfortunately since the Linux SW RAID modifies the partition, you
have to move data around before you can use the original disks again. (boo!)
What I ended up doing was to make the RAID array using a new disk, and then
specifying the original disk as "failed-disk". After the array is created,
do a mke2fs on the new arrays. I would made a boot rescue disk (w/ the raid
drivers), booted up to the rescue disk, and copied all of the data over to
the new array. To boot, you can either use the boot floppy (linux
root=/dev/md0) or setup LILO to boot to either disk.
If everything is running fine on the array, you can then repartition
the original disk (if neccesary), do a 'raidhotadd /dev/md# /dev/XXX'
and sync the partitions together. Re-install LILO, and you should be set.
The only issue right now is resyncing swap space -- don't do it while the
swap is in use.
I believe there is a how-to/faq on this somewhere out there (tm).
--
Randomly Generated Tagline:
The argument against using an operator for other than its primary
purpose strikes me the same as the old argument that you shouldn't have
sex for other than procreational purposes. Sometimes side effects
are more enjoyable than the originally intended effect.
-- Larry Wall in <[EMAIL PROTECTED]>