Help needed with NFS

User avatar
t800
Posts: 25
Joined: Wed Dec 01, 2010 6:40 am
Location: UK
Contact:

Help needed with NFS

Postby t800 » Wed Dec 01, 2010 8:10 am

Hi, I've install Amahi as per standard installation. I have SuSE64 11.3 on my main machine and I'm trying to get NFS shares working from Amahi. The problem is the NFS client setup hangs on suse, this has worked fine with other NFS servers. Which leads me to believe I missed something in the Amahi NFS server setup.

Currently the error on suse on the NFS client setup is "Unable to mount share in fstab", which is 'hda.skynet:/home/steve/Public /home/test nfs defaults 0 0' .
I tested the addressing with 'smb://hda.skynet/Music' which appeared to fine. So this is what I did to arrive at this error, perhaps you spot what I missed (please it driving me nuts :twisted: )

On amahi (borrowed from forum article ). Here I'm working from my suse box and ssh to Amahi, I wanted joe as my editor and setup the NFS as server...

Code: Select all

steve@suse64:~/Desktop> ssh root@hda.skynet [root@skynet ~]# yum install joe [root@skynet ~]# joe /etc/exports
in /etc/exports I've added some test lines..

Code: Select all

/var/hda/files/music/ *(rw,no_root_squash) /home/steve/Public *(rw,no_root_squash)
Then I cranked up the NFS service..

Code: Select all

[root@skynet ~]# chkconfig nfs --level 2345 on [root@skynet ~]# service nfs restart
Went to the Services screen and checked NFS service is running ok. So far so good.
On the machine I went to Yast/NFS Client and removed the old links and added 'hda.skynet', '/home/steve/Public' to mount point '/home/test', okay. Suse hangs for a long time and bugs out. If I restart the NFS client I get this message...
suse64:/home/steve/Desktop # rcnfs restart
Shutting down NFS client services: idmapd done
Starting NFS client services: sm-notify idmapd done

Message from syslogd@suse64 at Dec 1 15:02:12 ...

Code: Select all

kernel:[ 3964.283848] last sysfs file: /sys/devices/virtual/bdi/0:19/uevent suse64:/home/steve/Desktop # Message from syslogd@suse64 at Dec 1 15:02:12 ... kernel:[ 3964.284026] Stack: Message from syslogd@suse64 at Dec 1 15:02:12 ... kernel:[ 3964.284050] Call Trace: Message from syslogd@suse64 at Dec 1 15:02:12 ... kernel:[ 3964.284054] Inexact backtrace: Message from syslogd@suse64 at Dec 1 15:02:12 ... kernel:[ 3964.284056] Message from syslogd@suse64 at Dec 1 15:02:12 ... kernel:[ 3964.284208] Code: Bad RIP value. Message from syslogd@suse64 at Dec 1 15:02:12 ... kernel:[ 3964.284223] CR2: 0000000000000000
I then changed the RIP version from "4 and 6", to 4 only, and I set NFS version back to 4 only... still cant get Suse to see the NFS shares on Amahi. I've tested the Suse client on with other machines and its working, the only thing thats changed is using Amahi as the NFS and DCHP server. And yes the firewalls are off and there all on the same router. Any ideas please before I'm force to abandon this?
"All answers have been checked and rechecked to be highly questionable" :)
ZX81, wobbly 16mb RAM, 4mhz CPU, Bluetac and a dead skin keyboard

jackpal
Posts: 4
Joined: Sun Nov 28, 2010 9:22 am

Re: Help needed with NFS

Postby jackpal » Thu Dec 02, 2010 8:45 am

Well its been awhile since I used Suse but its possbile that you need the portmap service started along with NFS. In my experience it would appear to hang on the client if I tried to connect and portmap was not running.

I am not sure now but portmap may not be needed anymore with nfsv4 but maybe its worth a look and see if you can start it if it exists on your client.

User avatar
t800
Posts: 25
Joined: Wed Dec 01, 2010 6:40 am
Location: UK
Contact:

Re: Help needed with NFS

Postby t800 » Thu Dec 02, 2010 5:13 pm

Thanks for the surgestion, its seems v2 and 3 differ with portmap on nfs v4. Thus the reason why I can see the share, but not mount the share. Amahi isn't running right now and the registration web is being unkind. But if I solve it I will publish it here. Thanks again. Now its time to disappear back in to the Amahi datastorm... I may be some time :)
"All answers have been checked and rechecked to be highly questionable" :)
ZX81, wobbly 16mb RAM, 4mhz CPU, Bluetac and a dead skin keyboard

User avatar
t800
Posts: 25
Joined: Wed Dec 01, 2010 6:40 am
Location: UK
Contact:

Re: Help needed with NFS

Postby t800 » Thu Dec 09, 2010 6:08 am

Still not a chance to test but some thing came up in the SuSE 11.3 bug fixes that may provide a clue as to what is going on.

Code: Select all

This update is important as it may solve critical problems. This update fixes remounting of NFS v3 filesystems (bnc#647292). For more information about bugs fixed by this update please visit this website: • https://bugzilla.novell.com/show_bug.cgi?id=647292.
Shall keep you posted on any progress
"All answers have been checked and rechecked to be highly questionable" :)
ZX81, wobbly 16mb RAM, 4mhz CPU, Bluetac and a dead skin keyboard

Who is online

Users browsing this forum: No registered users and 19 guests