From owner-freebsd-geom@FreeBSD.ORG Tue Jan 17 20:35:33 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 32DA916A420 for ; Tue, 17 Jan 2006 20:35:33 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C737A43D5A for ; Tue, 17 Jan 2006 20:35:31 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id k0HKZKFx022022; Tue, 17 Jan 2006 21:35:25 +0100 (MET) Message-ID: <43CD5505.2040705@fer.hr> Date: Tue, 17 Jan 2006 21:35:17 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aragon Gouveia References: <20060117103633.GA89290@phat.za.net> In-Reply-To: <20060117103633.GA89290@phat.za.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gmirror using disk image files 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: Tue, 17 Jan 2006 20:35:33 -0000 Aragon Gouveia wrote: > Is it possible to have Ggated export a Vnode device from one machine, and > from the other machine import this device with Ggatec and mirror it with > another Vnode device running locally with Gmirror? You can do use mdconfig(8) to do anything geom-related with files, including mirroring them over the network. BUT, you can't mount the mirrored file system at the same time on both machines except if both mounts are read-only. Combinations such as: - mirrored devices/file systems mounted read-write on both machines - mounted read-write on one machine and read-only on the other(s) are all invalid and will sooner or later certainly result in system panic (not because of GEOM but because of the UFS). I'd tell you to try this: http://tdfs.sourceforge.net/ but it's really not production ready.