On Mon, Jan 12, 2004 at 02:37:53PM -0600, Andrew Gaffney wrote: > Ciaran McCreesh wrote: > >On Mon, 12 Jan 2004 11:48:38 -0600 Andrew Gaffney > ><[EMAIL PROTECTED]> wrote: > >| I'm looking for a decent PCI IDE RAID card that can do hardware RAID 0 > >| and/or 1 under Linux. Can anyone recommend anything? Thanks. > > > >If you *really* want 'IDE RAID', you have to get a 3ware. The promise > >and highpoint drivers are just silly software hacks. > > > >On the other hand, in-kernel md raid is faster for IDE anyway, and > >doesn't lock you in to a specific vendor. > > With the kernel software RAID, what would I need to do in order to move an > existing system over to the RAID? I have 2 identical 120GB HD's. The second > is just backup. I have a script that runs every night and rsync's from HD1 > to HD2. I want to move to RAID-1 with minimal system downtime as this is a > production server.
If you want to move to raid 1 from a single disk there's a bit of a procedure to go through. Hopefully others can add onto this for me, as I've never done it myself (completely anyway). First of all, check the howto: http://www.tldp.org/HOWTO/Software-RAID-HOWTO-7.html#ss7.6 It has one way to do it (redhat specific, but should give you some good pointers that are compatible with gentoo and a liveCD :) Basically what you'll do is set up *one* of the two disks for raid, setting the other as 'failed-disk' in the raidtab. Start up the raid and it'll be running in degraded mode (1/2 disks available). At this point you can copy data across from your "real" disk. Setup grub or lilo so that your system will boot from /dev/md0 instead of /dev/hda1, then change your fstab to match up. Then you can reboot (I think) and because raid1 is redundant you can leave your "old" hard drive alone without having to nuke it as you would if you were going to raid5 or raid0. Once things are set up properly and working from the raid disk, you can set the old disk to be integrated into the raid array and then hot-add it in, let it resync (mirror the data) and you're golden. Disclaimer: I haven't done this, never tried it, and quite possibly missed some very important step, so don't hold me responsible for things totally screwing up and destroying everything :) Backup first, etc etc. However, the gist of what is above *should* work :) -- Alan <[EMAIL PROTECTED]> - http://arcterex.net -------------------------------------------------------------------- "There are only 3 real sports: bull-fighting, car racing and mountain climbing. All the others are mere games." -- Hemingway -- [EMAIL PROTECTED] mailing list
