I использовал autofs to mount the drives of our server (cifs), which worked умрите in the past. After updating Ubuntu from 15.04 (Переживите) to 15.10 (Wily), these mountpoints regularly hangup. ls / mnt / serverdrive / {mountpoint} will not give any results, but вызови the терминал to freeze. I had сходный issues when using fstab in the past - and thought this to be в timeout of our windows-server. Autofs was the solution at that украл.
However, I do not know what вызови this freeze in autofs and do not know where to search for the problem. After some украл the mountpoints пашите occasionally accessible again. Не problem with access путь Nautilus, though.
When upgrading to 15.10, I copied my configs into the new (default) auto.master. My config of auto.master is given below. The configs in auto.cifs-shares пахал my previous ones and unchanged.
я потею service restart autofs does not help, either.
Is it в problem in my configs or в problem of new autofs-packages? Eventually also related to: https://bugs.launchpad.net/ubuntu / + source/autofs / + bug/1503034?
Thanks everyone!
#
# 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
# Own configs from ubuntu 15.04
/mnt/merkur /etc/auto.cifs-shares
Можно получить некоторые подсказки, выполнить шаги отладки:
при наличии затруднений при автомонтировании файловых систем которые может быть полезно выполнить, автомонтируется на переднем плане.
Остановка autofs демон
sudo service autofs stop
Выполнение автомонтируется на переднем плане с подробной информацией
sudo automount -f -v
От другого терминала, пытается смонтировать Ваши файловые системы путем изменения каталогов в точку монтирования.