Converting a non-RAID system to use RAID.
Hi,
I have a working Ubuntu 6.06 Server machine. /dev/hdd is full of warm, juicy data, and contains all the important partitions of the system.
/dev/hda is a brand new completely empty drive that is identical in every way to /dev/hdd except for the lack of warm, juicy data.
I want to create a RAID1 setup, so that the two will mirror each other and I will have my redundant copy of all the data.
The problem: While I can create a new RAID using mdadm, that appears to require that I destroy all the data on the partitions. I've found a bunch of "convert your live machine" tutorials, and I have perfectly good backups of everything, but I'm hitting a couple of roadblocks: I don't have and can't find tools like mkraid and the rest of the raidtools and raidtools2 packages, and I don't see how to make mdadm do the job for me.
I *could* copy all the files onto a *third* drive (an external USB drive), boot onto that and use it for the server while I wipe the two internal drives and re-create them as RAID devices, but I'm hoping not to do that. That's my last-resort plan.
So, anyone done this before with Ubuntu? Anyone have some suggestions for how to make it work, or where to get the raidtools package so I can follow along the existing "converting your system to use RAID" tutorials?
Last edited by Jrowat; 06-08-2007 at 03:06 PM.
|