[Gluster-users] Gluster nfs mount problem

Vijay Bellur vbellur at redhat.com
Tue Sep 1 15:57:23 UTC 2015


On Tuesday 01 September 2015 07:08 PM, Nicolas Repentin wrote:
> Hello
>
> On RHEL7, I've got some problems to mount gluster volume replicated on 2
> nodes (QA1 and QA2), on nfs. I'm using glusterfs 3.6.3-1. Same thing
> with 3.7.3-1.
>
> # gluster volume info
>
> Volume Name: data-sync
> Type: Replicate
> Volume ID: 91335d2a-c60a-4631-8e9c-6809dffd66f4
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: QA1:/gluster
> Brick2: QA2:/gluster
>
>  From QA2
>
> # gluster volume status
> Status of volume: data-sync
> Gluster process                                         Port    Online  Pid
> ------------------------------------------------------------------------------
> Brick QA1:/gluster                               49152   Y       1074
> Brick QA2:/gluster                               49152   Y       1195
> NFS Server on localhost                                 N/A     N       N/A
> Self-heal Daemon on localhost                           N/A     Y       1208
> NFS Server on QA1                             N/A     N       N/A
> Self-heal Daemon on QA1                       N/A     Y       1104
>
> Task Status of Volume data-sync
> ------------------------------------------------------------------------------
> There are no active volume tasks
>
>  From QA1
>
> # gluster volume status
> Status of volume: data-sync
> Gluster process                                         Port    Online  Pid
> ------------------------------------------------------------------------------
> Brick QA1:/gluster                               49152   Y       1074
> Brick QA2:/gluster                               49152   Y       1195
> NFS Server on localhost                                 N/A     N       N/A
> Self-heal Daemon on localhost                           N/A     Y       1104
> NFS Server on QA2                N/A     N       N/A
> Self-heal Daemon on QA2          N/A     Y       1208
>
> Task Status of Volume data-sync
> ------------------------------------------------------------------------------
> There are no active volume tasks
>
>
> I always have these errors on nfs.log on glusterfs log folder:
>
> [2015-09-01 08:50:37.676474] I [MSGID: 100030] [glusterfsd.c:2018:main]
> 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.3
> (args: /usr/sbin/glusterfs -s localhost --volfile-id gluster/nfs -p
> /var/lib/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log -S
> /var/run/56acd76ce3f96e915d9d290656947449.socket)
> [2015-09-01 08:50:37.903326] I
> [rpcsvc.c:2142:rpcsvc_set_outstanding_rpc_limit] 0-rpc-service:
> Configured rpc.outstanding-rpc-limit with value 16
> [2015-09-01 08:50:37.908735] E
> [rpcsvc.c:1303:rpcsvc_program_register_portmap] 0-rpc-service: Could not
> register with portmap 100005 3 38465
> [2015-09-01 08:50:37.908765] E [nfs.c:331:nfs_init_versions] 0-nfs:
> Program  MOUNT3 registration failed
> [2015-09-01 08:50:37.908773] E [nfs.c:1342:init] 0-nfs: Failed to
> initialize protocols
> [2015-09-01 08:50:37.908780] E [xlator.c:425:xlator_init] 0-nfs-server:
> Initialization of volume 'nfs-server' failed, review your volfile again
> [2015-09-01 08:50:37.908786] E [graph.c:322:glusterfs_graph_init]
> 0-nfs-server: initializing translator failed
> [2015-09-01 08:50:37.908792] E [graph.c:525:glusterfs_graph_activate]
> 0-graph: init failed
> [2015-09-01 08:50:37.909125] W [glusterfsd.c:1194:cleanup_and_exit] (-->
> 0-: received signum (0), shutting down
>
>
> I've try some steps for starting rpcbind, no luck.
> Any ideas please?
>
>

Looks like you have the kernel nfs server active.

This might help:

http://www.gluster.org/community/documentation/index.php/Gluster_3.1:_NFS_Frequently_Asked_Questions

Regards,
Vijay



More information about the Gluster-users mailing list