[Gluster-users] Announcement: Alpha Release of Native NFS for GlusterFS

Shehjar Tikoo shehjart at gluster.com
Fri Mar 19 08:33:44 UTC 2010


----- "hgichon" <hgichon at gmail.com> wrote:

> wow good news!
> thanks.
> 
> I was installed source.
> but mount failed.
> 
> my config is wrong?
> 
> - kpkim
> 
> root at ccc1:/usr/local/etc/glusterfs# mount -t glusterfs
> /usr/local/etc/glusterfs/nfs.vol /ABCD -o loglevel=DEBUG
Hi

The volfile containing the nfs/server translator 
needs to be started using the glusterfsd command, just like
starting up the glusterfs server, not using the mount command.

Exporting a GlusterFS volume as a NFS export does not require 
the volume to be mounted using the mount command.

Thanks
-Shehjar

> Volume 'nfs-server', line 60: type 'nfs/server' is not valid or not
> found on this machine
> error in parsing volume file /usr/local/etc/glusterfs/nfs.vol
> exiting
> root at ccc1:/usr/local/etc/glusterfs#
> 
> [pid  4270]
> open("/usr/local/lib/glusterfs/nfsalpha1/xlator/nfs/server.so",
> O_RDONLY) = 7
> [pid  4270] read(7,
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\337\0\0\0\0\0\0"...,
> 832) = 832
> [pid  4270] fstat(7, {st_mode=S_IFREG|0755, st_size=781248, ...}) = 0
> [pid  4270] mmap(NULL, 2337392, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7f4be41bc000
> 
> my config
> -----------------------------------------------------------------------------------------
> root at ccc1:/usr/local/etc/glusterfs# cat glusterfsd.vol
> ## file auto generated by /usr/local/bin/glusterfs-volgen
> (export.vol)
> # Cmd line:
> # $ /usr/local/bin/glusterfs-volgen -n NAS 192.168.1.127:/export
> 192.168.1.128:/export --nfs --cifs
> 
> volume posix1
>    type storage/posix
>    option directory /export
> end-volume
> 
> volume locks1
>      type features/locks
>      subvolumes posix1
> end-volume
> 
> volume brick1
>      type performance/io-threads
>      option thread-count 8
>      subvolumes locks1
> end-volume
> 
> volume server-tcp
>      type protocol/server
>      option transport-type tcp
>      option auth.addr.brick1.allow *
>      option transport.socket.listen-port 6996
>      option transport.socket.nodelay on
>      subvolumes brick1
> end-volume
> -----------------------------------------------------------------------------------------
> root at ccc1:/usr/local/etc/glusterfs# cat nfs.vol
> ## file auto generated by /usr/local/bin/glusterfs-volgen
> (export.vol)
> # Cmd line:
> # $ /usr/local/bin/glusterfs-volgen -n NAS 192.168.1.127:/export
> 192.168.1.128:/export --nfs --cifs
> 
> volume 192.168.1.128-1
>      type protocol/client
>      option transport-type tcp
>      option remote-host 192.168.1.128
>      option transport.socket.nodelay on
>      option transport.remote-port 6996
>      option remote-subvolume brick1
> end-volume
> 
> volume 192.168.1.127-1
>      type protocol/client
>      option transport-type tcp
>      option remote-host 192.168.1.127
>      option transport.socket.nodelay on
>      option transport.remote-port 6996
>      option remote-subvolume brick1
> end-volume
> 
> volume distribute
>      type cluster/distribute
>      subvolumes 192.168.1.127-1 192.168.1.128-1
> end-volume
> 
> #volume writebehind
> #    type performance/write-behind
> #    option cache-size 4MB
> #    subvolumes distribute
> #end-volume
> 
> #volume readahead
> #    type performance/read-ahead
> #    option page-count 4
> #    subvolumes writebehind
> #end-volume
> 
> volume iocache
>      type performance/io-cache
>      option cache-size 128MB
>      option cache-timeout 1
>      subvolumes distribute
> end-volume
> 
> #volume quickread
> #    type performance/quick-read
> #    option cache-timeout 1
> #    option max-file-size 64kB
> #    subvolumes iocache
> #end-volume
> 
> #volume statprefetch
> #    type performance/stat-prefetch
> #    subvolumes quickread
> #end-volume
> 
> volume nfs-server
>          type nfs/server
>          subvolumes iocache
>          option rpc-auth.addr.allow *
> end-volume
> 
> 
> 
> Tejas N. Bhise wrote:
> > Dear Community Users,
> > 
> > Gluster is happy to announce the ALPHA release of the native NFS
> Server.
> > The native NFS server is implemented as an NFS Translator and hence
> > integrates very well, the NFS protocol on one side and GlusterFS
> protocol
> > on the other side.
> > 
> > This is an important step in our strategy to extend the benefits of
> > Gluster to other operating system which can benefit from a better
> NFS
> > based data service, while enjoying all the backend smarts that
> Gluster
> > provides.
> > 
> > The new NFS Server also strongly supports our efforts towards
> > becoming a virtualization storage of choice.
> > 
> > The release notes of the NFS ALPHA Release are available at -
> > 
> >
> http://ftp.gluster.com/pub/gluster/glusterfs/qa-releases/nfs-alpha/GlusterFS_NFS_Alpha_Release_Notes.pdf
> > 
> > The Release notes describe where RPMs and source code can be
> obtained
> > and where bugs found in this ALPHA release can be filed. Some
> examples 
> > on usage are also provided.
> > 
> > Please be aware that this is an ALPHA release and in no way should
> be
> > used in production. Gluster is not responsible for any loss of data
> > or service resulting from the use of this ALPHA NFS Release.
> > 
> > Feel free to send feedback, comments and questions to:
> nfs-alpha at gluster.com
> > 
> > Regards,
> > Tejas Bhise.
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list