Re: [opensuse] Software RAID with existing drive
On 07/10/2007 01:35 PM, Brandon Carl wrote: OK, I can successfully boot from either hard drive and choose the option to boot from HDA or the RAID drive from grub. Good.
Now what do I do from here? First, as you seem to realize, you need to be certain your data is synced. Then, you will be changing the partition type on hda to linux software raid (fd). You can do this in Yast, System, Partitioner, which you can then use to add the new raid partitions to your existing raid, thus allowing for both drives to work. I'm pretty sure the data is all copied over, but is there a way I can be sure? rsync Mount the raid devices on /mnt, ie. mount /dev/md10 /mnt, then mount /dev/md11 /mnt/home. Then, rsync -auvzH --exclude=/proc --exclude=/sys / /mnt/ (you can add a -n for a dry-run to check, man rsync for more info). I think that would do it. You said something about using rsync, but I'm not familiar with that tool. It is a great tool. Check it out.
And then, once that is done, how do I "add" the old drive into the RAID array. either using mdadm, i.e. mdadm /dev/md10 -a /dev/hdax (what ever partition it is.), etc., for md11 or you can use Yast partitioner. HTH.
-- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64
Hurray!! It is working! Finally! I think I might create a tutorial on how to do this in case others run into the same situation I was in. So, finally, is there a way I can make absolutely sure the raid array is up, running, and mirroring before I release this server back onto my company's network? -Brandon -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Brandon Carl