From owner-freebsd-geom@FreeBSD.ORG Fri Aug 18 13:11:06 2006 Return-Path: X-Original-To: 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 E1EDA16A55C for ; Fri, 18 Aug 2006 13:11:06 +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 E08F743D69 for ; Fri, 18 Aug 2006 13:10:51 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 26916 invoked by uid 0); 18 Aug 2006 10:17:17 -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.519609 secs); 18 Aug 2006 13:17:17 -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=WFGSGntlLuwNZ1CCxdunDjddSxa9X+lMdOUrHsri4nnClcjLAWH2f3N1tZUtp5BKJ6quuNcN/B732XVmguNgxtlKVXFbnaaQPkot4rDtbgEGqA7UGkPUffVMglOA1x2H ; Received: from unknown (HELO ?10.69.69.69?) (201.17.166.110) by capeta.freebsdbrasil.com.br with SMTP; 18 Aug 2006 10:17:16 -0300 Message-ID: <44E5BC56.5040200@freebsdbrasil.com.br> Date: Fri, 18 Aug 2006 10:10:46 -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: geom@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 13:11:07 -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.