IBM Support

IBM AIX: Data collection for automountd issues

How To


Summary

Debug data collection to troubleshoot automountd issues.


Steps

Follow the steps in the order shown for collecting data.

1. Stop automountd
# stopsrc -s automountd
2. Verify and kill any automountd processes still running
# ps -ef | grep -i auto
# kill -9 <process PID>
3. Save existing automountd ODM entry if any non-default options set
# odmget -q subsysname=automountd SRCsubsys > /<some directory path>/automountd-odmentry.save
4. Get a copy of some files:
# snap -r
# mkdir -p /tmp/ibmsupt/testcase
# cp -rp /etc/auto* /tmp/ibmsupt/testcase/
# cp -p /etc/irs.conf /tmp/ibmsupt/testcase/
# cp -p /etc/rc.nfs /tmp/ibmsupt/testcase/
# cp -p /etc/filesystems /tmp/ibmsupt/testcase/

5. Enable syslog logging
# cp /etc/syslog.conf /etc/syslog.conf.bak
# echo "*.debug /tmp/ibmsupt/testcase/syslog.out rotate size 10m files 4" >> /etc/syslog.conf
# touch /tmp/ibmsupt/testcase/syslog.out
Make the syslogd read the changes to syslog.conf
# refresh -s syslogd
 
6. Change automountd SRC ODM entry to enable automountd debug
# chssys –s automountd –a “-v -d -d -d -d -d” –o /tmp/ibmsupt/testcase/auto.debug –e /tmp/ibmsupt/testcase/auto.debug
The /tmp/ibmsupt/testcase/auto.debug file contains the debug traces from automountd.
7. Start automount
# /usr/sbin/automount
8. Start iptrace
# startsrc -s iptrace -a "-L 300000000 -b /tmp/ibmsupt/testcase/iptrace.bin"
9. Re-create the problem.
10. Stop iptrace
# stopsrc -s iptrace
11. Undo changes to syslog.conf and refresh syslogd
# cp /etc/syslog.conf.bak /etc/syslog.conf
# refresh -s syslogd
12. Collect snap data
# snap -aZc
13. Kill automount processes
# ps -ef | grep -i auto*
# kill -9 <process PID>
14. Restore the default automount entry
# chssys –s automountd –a “” –o /dev/console –e /dev/console
or change back to the saved pre-debug automountd ODM entry at:
/<some directory path>/automountd-odmentry.save
 
15. Start automountd for the changes to take effect
# /usr/sbin/automount
16. Rename snap data
# cd /tmp/ibmsupt
# mv  snap.pax.Z  <case number>.snap.pax.Z 
17. Upload the packaged data or individual files to the IBM secured server using one of upload options provided at:

Additional Information

SUPPORT:

If additional assistance is required after completing all of the instructions provided in this document, please follow the step-by-step instructions below to contact IBM to open a case for software under warranty or with an active and valid support contract.  The technical support specialist assigned to your case will confirm that you have completed these steps.

a.  Document and/or take screen shots of all symptoms, errors, and/or messages that might have occurred

b.  Capture any logs or data relevant to the situation.

c.  Contact IBM to open a case:

   -For electronic support, please visit the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, please visit the web page:
      https://www.ibm.com/planetwide/

d.  Provide a good description of your issue and reference this technote

e.  Upload all of the details and data to your case

   -You can attach files to your case in the IBM Support Community
   -Or Upload data to IBM testcase server analysis:

    http://www.ibm.com/support/docview.wss?uid=ibm10733581

f.  Click here to submit feedback for this document.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
10 March 2020

UID

ibm15694297