kdump_pre not working with nfs share
Issue
Testing in RHEL 6.5 server VMware instance - kdump is not dumping vmcore when kdump_pre is specified in /etc/kdump.conf. When testing with exact same setup except kdump_pre is commented out in /etc/kdump.,conf and dump img is rebuilt - crash dump works fine.
Kernel: 2.6.32-431.el6.x86_64
Please assist in obtaining more detailed logging to find out why kdump_pre is not functioning as expected.
Additional Notes:
[root@rh65-a ~]# cat /var/crash/scripts/kdump-pre.sh
#!/bin/msh
find /var/crash -name \*core\* -exec rm -rf {} \;
exit 0
The script has perms 755
And there are indeed core files in the /var/crash dir - they remain after the attempt.
Environment
Red Hat Enterprise Linux
6.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.