This has been an enormous pain for me. It's a seemingly simple issue and I hate to even make a thread about it, but nothing I'm trying is working and at this point I'm starting to wonder if my problem is even in exports or if it's something else.
Basically I just want a couple directories on my home server to be accessible when mounted via NFS on my Linux laptop. I did this with zero trouble when I was running CentOS, but I've had no luck at all on FreeBSD and I'm hoping someone can point out what I'm doing wrong. I *think* it's because /etc/exports is formatted differently on FreeBSD and there aren't many clear sample files available online for me to adapt. But it could be something else entirely.
my /etc/exports:
I've got four lines in here right now, mostly just because I was trying different formats and hoping one of them would work. All I really need is to be able to mount one of these directories as rw on a remote system via nfs. Restricting to specific IPs or subnets would be nice, but not as important as just mounting successfully at all. All directories in the exports file have permissions of 0775. There is no firewall active on the server, and when attempting to mount the nfs share on the remote system it times out. /var/log/messages says 'bad exports list line' for each entry when starting server. nfsd is running.
So, what do I need to do differently here? Do I need to provide any further information that I missed?
Basically I just want a couple directories on my home server to be accessible when mounted via NFS on my Linux laptop. I did this with zero trouble when I was running CentOS, but I've had no luck at all on FreeBSD and I'm hoping someone can point out what I'm doing wrong. I *think* it's because /etc/exports is formatted differently on FreeBSD and there aren't many clear sample files available online for me to adapt. But it could be something else entirely.
my /etc/exports:
Code:
/data/shared -rw
/data/autoadd -rw -network 192.168.0/24
/data/misc -ro
/data -network 192.168.1.0 -mask 255.255.240.0
I've got four lines in here right now, mostly just because I was trying different formats and hoping one of them would work. All I really need is to be able to mount one of these directories as rw on a remote system via nfs. Restricting to specific IPs or subnets would be nice, but not as important as just mounting successfully at all. All directories in the exports file have permissions of 0775. There is no firewall active on the server, and when attempting to mount the nfs share on the remote system it times out. /var/log/messages says 'bad exports list line' for each entry when starting server. nfsd is running.
So, what do I need to do differently here? Do I need to provide any further information that I missed?