Я использую autofs для монтирования дисков нашего сервера (cifs), которые отлично работали в прошлом. После обновления Ubuntu с 15.04 (Vivid) до 15.10 (Wily) эти точки монтирования регулярно зависают. ls / mnt / serverdrive / {mountpoint} не даст никаких результатов, но заставляет терминал замораживаться. У меня были подобные проблемы при использовании fstab в прошлом, и я думал, что это будет время ожидания нашего окна-сервера. Autofs было решением в то время.
Однако я не знаю, что вызывает это замораживание в autofs и не знает, где искать проблему. Спустя некоторое время точки монтирования иногда доступны снова. Нет проблем с доступом через Nautilus.
При обновлении до 15.10 я скопировал свои конфиги в новый (по умолчанию) auto.master. Ниже приведена конфигурация ls / mnt / serverdrive / {mountpoint} . Конфигурации в файлах auto.cifs являются моими предыдущими и неизменными.
auto.cifs-shares тоже не помогает.
Это проблема в моих конфигурациях или проблема с новыми пакетами autofs? В конце концов, также связано с: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1503034?
Спасибо всем!
#
# 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