AnsweredAssumed Answered

NFS Server on Linux : How exactly ?

Question asked by deas0815 on Jul 12, 2007
Latest reply on May 29, 2009 by bmarbury
Hallo,

I'm trying to get the NFS Server to work on linux and I have read
http://wiki.alfresco.com/wiki/File_Server_Configuration#NFS_Server_Configuration.

I'm not an expert here but the situation is the following:

The alfresco NFS Server is configured in file-servers-custom.xml:


   <config evaluator="string-compare" condition="NFS Server">
          <serverEnable enabled="true"/>
<MountServerPort>1678</MountServerPort>
<NFSServerPort>12049</NFSServerPort>
<rpcAuthenticator>
  <userMappings>
    <user name="admin" uid="0" gid="0"/>
  </userMappings>
</rpcAuthenticator>
   </config>

and it seems to be up:

[root@oscar ~]# netstat -anp | egrep -i "(12049.*LISTEN)|(1678.*LISTEN)|(111.*LISTEN)"
tcp        0      0 :::1678                     :::*                        LISTEN      21332/java
tcp        0      0 :::111                      :::*                        LISTEN      1785/rpcbind
tcp        0      0 :::12049                    :::*                        LISTEN      21332/java
[root@oscar ~]# 

The native nfs services (rpc.*d) are running on this system as well, that is why
I've configured the alfresco NFS server to run on special ports.

The problem now is that I cannot mount the alfresco exports:

[root@oscar ~]# mount -o mountport=1678,port=12049 localhost:/ /mnt
mount: mount to NFS server 'localhost' failed: RPC Error: Success.
[root@oscar ~]#   

What am I missing ?

Any help is appreciated.

regards
Andreas

Outcomes