You are not logged in.

#1 2013-12-22 19:33:18

enumaelis
Member
Registered: 2013-02-01
Posts: 10

[SOLVED] nfs4 hangs on the client

HI,

After having studied how to configure nfs4 on server and client, I am not able to share documents between 2 linux lapto.

Here is my exports ile on the server (ip: 192.168.0.103):

/srv/nfs4 192.168.0.101(rw,fsid=0,no_subtree_check)
/srv/nfs4/Documenti 192.168.0.101(rw,no_subtree_check,nohide)

impad.conf is the same on both machines.

Ater that i started rcè-mountd and rpc-impad  on the server and rpc-gssd on the client

I then issued as root on the client the command:

mount -t nfs4 192.168.0.103:/Documenti /media/shared_data

Here the client hangs and  I cannot find out where the problem is

uname -a on the server:

Linux emmerkar 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux

the same on the client except the kernel is 3.12.0

Thank for any help

EnumaElis

Last edited by enumaelis (2013-12-23 11:04:52)

Offline

#2 2013-12-23 01:24:24

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,424

Re: [SOLVED] nfs4 hangs on the client

It's probably the rpc-gssd, check dmesg.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2013-12-23 10:32:24

enumaelis
Member
Registered: 2013-02-01
Posts: 10

Re: [SOLVED] nfs4 hangs on the client

I checked on the client and it looks all ok:

NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_resolver legacy registered

than hangs.

nfs-utils version 1.2.9-1 on both machines

EnumaElis

Last edited by enumaelis (2013-12-23 10:37:12)

Offline

#4 2013-12-23 11:04:21

enumaelis
Member
Registered: 2013-02-01
Posts: 10

Re: [SOLVED] nfs4 hangs on the client

Solved!

I simply added on the hosts file of the client the ip and hostname of the server and so it worked.
Don't know if this is a mandatory step for nfs4 but maybe the wiki on nfs could be updated.
If it is ok i could do myself

EnumaElis

Offline

Board footer

Powered by FluxBB