From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 20:27:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5ED3B1065679 for ; Wed, 5 Nov 2008 20:27:59 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 41A568FC29 for ; Wed, 5 Nov 2008 20:27:59 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id mA5KRwpB008182 for ; Wed, 5 Nov 2008 12:27:58 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id mA5KRweC008179 for freebsd-questions@freebsd.org; Wed, 5 Nov 2008 12:27:58 -0800 (PST) (envelope-from sgk) Date: Wed, 5 Nov 2008 12:27:58 -0800 From: Steve Kargl To: freebsd-questions@freebsd.org Message-ID: <20081105202758.GA12666@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Method to mirror a single partition across the net. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 20:27:59 -0000 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