So my server is at 192.168.0.15
the client is at 192.168.0.17
(Both machines have a user called 'work')
On the server, my USB HDD auto mounts as /media/work/EXT4-4TB
I'd like to access this from the nfs client, so, on the server my /etc/exports contains:
To start the nfs server I run:
$ sudo systemctl start nfs-kernel-server.service
On the client I have an empty directory set up at /home/work/archive/
But when I try and access the share with:
$ sudo mount 192.168.0.15:/home/work/EXT4-4TB /home/work/archive/
mount.nfs: access denied by server while mounting 192.168.0.15:/home/work/EXT4-4TB
I can access other nfs shared directories on this server, but the difference seems to be that this one is over USB.
I'm thinking it's something to do with the auto-mount or permissions but am out of ideas at this point on how to fix the problem.
Help would be appreciated.