ThyWhiteHawk
Dabbler
- Joined
- Jan 5, 2018
- Messages
- 11
Hi,
I'm attempting to migrate my Linux file server over to FreeNAS. The nodes on the network use NFS to mount all shares - well, the whole house runs Linux (and soon FreeNAS of course), so why choose anything else ;-)
Anyway, I'm struggling to export a share to the entire network RO, but at the same time to particular nodes as RW, as I have set up on my Linux box. I've been Googling for a while, but the only thing I've found is an unsolved post in this forum:
( https://forums.freenas.org/index.php?threads/share-nfs-rw-to-one-host-but-ro-to-all-others.50883/ )
The reason that I want to share this to the entire network is so that any of the media players, or indeed any device can access it, without me having to explicitly list an IP address.
My Linux box's /etc/exports looks like this (only relevant lines shown)
In the FreeNAS GUI, I set up the RO share, and the resultant /etc/exports looks like:
However, when I attempt to set up RW access for "picard", the web GUI reports:
Or, if I also specify the network:
Any solution?
Thanks,
Gavin.
I'm attempting to migrate my Linux file server over to FreeNAS. The nodes on the network use NFS to mount all shares - well, the whole house runs Linux (and soon FreeNAS of course), so why choose anything else ;-)
Anyway, I'm struggling to export a share to the entire network RO, but at the same time to particular nodes as RW, as I have set up on my Linux box. I've been Googling for a while, but the only thing I've found is an unsolved post in this forum:
( https://forums.freenas.org/index.php?threads/share-nfs-rw-to-one-host-but-ro-to-all-others.50883/ )
The reason that I want to share this to the entire network is so that any of the media players, or indeed any device can access it, without me having to explicitly list an IP address.
My Linux box's /etc/exports looks like this (only relevant lines shown)
Code:
# Generic read-only access for everyone on network /export/music 192.168.1.0/24(ro,nohide,insecure,no_subtree_check,async) # Specific write access for picard /export/music picard(rw,nohide,insecure,no_subtree_check,async)
In the FreeNAS GUI, I set up the RO share, and the resultant /etc/exports looks like:
Code:
/mnt/storage/music -ro -network 192.168.1.0/24
However, when I attempt to set up RW access for "picard", the web GUI reports:
Code:
The network 0.0.0.0/24 is already being shared and cannot be used twice for the same filesystem
Or, if I also specify the network:
Code:
The network 192.168.1.0/24 is already being shared and cannot be used twice for the same filesystem
Any solution?
Thanks,
Gavin.
Last edited by a moderator: