> Is there a document with instructions for this? > I've had smartd warnings that a hard disk in my server is sick, > so I am installing a new drive (in addition to the old).Not to hijack a thread but on a similiar note. I have a Centos 4.x server with a 500G sata drive working fine except for disk I/O issues at peak times. I have copied it to a new drive before using 'dd if=/dev/sda of=/dev/sdb bs=16384' in middle of night offline. I did that in past because 'smartctl -a /dev/sda' did not work on the old drive. Is there a way to copy it to a hardware RAID 1 array of two drives in a similiar way? If so what not too expensive 2 port hardware raid controller do you reccommend and how do you do it? Thanks. Matt
> Is there a way to copy it to a hardware RAID 1 array of two > drives in a similiar way?The same way? The underlying OS knows nothing of the physical geometry behind a hardware raid controller. Find out what dev it is, sd? and do what you did, so long as it's exactly the same size or bigger.> If so what not too expensive 2 port >hardware raid controller do you reccommend and how do you do it?2 port? never seen one, but I like LSI's... jlc
On Wednesday, September 29, 2010 12:13:52 pm Matt wrote:> Is there a way to copy it to a hardware RAID 1 array of two > drives in a similiar way? If so what not too expensive 2 port > hardware raid controller do you reccommend and how do you do it?3ware 9500S; can be had used and NOS (New Old Stock) on eBay cheap, and has great Linux support. Performance isn't stellar, but is adequate. I'm looking right now at a 'buy it now' on an 8 port for $59 free shipping. I see an older 8006-2LP (used) with a starting bid of $9.99. I am using one I got a couple of years ago NOS off eBay; it's the 4 port 9500S, and it has been in production for two years at this point. You can clone the single drive to a RAID logical drive just as if the RAID was a single drive. You just need to make sure the 3ware's drivers are in your initrd; either put the module there before the clone or using a live boot CD.