I have a Mga8 server and an MGA8 client.
On the server the directory is exported. On the client it is in /etc/fstab. But when I do mount -a I get an error on the client.
buton:10.0[root]>mount /usr/local
mount.nfs: mounting indo:/local/usrlocal failed, reason given by server: No such file or directory
In /etc/fstab on the client I have
indo:/local/usrlocal /usr/local nfs nofail,rw,rsize=8192,wsize=8192,soft,bg 0 0
On the server I have
ls -ld /local/usrlocal
drwxr-xr-x 76 root root 4096 Jul 31 2020 /local/usrlocal/
so the directory certainly exists.
In /etc/exports
/local/usrlocal 154.103.234.0/26(fsid=21,no_subtree_check,rw,no_root_squash)
(and yes the client in in that net block)
In /var/log/syslog I just get
Jan 10 21:34:59 indo rpc.mountd[3987]: authenticated mount request from 154.103.234.24:735 for /local/usrlocal (/local/usrlocal)
and no other error message.
I have given one sample but all the mounts from buton and from other clients are refused in the same way
or with
access denied by the server
What could be the problem?
I have a Mga8 server and an MGA8 client.
On the server the directory is exported. On the client it is in /etc/fstab. But when I do mount -a I get an error on the client.
buton:10.0[root]>mount /usr/local
mount.nfs: mounting indo:/local/usrlocal failed, reason given by server: No such file or directory
In /etc/fstab on the client I have
indo:/local/usrlocal /usr/local nfs nofail,rw,rsize=8192,wsize=8192,soft,bg 0 0
On the server I have
ls -ld /local/usrlocal
drwxr-xr-x 76 root root 4096 Jul 31 2020 /local/usrlocal/
so the directory certainly exists.
In /etc/exports
/local/usrlocal 154.103.234.0/26(fsid=21,no_subtree_check,rw,no_root_squash)
(and yes the client in in that net block)
In /var/log/syslog I just get
Jan 10 21:34:59 indo rpc.mountd[3987]: authenticated mount request from 154.103.234.24:735 for /local/usrlocal (/local/usrlocal)
and no other error message.
I have given one sample but all the mounts from buton and from other clients are refused in the same way
or with
access denied by the server
What could be the problem?
# cat /etc/exports
# generated by drakhosts.pl
/s3/Downloads/ 192.168.10.0/24(no_all_squash,async,secure,no_subtree_check,ro)
On Fri, 13 Jan 2023 20:12:00 -0500, David W. Hodgins wrote:
# cat /etc/exports
# generated by drakhosts.pl
/s3/Downloads/ 192.168.10.0/24(no_all_squash,async,secure,no_subtree_check,ro)
Sounds like an update/feature request is in order for drakhosts.pl
FYI: You can create a /etc/exports.d directory and an exports drop in
file with just your changes/valuers, for example xx__local.exports
That way you not be impacted with a new release of /etc/exports.
According to "whois 154.103.234.0", the address is for an isp in the country Sudan.
On a lan where nfs working, I have on the server ...
# exportfs -v
point 1
point 2
/s3/Downloads 192.168.10.0/24(async,wdelay,hide,no_subtree_check,sec=sys,ro,secure,root_squash,no_all_squash)
# inxi -i|grep v4
IP v4: 192.168.10.2/24 scope: global
# cat /etc/exports
# generated by drakhosts.plo
/s3/Downloads/ 192.168.10.0/24(no_all_squash,async,secure,no_subtree_check,ro)
s
# ll -d /s3/Downloads
drwxr-xr-x 39 dave dave 12288 Jan 11 15:38 /s3/Downloads/
On the client I have ...
# grep nfs /etc/fstab
x3.hodgins.homeip.net:/s3/Downloads /mnt/Downloads nfs rsize=8192,nosuid,wsize=8192,soft 0 0
# host x3.hodgins.homeip.net
x3.hodgins.homeip.net has address 192.168.10.2
Double check the addresses, and that the filesystem containing the shared directory
is mounted before nfs tries to start.
Also make sure the firewall isn't blocking the connection.
On Fri, 13 Jan 2023 20:12:00 -0500, David W. Hodgins wrote:
# cat /etc/exports
# generated by drakhosts.pl
/s3/Downloads/ 192.168.10.0/24(no_all_squash,async,secure,no_subtree_check,ro)
Sounds like an update/feature request is in order for drakhosts.pl
FYI: You can create a /etc/exports.d directory and an exports drop inI think urpmi does not install a new /etc/exports if an old one
file with just your changes/valuers, for example xx__local.exports
That way you not be impacted with a new release of /etc/exports.
On 2023-01-14, Bit Twister <BitTwister@mouse-potato.com> wrote:
On Fri, 13 Jan 2023 20:12:00 -0500, David W. Hodgins wrote:
# cat /etc/exports
# generated by drakhosts.pl
/s3/Downloads/ 192.168.10.0/24(no_all_squash,async,secure,no_subtree_check,ro)
Sounds like an update/feature request is in order for drakhosts.pl
No such file exists on my system. although /usr/libexec/drakhosts does
and is a perl file.
On Sat, 14 Jan 2023 09:26:03 -0500, Bit Twister <BitTwister@mouse-potato.com> wrote:
On Fri, 13 Jan 2023 20:12:00 -0500, David W. Hodgins wrote:
# cat /etc/exports
# generated by drakhosts.pl
/s3/Downloads/ 192.168.10.0/24(no_all_squash,async,secure,no_subtree_check,ro)
Sounds like an update/feature request is in order for drakhosts.pl
FYI: You can create a /etc/exports.d directory and an exports drop in
file with just your changes/valuers, for example xx__local.exports
That way you not be impacted with a new release of /etc/exports.
rpm will not overwrite a modified /etc/exports. The purpose of /etc/exports.d is to make it simpler to use the /etc/exports.rpmnew file if desired.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 85:07:18 |
Calls: | 7,895 |
Calls today: | 1 |
Files: | 12,968 |
Messages: | 5,791,861 |