Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2008 12:27:58 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Method to mirror a single partition across the net.
Message-ID:  <20081105202758.GA12666@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
I've the Handbook's chapter on GEOM, gmirror(1), geom(8), ggated(8),
and ggatec(8), and I've search the web for a solution to the 
following issue.

I would like to mirror a single partition on system A to a 
a partition on system B.  It would appear a combination of
gmirror and ggated would work, but I haven't found any 
example on setting up two systems.

To be specific, /etc/fstab on the 2 systems is 

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad4s1b             none            swap    sw              0       0
/dev/ad4s1a             /               ufs     rw              1       1
/dev/ad4s1e             /data           ufs     rw              2       2
/dev/ad4s1d             /usr            ufs     rw              2       2

I want to mirror 192.168.0.20:/dev/ad4s1e to 192.168.0.21:/dev/ad4s1e

Anyone have a pointer to a howto or tutorial on setting this up?

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081105202758.GA12666>