William Unruh
2023-08-12 17:57:42 UTC
(all names and addresses have been altered, but the form is the same.)
I am trying to mount a directory from Serv to Client
On Cient I have in /etc/fstab
Serv:/local/ /local1 nfs4 rw,rsize=8192,wsize=8192 0 0
and /local1 exists as an empty directory.
On Serv, I have
/local 142.103.222.0/26(fsid=21,no_subtree_check,rw,no_root_squash)
in /etc/exports
where the address of Client is 142.103.222.11
and I ran exportfs -s
The directory /local exists on Serv.
ls -dl /local
drwxrwxr-x 22 root root 4096 Sep 18 2022 /local/
But when I type
mount /local1
on Client as root I get
mount.nfs4: mounting Serv:/local/ failed, reason given by server: No such file or directory
I cannot find anything in any of the /var/log files which gives me a clue
as to what could be going on here.
If on Client I change the entry to
Serv:/local/ /local1 nfs4 rw,rsize=8192,wsize=8192,vers=3 0 0
I then get an entry in journalctl of
Serv rpc.mountd[775]: authenticated mount request from 142.103.222.11:958 for /local/unruhhome (/local/unruhhome)
But now the error message on Clinet is
mount.nfs: access denied by server while mounting Serv:/local/
Ie, nfs seems to be all F up, but I cannot figure out why.
I am trying to mount a directory from Serv to Client
On Cient I have in /etc/fstab
Serv:/local/ /local1 nfs4 rw,rsize=8192,wsize=8192 0 0
and /local1 exists as an empty directory.
On Serv, I have
/local 142.103.222.0/26(fsid=21,no_subtree_check,rw,no_root_squash)
in /etc/exports
where the address of Client is 142.103.222.11
and I ran exportfs -s
The directory /local exists on Serv.
ls -dl /local
drwxrwxr-x 22 root root 4096 Sep 18 2022 /local/
But when I type
mount /local1
on Client as root I get
mount.nfs4: mounting Serv:/local/ failed, reason given by server: No such file or directory
I cannot find anything in any of the /var/log files which gives me a clue
as to what could be going on here.
If on Client I change the entry to
Serv:/local/ /local1 nfs4 rw,rsize=8192,wsize=8192,vers=3 0 0
I then get an entry in journalctl of
Serv rpc.mountd[775]: authenticated mount request from 142.103.222.11:958 for /local/unruhhome (/local/unruhhome)
But now the error message on Clinet is
mount.nfs: access denied by server while mounting Serv:/local/
Ie, nfs seems to be all F up, but I cannot figure out why.