Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

NFS v4

Got problems with your B2 or B3? Share and get helped!
Post Reply
ovemh
Posts: 5
Joined: 04 Mar 2010, 16:39

NFS v4

Post by ovemh »

I try to use my B2 as a nfs server with the NFSv4-protocol. I have everything installed but my client wont connect:

Code: Select all

sudo mount -t nfs4 192.168.my.bubba: /home/client/bubba
mount.nfs4: Protocol not supported
The same command works fine when i mount my client to a different machine, so the problem seems to be at bubba.

By running rpcinfo at bubba i get the output;

Code: Select all

bubba:/sbin#  rpcinfo -p localhost | grep -i nfs
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs

From a different machine, this is the output:

Code: Select all

user@server:/sbin$ rpcinfo -p localhost | grep -i nfs
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
As you can see: The version 4 -protocol are not included in the Bubba export.. I have searched everywhere around the internet, but cant find any proper solution,.. Any recommended solutions?
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: NFS v4

Post by RandomUsername »

What version of NFS is the Bubba running? Is NFS4 installed?
ovemh
Posts: 5
Joined: 04 Mar 2010, 16:39

Re: NFS v4

Post by ovemh »

At the Bubba I get following output

Code: Select all

bubba:/sbin# yum --version nfs
Warning, could not load sqlite, falling back to pickle
2.4.0
So I suppose it is 2.4.0

At the other machine/server which also runs as server with NFSv4 running automatically i get:
user@server:/sbin$ sudo yum --version nfs
3.2.25
My client connects to the other machine/server with no problems. Well I had a newly total reinstalation ad lots of sudo-apt get updates at the Bubba. Actually I reinstalled the two of them simultaneously. Is it my repository at Bubba who is outdated? The other machine/server is running Ubuntu...

My repository in Bubba is:
bubba:/sbin# cat /etc/apt/sources.list
# BUBBA|TWO apt sources.list
#
# Changes in this file might break your system
#
# vim: ft=debsources

# The stable BUBBA|TWO repository, is in the suite "stable".
deb http://update.excito.org/ marielle main

# The stable BUBBA|TWO repository, is in the suite "stable". source packages
deb-src http://update.excito.org/ marielle main

# The upstream packages used in BUBBA|TWO, is in the suite "upstream_stable".
deb http://update.excito.org/ upstream_etch main

# The upstream packages used in BUBBA|TWO, is in the suite "upstream_stable". source packages
deb-src http://update.excito.org/ upstream_etch main

# The debian etch repository containing unsupported packages that can be used.
deb http://archive.debian.org/debian etch main

#The debian etch repository containing unsupported packages that can be used. source packages
deb-src http://ftp.se.debian.org/debian etch main

# The debian etch repository containing unsupported packages that can be used.
#deb http://ftp.se.debian.org/debian etch contrib

# The debian etch repository containing unsupported packages that can be used. source packages
#deb-src http://ftp.se.debian.org/debian etch contrib

# The debian etch repository containing unsupported packages that can be used.
#deb http://ftp.se.debian.org/debian etch non-free

# The debian etch repository containing unsupported packages that can be used. source packages
#deb-src http://ftp.se.debian.org/debian etch non-free

# The unstable BUBBA|TWO repository, is in the suite "unstable".
deb http://update.excito.org/ claire main

# The unstable BUBBA|TWO repository, is in the suite "unstable". source packages
deb-src http://update.excito.org/ claire main

# The upstream packages used in unstable BUBBA|TWO, is in the suite "upstream_stable_forclaire".
deb http://update.excito.org/ upstream_etch_forclaire main

# The upstream packages used in unstable BUBBA|TWO, is in the suite "upstream_stable_forclaire". source packages
deb-src http://update.excito.org/ upstream_etch_forclaire main
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: NFS v4

Post by RandomUsername »

Using yum on a debian system? That's novel.

Anyway, I haven't used NFS for a long time, but is not your problem that you're specifying NFS4 in your mount command when the Bubba doesn't have it installed? Try it with just NFS, e.g.

Code: Select all

mount -t nfs 192.168.my.bubba: /home/client/bubba
Post Reply