Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2017 17:51:43 +0200
From:      Alnis Morics <alnis.moritz@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   NFS: "bad exports list line /home/alnis"
Message-ID:  <a19d0eb3-23fd-1356-e4fc-44521fe2c06b@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to set up a very basic NFS share on 11.0-RELEASE-p7 but I 
can't get beyond the error message "bad exports list line /home/alnis".

My /etc/exports file only has one line:
/home/alnis 10.0.0.5(rw)

showmount -e
Exports list on localhost:
<nothing follows>

/etc/rc.conf:
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_enable="YES"

I tried to change syntax of the exports file (putting the whole subnet 
instead of one address, putting hostnames instead of addresses and 
adding them to /etc/hosts, putting flags, such as -rw or -ro 
-maproot=nobody before those hostnames); also tried to share a separate 
filesystem, but nothing helped. So very basic configuration, and still 
doesn't work. Any ideas?

Thanks,
-Alnis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a19d0eb3-23fd-1356-e4fc-44521fe2c06b>