Page 1 of 1
NFS v4
Posted: 09 Sep 2010, 19:30
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?
Re: NFS v4
Posted: 09 Sep 2010, 19:33
by RandomUsername
What version of NFS is the Bubba running? Is NFS4 installed?
Re: NFS v4
Posted: 10 Sep 2010, 01:08
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
Re: NFS v4
Posted: 10 Sep 2010, 01:36
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