Bug 1169701 - cann't start nfs process when " /usr/sbin/glusterfs -s localhost --volfile-id gluster/nfs.." is running
Summary: cann't start nfs process when " /usr/sbin/glusterfs -s localhost --volfile-id...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: 3.4.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-02 09:02 UTC by lily
Modified: 2014-12-02 12:32 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-02 12:32:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description lily 2014-12-02 09:02:08 UTC
Description of problem:
On Red Hat Enterprise Linux Server release 6.5 (Santiago), I can not start nfs process when /usr/sbin/glusterfs is running.

Version-Release number of selected component (if applicable):
3.4.2-1

How reproducible:


Steps to Reproduce:
1./etc/init.d/nfs start
2.lsof -i:2049
3.kill the process who is using port of 2049
4.start nfs process

Actual results:
1.Starting NFS daemon: rpc.nfsd: unable to bind inet TCP socket: errno 98 (Address already in use)
2.# lsof -i:2049
COMMAND     PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
glusterfs 26965 root   12u  IPv4 50016099      0t0  TCP *:nfs (LISTEN)
3.kill sucessfully
4.start sucessfully
Starting NFS daemon:                                       [  OK  ]

Expected results:
1.start sucessfully
3.kill sucessfully
4.start sucessfully
Starting NFS daemon:                                       [  OK  ]



Additional info:

Comment 1 Niels de Vos 2014-12-02 12:32:56 UTC
This is expected behaviour. If you want to use the kernel NFS server or client on a Gluster storage server, make sure to disable the Gluster NFS server:

    # gluster volume set VOLUME nfs.disable true

You should repeat that for all volumes. New volumes can have this option set before they get started.


Note You need to log in before you can comment on or make changes to this bug.