Hallo, ich habe ein Synology NAS (DS2011J), welches ich bisher per NFS über die fstab gemounted habe. Das klappt auch sehr gut.
Da ich aber gelegentlich Probleme beim Booten und Shutdown wegen hängender Mounts habe, würde ich gerne per autofs mounten.
Gehalten habe ich mich an die Anleitung im Wiki: https://wiki.ubuntuusers.de/Autofs/#NFS-Freigabe bzw.: http://www.synology-wiki.de/index.php/NFS-Konfiguration#Linux_Automounter_mit_autofs
Nach dem konfigurieren und Anlegen der Dateien auto.master und auto.hang-loose, sowie erstellen der Mount Points habe ich den Service gestopt, gestartet und reloaded. Leider tut sich nicht, bzw. ich finde nicht den erwarteten Inhalt des Serverfreigabe im Mount Punkt.
Vielleicht kann mir jemand bei der Fehlersuche helfen. Ich freue mich über jede form der Hilfe.
Anbei der Inhalt der auto.master und auto.hang-loose
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 /mnt/hang-loose /etc/auto.hang-loose /net -hosts --timeout=60
auto.hang-loose
hang-loose -fstype=nfs,rw,tcp,intr,auto,rsize=32768,wsize=32768 192.168.178.33:/volume1/video
Danke Ole