From owner-freebsd-geom@FreeBSD.ORG Fri Aug 18 20:55:14 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 21F7F16A4DA for ; Fri, 18 Aug 2006 20:55:14 +0000 (UTC) (envelope-from jmelo@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 E76DD43D55 for ; Fri, 18 Aug 2006 20:55:12 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 12779 invoked by uid 0); 18 Aug 2006 18:01:36 -0300 Received: from jmelo@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.554079 secs); 18 Aug 2006 21:01:36 -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=Nv+Q+79shg2Fb4bH6i517JXgeh05rILnIaFchdQfM0J7SvfGvJZkPW8lVsOH8eeIygoa0RCaM4eFrvqjnD9A6XqUA7ORpEKOywYwlpuoiJRhjpbkUxEOVprLLNl385oR ; Received: from unknown (HELO ?10.69.69.2?) (201.17.166.110) by capeta.freebsdbrasil.com.br with SMTP; 18 Aug 2006 18:01:35 -0300 Message-ID: <44E62A7A.40708@freebsdbrasil.com.br> Date: Fri, 18 Aug 2006 18:00:42 -0300 From: Jean Milanez Melo User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050614) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-geom@freebsd.org X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; 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 20:55:14 -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. Jean