Freenas 8.3.1, LM 13, and autofs

Status
Not open for further replies.

travalon

Explorer
Joined
Jan 6, 2013
Messages
82
When my shares mount the folders are empty. Permissions of the folders on the client show the shares are owned by root:
shareperms.png

And Freenas shell shows ownership of my user:
nasperms.png

Oops... Deleted images. The info is true though.
I have user Travis user ID 1001 on the NAS and user travis user ID 1000 on the client machine.

Here is my auto.master:
Code:
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc	/etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#	"nosuid" and "nodev" options unless the "suid" and "dev"
#	options are explicitly given.
#
#/net	-hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#/mnt      yp:mnt.map
# mount point        map file to be consulted        Optional mount options
/Movies                /etc/auto.nfs               --timeout 600 --ghost
/Music                 /etc/auto.nfs               --timeout 600
#/nfs                  /etc/auto.nfs
+auto.master


Here is my auto.nfs:
Code:
#format    mount options       Share location
/nfs      -fstype=nfs4,bg     192.168.2.69:/mnt/media/Movies
/nfs      -fstype=nfs4,bg     192.168.2.69:/mnt/Music/Tunes


Here is my exports on the nas:
Code:
[root@TravNAS /etc]# cat exports                                                
/mnt/Music  -alldirs -mapall=nobody:nogroup -network 192.168.2.1/24             
/mnt/Music  -alldirs -mapall=nobody:nogroup 192.168.2.10                        
/mnt/media  -alldirs -mapall=nobody:nogroup -network 192.168.2.1/24             
/mnt/media  -alldirs -mapall=nobody:nogroup 192.168.2.10                        
[root@TravNAS /etc]#                                                            


G00Gl3 and lleb @ LQ have gotten me this far but now I'm stumped. I'm going to chenge the user ID on the client to 1001 (again) and hope it sticks but in the mean time I am hoping for input from the experts here.

Thanks to all
 
Status
Not open for further replies.
Top