From owner-freebsd-geom@FreeBSD.ORG Sun Nov 9 17:38:56 2008 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAB061065670; Sun, 9 Nov 2008 17:38:56 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 857968FC0C; Sun, 9 Nov 2008 17:38:56 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id mA9HcuG3018514; Sun, 9 Nov 2008 09:38:56 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id mA9HcuYW018513; Sun, 9 Nov 2008 09:38:56 -0800 (PST) (envelope-from sgk) Date: Sun, 9 Nov 2008 09:38:56 -0800 From: Steve Kargl To: Pawel Jakub Dawidek Message-ID: <20081109173856.GA18430@troutmask.apl.washington.edu> References: <20081107192150.GA3007@troutmask.apl.washington.edu> <20081109111917.GB2340@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109111917.GB2340@garage.freebsd.pl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-geom@FreeBSD.org Subject: Re: RW and RO semantic and unable to umount a partition? 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: Sun, 09 Nov 2008 17:38:56 -0000 On Sun, Nov 09, 2008 at 12:19:17PM +0100, Pawel Jakub Dawidek wrote: > On Fri, Nov 07, 2008 at 11:21:50AM -0800, Steve Kargl wrote: > > So, I may have done something in the category of "Don't do that!". > > > > On node n19, I export /dev/ad4s1e and combine it into a mirror > > on node n18 with n18's /dev/ad4s1e. On n18 I have /dev/mirror/data, > > and I've successfully mounted /dev/mirror/data: > > > > n18:root[32] mount /dev/mirror/data /data > > > > Now, I tried the the following: > > > > On n18, I created /etc/gg.exports > > > > n18:root[33] cat /etc/gg.exports > > 192.168.0.17 RW /dev/mirror/data > > n18:root[34] ggated -v > > > > On node n17 (yes, a third system). I do > > > > n17:root[08] ggatec create -o rw 192.168.0.18 /dev/mirror/data > > > > The above command does not create /dev/ggate0. So, I tried > > Because /dev/mirror/data is already open for writting by UFS. If you > unmount /data on n18, you will be able to attach /dev/mirror/data on n17 > for writting. > Thanks for the reply. Unfortunately, my experiment with geom leads me to believe that it lacks the features that I need. My attempts at using geom with n17 has necessitated a re-install of the OS because n17 can no longer use NFS to mount filesystems without a Read/Write error. -- Steve