From owner-freebsd-geom@FreeBSD.ORG Fri Aug 18 17:58:34 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ABA216A4DA for ; Fri, 18 Aug 2006 17:58:34 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 7AE7F43D49 for ; Fri, 18 Aug 2006 17:58:20 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 79660 invoked by uid 0); 18 Aug 2006 15:04:43 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(201.17.166.110):. Processed in 0.52079 secs); 18 Aug 2006 18:04:43 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=capeta; d=freebsdbrasil.com.br; b=PeVaiKBTzcsBIIqrFdZULenaPlJKFrXCsjz6zAYbkh5RcL4WD1HEPB8vTsEWPFWALMWQxeJSQWqMYPh8cdZHX0X9g+G9mVTf8Y4G/afAMc5h5ae/VYsbePANTsJruxem ; Received: from unknown (HELO ?10.69.69.69?) (201.17.166.110) by capeta.freebsdbrasil.com.br with SMTP; 18 Aug 2006 15:04:42 -0300 Message-ID: <44E5FFB5.8030703@freebsdbrasil.com.br> Date: Fri, 18 Aug 2006 14:58:13 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051013 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Strategy to get ggated device mutually available in two systems. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 17:58:34 -0000 Hello Geom'ers, What is the ideal strategy to get ggated device mutually available in two different systems, in a combination with gmirror class? I have tried some different approaches. My original idea was to gg.export a partition and use this same partition to 1) gmirror with a second disk on the local machine and 2) gmirror with the remote disk on the remote machine. Only the second step was possible because I could not export a gmirrored partition nor I could gmirror an exported partition. Now I am thinking of associating the local partition with a ggateN device using ggatel(8), export one of those (maybe the ggate local one, maybe the real device, I dont know yet) in such a way the exported device can, somehow (virtually, via ggate local device or phisically) be used for both, ggate exported device and gmirrored device. Or, if any other strategy seems more correct, I would appreciate suggestions. In summary I want to have gmirrored enviroment in two servers with one device commom to both servers, so I can be confident that both systems will always access the same data from both machines. If I can make my goals any clearer, let me know. Thank you.