Re: [opensuse] Problem mounting nfs partition on 12.3



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

В Thu, 11 Jul 2013 14:54:52 +0200 (CEST)
"Carlos E. R." <carlos.e.r@xxxxxxxxxxxx> пишет:


So obviously, nfs4 fails. Why is the system attempting to use nfs4, then,
if the fstab entry does not say "nfs4"?

There is no "nfs4" filesystem. There is only one nfs client
implementation that supports NFS V2, V3, V4. mount.nfs and mount.nfs4
are exactly the same programs:

bor@opensuse:~> LC_ALL=C ll /sbin/mount.nfs*
- -rwsr-xr-x 1 root root 110888 Jun 18 16:49 /sbin/mount.nfs
lrwxrwxrwx 1 root root 9 Jun 21 06:12 /sbin/mount.nfs4 -> mount.nfs

with only difference (at least, in the past) being NFS protocol version
used.

Can I somehow specify nfs3?

Of course. mount -o nfsvers=3 ...

It is always good practice to specify required NFS version explicitly.
It is not the first time version and defaults change (NFS V2 => NFS
V3).

I tried to write "nfs3" in fstab, got an error that said nfs3 was invalid or
something.


Right, see above.

By default client should negotiate NFS version, depending on which one
is supported by server. So leaving explicit version will result in
different behavior depending on what client/server combination support.
As NFS V3 and NFS V4 have completely different models for sharing and
user mappings you usually cannot simply drop in NFS V4 in place of NFS
V3 and expect it to work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlHiXK4ACgkQR6LMutpd94xqtgCfU6fUfzswJHGMZy68y9oy3gpD
kyAAoIRQX7u7cs2WGe29j9W4NpqUT6LI
=sK/0
-----END PGP SIGNATURE-----


Relevant Pages

  • Re: What linux lacks most - a decent remote fs
    ... openings right and it depends on uid's matching at the client and server ... What I mostly see is every imaginable problem on different machines ... to "support" NFS, but which together are highly unreliable (especially ... the ones too old to support tcp connections). ...
    (Fedora)
  • Re: [opensuse] Problem mounting nfs partition on 12.3
    ... By default client should negotiate NFS version, ... different behavior depending on what client/server combination support. ... You see, the same server is working with versions 4 and 3, simultaneously. ...
    (SuSE)
  • Re: NFSv4 setup?
    ... recent versions of Fedora. ... that someone would respond saying that they had set up nfs server and client ... moved over to nfs4 - and then find what the problems, if any, where using ... Hopefully easier since a single port must be opened ...
    (Fedora)
  • Confused about NFS
    ... I am a bit confused about NFS in fedora/centos: ... system-config-securitylevel has a checkbox option for NFS4 which does ... little in the way of opening up firewall access to NFS. ...
    (Fedora)
  • Re: Network
    ... Win 7 support for NFS is only on the Pro ... It is possible that Win 7 ultimate or Enterprise has real NFS client ...
    (Ubuntu)