Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 1997 18:33:05 -0800 (PST)
From:      "Jamil J. Weatherbee" <jamil@trojanhorse.ml.org>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        hackers@freebsd.org
Subject:   Re: Drive Mirroring
Message-ID:  <Pine.BSF.3.96.971128183133.889A-100000@trojanhorse.ml.org>
In-Reply-To: <199711282014.MAA21785@silvia.HIP.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
One problem with this: If the system is rebooted with only one drive it
crashes, second you cannot do a out of the box install on ccded drives so
they are pretty useless tom me for anything but data.

I actually tried the exact scenario you suggest.



On Fri, 28 Nov 1997, Satoshi Asami wrote:

>  * and dump | restore to it.  Can anyone think of a way I could maintain an
>  * entire mirrored system without ccd, perhaps some software that nightly
>  * looks at the changes on one drive and puts them over to the second without
>  * basically rewriting the whole thing.
> 
> Partition the drives as root / the rest, ccd the two "rest" partitions 
> and partition them as you wish (/var, /usr, /usr/local, etc.).  Write
> a script that does the following every night:
> 
> newfs /dev/rsd1a
> mount -o async /dev/sd1a /mnt
> cd /
> find -dx . | cpio -dump /mnt
> umount /mnt
> 
> Granted, this will leave a small window of vulnerability during the
> script is running, but if the root partition is small enough, it
> should be real quick.
> 
> Satoshi
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971128183133.889A-100000>