Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 2008 09:38:56 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: RW and RO semantic and unable to umount a partition?
Message-ID:  <20081109173856.GA18430@troutmask.apl.washington.edu>
In-Reply-To: <20081109111917.GB2340@garage.freebsd.pl>
References:  <20081107192150.GA3007@troutmask.apl.washington.edu> <20081109111917.GB2340@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081109173856.GA18430>