Re: Disk mirroring
> Hi,
>
> I'd like to mirror the harddisk of my running system to another disk.
> What is the best route to do it? What I have in mind is to mount the
> second disk under /mnt and then copy all the files into it. Can rsync
do
> it? Of course, I'd like to do it periodically; every night at 11:59,
for
> example.
You might look into the kernel software RAID if you're running kernel
2.4.x. It supports RAID-1, which is mirroring. Although mounting a
disk and doing a manual copy would work, in the event your system disk
fails you'd be stuck with an unbootable system. With a RAID, you can
failover to the second disk and continue running while you work on
replacing the failed disk, then resync everything automatically.
--
Evan Day <evan.day@home.com>
GPG: 1024D/237C1C84 FP: 1615 E312 A6D1 542B C4A6 38B5 69B1 2844 237C
1C84
"My bologna has first name, it's H-O-M-E-R..."
Reply to: