RW and RO semantic and unable to umount a partition?
Steve Kargl
sgk at troutmask.apl.washington.edu
Sun Nov 9 09:38:56 PST 2008
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
More information about the freebsd-geom
mailing list