Sujet : Re: Here's One - NFS - Mounting Over Share = Nada
De : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.miscDate : 02. Apr 2025, 13:15:11
Autres entêtes
Message-ID : <fbmvblxbun.ln2@Telcontar.valinor>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 2025-04-02 13:40, vallor wrote:
On Wed, 2 Apr 2025 13:14:44 +0200, "Carlos E.R." <robin_listas@es.invalid>
wrote in <4qivblx7ff.ln2@Telcontar.valinor>:
...
Reminds me of something. How does one know what version is actually
used?
use "mount | grep mountpoint", the version will be in there as "vers=",
and also the type, e.g.:
Nope, empty output.
Telcontar:~ # mount | grep mountpoint
Telcontar:~ # mount | grep hoard
systemd-1 on /mnt/nfs/Isengard/hoard_1 type autofs (rw,relatime,fd=60,pgrp=1,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=14617)
Isengard.valinor:/data/hoard_1 on /mnt/nfs/Isengard/hoard_1 type nfs4 (rw,nosuid,nodev,noexec,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.14,local_lock=none,addr=192.168.1.16,_netdev,user)
Ah, you mean replace mountpoint with the actual mountpoint :-)
$ mount | grep /nfs/ds
192.168.23.12:/volume1/ds on /nfs/ds type nfs4
(rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,
hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.23.254,
local_lock=none,addr=192.168.23.12)
(I've wrapped the line for posting on Usenet.)
Bah, I disable line wrap. This is the XXI :-)
Ok, so the client shows the version. How about the server?
What I do, is use some option that is only valid on version 4, so I force version 4.
-- Cheers, Carlos.