1) reboot -d (do a man on reboot and you will see what -d does)
2) if you are on an older system that does not have a usb keyboard you can pull out the keyboard cable and plug it back in (it will drop you to ok prompt) then run sync and it should create a crash dump.
3) I can't remember if stop-A then sync will do it.
I would try option 1 first as these others could really screw up your system.
If you are just looking where the crash dump is then it is in /var/crash/ernie as comtec17 pointed out.
I checked /var/crash/ernie and there is not core files.
I can do stop A and sync ...and it will does write under /var/crash/ernie. but right now when I do savecore -v .it shows........
[ernie:root] savecore -v
savecore: dump already processed.........I donot now where it is or some body deleted the files.
Try savecore -v -d which should force it to save core regardless of whether it has already been processed.
You can also use savecore -L to save a dump of the running system without rebooting (may cause it to 'hang' for some time though). See the savecore man page.
It is sol8, I also tried on another machine that is running sol10, same problem. The only way I get coredump on sol8 machine is STOP-A AND THEN OK>SYNC.
cndcadams, I'm probably thinking of Veritas Volume Manager best practices rather than DiskSuite/SVM (however I have checked some DiskSuite-only servers we have and they are set up to use underlying slices as well), but the principle is to keep the path between the OS and the dump device as simple as possible to improve chances of obtaining a crash dump. If the OS panics because of a serious bug in the VxVM or DiskSuite drivers for example, your chances of obtaining a crash dump would be pretty slim.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.