----- Original Message ----- From: "Peter Beardsley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Rich Payne" <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 5:15 PM Subject: Re: drive mirroring
> Yes, this is what I was afraid of. It sounds like there is no way to > safely mirror one drive to another without properly shutting down the > source filesystem. So if I had the source drive copy itself, it's sort of > the functional equivalent of a reboot after cutting power if I boot from > the target drive, huh? I realize if I do it this way it's a total hack but > if I shut down some services, would I be able to say with confidence that > the mirror would boot or would the result be too iffy? This is on a > production machine and I don't have the time/resources to do the proper > thing, ie install a RAID controller. > How about software RAID then? You can build your raidtab to include the current drive, and the new drive as a FAILED spare. Then do a quick reboot, and add the new drive with the raidhotadd command (or similar, I'm not at a machine to check the spelling.) It will add the new drive to the array and rebuild it while the system is live. If you build your array with the persistent superblock option, most newer kernels will recognize the drives and load the md drivers automatically at boot up, making the whole process much easier Of course as always, read the software RAID howto and the raidtools docs before proceeding. :) Rich Cloutier President, C*O SYSTEM SUPPORT SERVICES www.sysupport.com ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
