In a message dated: Mon, 10 Jun 2002 13:17:06 EDT
Rich Payne said:
>> 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.
>
>I've never had luck with copying a live filesystem.
And in contrast, I've never had a problem with it. You should be
able to:
dd if=/dev/hda of=/dev/hdb
without a problem. Time will vary and lengthen with increasingly
with large drives, and if you happen to be booted off of hda, then
things will take a little longer than if you were dd'ing hdb to hdc.
Copying a live drive will be faster if you do this in single user
mode with as few services running as possible. The more things
running, the longer it will take. Swap space also plays a part,
since you will be dd'ing the swap area which is always active and
changing.
You should be able to then remove hdb and boot anothe system off of
it. If you wish to boot this same system with both drives installed,
you'll have to run lilo to point it to the boot image on the second
drive.
Hope this helps.
--
Seeya,
Paul
----
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************