Added an external drive that I’ve managed to create directories and sonar downloads to those directories.
I have installed an nfs server because I want to shares those directories to another htpc connected to my tv. When I type exportfs I get /mnt/dietpi_userdata which is not the path to my directories, how do I edit the export file so it points to the correct directories?
Also I can’t establish a nfs connection from the client side, on my Mac it says I don’t have permission and on my htpc the ip adress does not show up ( only my nas shows up which also has nfs shares )
You do not need to keep the default share/export. That is just setup so that a commonly wanted directory is accessible by NFS clients OOTB. But best is to share only those directories you really want clients to have access to.
I don’t have a Mac to test. Therefore, I used a Windows box, and it was working ootb without any changes needed to be done. Not sure how MacOS is doing.
exfat, which is a linux format right, seems like people are having problems with that, guess I will try samba, one would think a linux to linux machine would work better with nfs?