Vero Crashes Daily when Accessing Windows Shares

auto.master.d is blank. Here’s auto.master

#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(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 /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/auto.master.d
#
# 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.
#
+auto.master

 /- /etc/auto.nfs.shares --timeout 15 browse

You are looking for auto.nfs.shares

Is that what the other file is named?

What is the output of:

ls -l /etc/auto*
-rw-r--r-- 1 root root   843 Jun 15 21:50 /etc/auto.master
-rw-r--r-- 1 root root   524 Dec 22  2016 /etc/auto.misc
-rwxr-xr-x 1 root root  1039 Dec 22  2016 /etc/auto.net
-rw-r--r-- 1 root root     1 Jun 15 20:00 /etc/auto.nfs.shares
-rwxr-xr-x 1 root root  2191 Dec 22  2016 /etc/auto.smb
-rw-r--r-- 1 root root   122 Jun 15 21:31 /etc/auto.smb.shares
-rw-r--r-- 1 root root 13354 Dec 22  2016 /etc/autofs.conf
osmc@Vero:~$

I accidentally created auto.nfs.shares

Well something seems to gone wrong :wink:

You need to change your auto.master to use auto.smb.shares instead of auto.nfs.shares

1 Like

It’s working. Thank you!

Don’t know how I managed to copy and paste the wrong line, or why I didn’t notice it myself. I appreciate your patience.

2 Likes

Great!!

Now the next step will be to disable the fstab entry and re-do the autofs map so you don’t have to re-scrape your library. Just unmount the fstab share, edit fstab and change auto.smb.shares

sudo systemctl stop mediacenter   # To be sure it's not trying to access the share
sudo umount /mnt/tv

edit fstab and put a # at the begining of the /mnt/tv line.
Then edit auto.smb.shares and change /mnt/Computer/TV with /mnt/tv.

Now restart autofs and then kodi

sudo systemctl start autofs
sudo systemctl start mediacenter

and you should be good to go. Please let us know if this does solve your original issue.

1 Like

Yes. All good to go. Thank you.

1 Like

Good news, happy to have been able to help!

Please let us know if this takes care of the problem when you turn off the PC.

I’ve already tried a couple of restarts. No problems.

Awesome.

1 Like

Excellent! I bet you are now a fan of autofs :smile:

1 Like