what version of NFS do I have?!

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
I can't figure out what version of NFS I have on my CentOS machine. The package nfs-utils shows 1.0.9-16.el5 as the version, but shouldn't NFS be either version 3 or version 4?

I'm having problems connecting to my nfs v3 exports on an Ubuntu machine. I've had no problem connecting NFS between Ubuntu and Debian machines (always using v3, haven't messed with the new v4 yet), but this machine must have Redhat (or a clone) due to software compatibility.

So, I'm wondering if my problem is from some sort of version mismatch, but I can't figure out what version of NFS is being used on CentOS 5.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I believe nfs3 is the default so unless you've specified nfs4 somewhere you should be using 3.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman
I believe nfs3 is the default so unless you've specified nfs4 somewhere you should be using 3.

That is the case in the Debian world. In Redhat/CentOS though, there is only one package. If it was NFS 3 I would think it would work fine with NFS 3 on Ubuntu, but it doesn't (I get locking errors, I try to create a file and it's there, then it dissappears, weird stuff). I basically took the exact configuration from fstab on my Debian box and copyed it to the CentOS box, but no good.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Well I just installed CentOS5 in VMWare and successfully mounted an NFS export from a Debian etch machine without any issues. And nfsstat on the CentOS5 client only reports stats for nfs3.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: BladeVenom
I have NFS:Carbon, but I prefer GTR2.:)

¿Que?

Originally posted by: Nothinman
Well I just installed CentOS5 in VMWare and successfully mounted an NFS export from a Debian etch machine without any issues. And nfsstat on the CentOS5 client only reports stats for nfs3.
nfsstat... I guess that is what I was looking for. My issue could just be with accessing an NFS mount through a Samba share. It works fine (accessing NFS mount thru Samba share) on a Debian file server.

I would like to access files from different servers all through our main Samba file server, but maybe I will have to find some other way...
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0

Need For Speed.

nfsstat... I guess that is what I was looking for. My issue could just be with accessing an NFS mount through a Samba share. It works fine (accessing NFS mount thru Samba share) on a Debian file server.


Wait? You're exporting a locally mounted Samba share via NFS? That doesn't seem like a good idea at all.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman

Need For Speed.

nfsstat... I guess that is what I was looking for. My issue could just be with accessing an NFS mount through a Samba share. It works fine (accessing NFS mount thru Samba share) on a Debian file server.


Wait? You're exporting a locally mounted Samba share via NFS? That doesn't seem like a good idea at all.

no, the other way around. I'm sharing a locally mounted NFS export via Samba. I know it sounds flaky, but it has worked fine on our Debian Samba server.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman
Why not just share the directory via Samba from the NFS server?

Mostly to only have to maintain the Samba configuration in one place. Plus it was convenient to be able to go to one place and have all the files I need access too (I was exporting things like the files from our ftp server and our webserver).

If I can't get this to work though, I probably won't access the server with Samba; I'll probably use SCP instead (every server gets openssh-server anyway).