Quoting "Andrey V. Elsukov" <[EMAIL PROTECTED]>:

Chris H. wrote:
OK then. If I understand you correctly, I simply need to create:
/var/crash (the default)

Yes. Also you need a swap size > ram size.

swap slice is already 3 times greater than memory. So I'm confident
there's enough space.


add the following to /etc/rc.conf:
dumpdev="AUTO"
dumpdir="/var/crash"

bounce the server and ensure that /etc/rc.d/dumpon is started
immediately after the boot process has completed.
Correct?

if you don't want reboot your machine after changing rc.conf
you can run `/etc/rc.d/dumpon start`. It will mark your swap as
a dumpdev. At the boot time /etc/rc.d/dumpon will be started
automatically (if "dumpdev" is set).
After system crash the kernel memory dump will be saved to the dempdev
and after reboot dump will be extracted from the swap into dumpdir
by the savecore.


Yes, That occurred to me immediately after replying to you -
dumpdev="AUTO" already ensures that. :)


Thanks again for all your time and trouble.

--Chris

--
WBR, Andrey V. Elsukov




--
panic: kernel trap (ignored)



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to