[Gluster-users] Gluster-users Digest, Vol 32, Issue 45
anthony garnier
sokar6012 at hotmail.com
Fri Dec 17 08:06:28 UTC 2010
George,
There is no problem by using the -o bind option to mount subdirectory, I'm currently using this and it works well.
This is what I'm doing :
mount -t glusterfs ylal3020:/athena /users/glusterfs_mnt
mount -o bind /users/glusterfs_mnt/test /otherlocation
or you can mount it a the same location :
mount -o bind /users/glusterfs_mnt/test /users/glusterfs_mnt
in one line :
mount -o bind `mount -t glusterfs ylal3020:/athena /users/glusterfs_mnt`/users/glusterfs_mnt/test /users/glusterfs_mnt
Regards,
Garnier Anthony
> Message: 4
> Date: Thu, 16 Dec 2010 14:27:47 -0500
> From: "George L. Emigh" <george.emigh at dialecticnet.com>
> Subject: Re: [Gluster-users] Problem mounting Gluster 3.1 with NFS
> To: gluster-users at gluster.org
> Message-ID: <201012161427.48025.george.emigh at dialecticnet.com>
> Content-Type: Text/Plain; charset="iso-8859-1"
>
> Since I was interested in mounting a subdirectory of the volume as well I
> thought I would ask if there would be any problem using mount -o bind to mount
> the volume subdirectories in the desired locations after mounting the volume
> in a generic location?
>
> On Thursday December 16 2010, Christian Fischer wrote:
> > On Friday 10 December 2010 16:58:03 Jacob Shucart wrote:
> > > Hello,
> > >
> > > Gluster 3.1.1 does not support mounting a subdirectory of the volume.
> > > This is going to be changed in the next release. For now, you could
> > > mount 192.168.1.88:/raid, but not /raid/nfstest.
> >
> > What is the 'next release' from your point of view?
> > 3.1.2qa2 does not support mounting a subdirectory.
> >
> > Christian
> >
> > > -Jacob
> > >
> > > -----Original Message-----
> > > From: gluster-users-bounces at gluster.org
> > > [mailto:gluster-users-bounces at gluster.org] On Behalf Of Joe Landman
> > > Sent: Friday, December 10, 2010 7:45 AM
> > > To: gluster-users at gluster.org
> > > Subject: Re: [Gluster-users] Problem mounting Gluster 3.1 with NFS
> > >
> > > On 12/10/2010 10:42 AM, Thomas Riske wrote:
> > > > Hello,
> > > >
> > > > I tried to NFS-mount a gluster-volume using the "normal NFS-way" with
> > > > the directory-path:
> > > >
> > > > mount -t nfs 192.168.1.88:/raid/nfstest /mnt/testmount
> > > >
> > > > This gives me only the following error message:
> > > >
> > > > mount.nfs: mounting 192.168.1.88:/raid/nfstest failed, reason given
> > > > by server: No such file or directory
> > >
> > > [...]
> > >
> > > > Is this a bug in gluster, or am I missing something here?
> > > >
> > > > Mounting the Gluster-volume with the volume-name over NFS works...
> > > > (mount -t nfs 192.168.1.88:/test-nfs /mnt/testmount)
> > >
> > > If you created the volume with a name of test-nfs, then thats what
> > > should show up in your exports
> > >
> > > showmount -e 192.168.1.88
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
> --
> George L. Emigh
>
>
> ------------------------------
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
>
> End of Gluster-users Digest, Vol 32, Issue 45
> *********************************************
More information about the Gluster-users
mailing list