From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 21:31:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 445CA16A4CE for ; Tue, 5 Oct 2004 21:31:36 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C9043D64 for ; Tue, 5 Oct 2004 21:31:34 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i95LVT0R073335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Oct 2004 22:31:29 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i95LVTMc073334; Tue, 5 Oct 2004 22:31:29 +0100 (BST) (envelope-from matthew) Date: Tue, 5 Oct 2004 22:31:29 +0100 From: Matthew Seaman To: "Marc G. Fournier" Message-ID: <20041005213129.GB72461@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Marc G. Fournier" , freebsd-questions@freebsd.org References: <20041005113757.L40597@ganymede.hub.org> <20041005152026.GA69207@happy-idiot-talk.infracaninophile.co.uk> <20041005151337.U64321@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: <20041005151337.U64321@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 05 Oct 2004 22:31:29 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: DRDB ... similar available for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 21:31:36 -0000 --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 05, 2004 at 03:17:54PM -0300, Marc G. Fournier wrote: > On Tue, 5 Oct 2004, Matthew Seaman wrote: >=20 > >On Tue, Oct 05, 2004 at 11:38:49AM -0300, Marc G. Fournier wrote: > >> > >>Does anyone know of anything similar to http://www.drbd.org/ that works > >>under FreeBSD? > > > >GEOM Gate by Pawel Dawidek. It comes with the system, assuming you're > >running recent 5.x or 6.0: > > > > http://lists.freebsd.org/pipermail/freebsd-current/2004-May/026768.ht= ml > > > >Man pages ggatel(8), ggatec(8), ggated(8) =20 > 'k, this looks sweet ... are there any better docs for it though? For=20 > instance, if I have two 5.x servers, and want to replicate serverA:/fs1 -= >=20 > serverB:/fs1, from what I can tell, I setup/startup ggated on serverA, an= d=20 > serverB is setup with ggatec to "pull" that data across ... correct? Now= ,=20 > how do you get serverB:/fs1 in sync with serverA:/fs1 in the first place?= =20 > Is there an 'initialize' function that will have ggatec pull everything= =20 > across? Hmmm... I think it's still a bit new for really good documentation to have been produced. It hasn't yet been included in any released version of the OS. I'm not sure it should be trusted on production servers either. There's this, which is just a rehash of the mailing list traffic with a little extra commentary: http://kerneltrap.org/node/view/3104 Even Pawel's own pages at http://garage.freebsd.pl/ are pretty bare bones and seem to me to be somewhat out of date too. There is this: http://garage.freebsd.pl/GEOM_Gate.pdf Your question about replication: essentially what the GEOM Gate stuff does is make a remote disk device apear on your system as if it was a local disk. I guess that if you want to replicate a file system between two machines, you could try layering a GEOM mirror (gmirror(8)) over the two to synchronise the bits, but I've never tried to do anything like that. Or you might be able to use vinum, now that vinum is pretty much geom-ified. However, I don't think you could achieve RW access from two different machines. RW on one, RO on the other and mirrored on both *might* be possible. You'ld probably get a better response if you asked on -hackers or -current=20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --qcHopEYAB45HaUaB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBYxKxiD657aJF7eIRAhvXAJ9x5fSNhKq8diV1ObaUubVIg76OBwCdFfRJ IUvwEj5j/lhDEtHEUYuefU0= =L+ab -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--