Unable to add NFS share

balanga

Patron
Joined
Jul 10, 2014
Messages
271
I am unable to add an NFS share to my FreeNAS box.

Here is my exports list:-
Code:
root@S07:/# showmount -e 192.168.1.2
Exports list on 192.168.1.2:
/mnt/nas/tftproot                  Everyone
/mnt/nas/Web-Server/usr/src        Everyone
/mnt/nas/FreeBSD-TEST              Everyone
/mnt/nas                           Everyone


This is a home server so security is not a concern.

I want to add /mnt/nas/nfsroot as an NFS share. When I try and do so I get:-

  • The network 0.0.0.0/0 is already being shared and cannot be used twice for the same filesystem

I don't know what this means and how to get round it.

Any help would be appreciated. I'm interested in my FreeNAS box facilitating network booting for FreeBSD.
 
D

dlavigne

Guest
0.0.0.0/0 is a wildcard representing all networks. Remove that and add the one you want.
 

balanga

Patron
Joined
Jul 10, 2014
Messages
271
I don't have any authorisation on any others shares, and whatever range I enter I get

already being shared and cannot be used twice for the same filesystem
 

balanga

Patron
Joined
Jul 10, 2014
Messages
271
Following an upgrade - I'm now on FreeNAS-11.2-U2.1, I'm still unable to add an NFS share. Everytime I try to add anything I get:
You can't share same filesystem with all hosts twice. This is so because /etc/exports does not act like ACL and it is undefined which rule among all overlapping networks will be applied.

cat /etc/exports:-
V4: / -sec=sys
/mnt/nas -alldirs -mapall="root"
/mnt/nas/tftproot -alldirs -mapall="root"
/mnt/nas/Web-Server/usr/src -maproot="nobody":"nogroup"
/mnt/nas/FreeBSD-TEST -alldirs
/mnt/nas/FreeBSD2
/mnt/nas/Virgin
 
Top