2007년 08월 06일
automount 관련 autofs Debugging 방법

Autofs Stuff

Distribution Current CVS Latest RHEL Update
rhel 3   4.1.3-216  (changelog) 4.1.3-186 (U8)
rhel 4   4.1.3-214  (changelog) 4.1.3-199.3 (U5)

Filing bug reports

This text applies whether you're sending a bug report to the autofs mailinglist (autofs@linux.kernel.org) or filing one through the Red Hat bugzilla database. Please includethe following information in all bug reports:
  • autofs rpm version, obtained via 'rpm -q autofs'
  • kernel version, obtained via 'uname -r'
  • contents of your autofs maps. This includes auto.master and at least the map which is problematic for you.
  • contents of /etc/nsswitch.conf
  • contents of /etc/sysconfig/autofs
  • Steps to reproduce the problem, or circumstances surrounding the problem.
  • debug output.
    • Add a line like the following to your /etc/syslog.conf:
      daemon.*			/var/log/debug
    • Tell autofs to log debugging information for the problematic map. This can be done by adding a --debug to the entry for this map in /etc/auto.master. For example:
      /misc		/etc/auto.misc --timeout=60 --debug
      If, instead, you need to log debug output for all maps, you can do the following:
      For v4, add the --debug option to the DAEMONOPTIONS variable specified in /etc/sysconfig/autofs.
      For v5, set DEFAULT_LOGGING to "debug" in /etc/sysconfig/autofs.
    • Restart syslogd (or send it a HUP signal).
    • Restart autofs. Make sure it restarted! Check the logs, and ensure that the problematic mount point was shut down properly and subsequently restarted. Otherwise, you will not get any debug output in the logs.
    • Now you're set to get debug output. Reproduce the problem, and attach the logs with your bug report.
  • If it's not a readily reproducible problem, then please gather some system state when it does occur. The following are useful:
    • Current automount status:
      # /etc/init.d/autofs status
      # ps auxwww | grep automount
    • Output from sysrq-t:
      # sysctl -w kernel/sysrq=1; echo t > /proc/sysrq-trigger
      You will find the output in /var/log/messages.


from Autofs Stuff
by ydhoney | 2007/08/06 08:15 | IT&Linux | 트랙백 | 덧글(0)
트랙백 주소 : http://ydhoney.egloos.com/tb/3321656
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글



<< 이전 페이지 | 다음 페이지 >>