I've stumbled across a bug that seems to cause a kernel crash (immediate reboot on clicking "OK" in the GUI). I need to get a crash dump when it's triggered. But I don't yet have any significant swap on my system - just the boot drive and pool.
I probably need to add a spare drive, format it as swap, add some RC tunables to set it up as a dump device, and other magic, to ensure that I capture a crash dump next time. But what are the exact steps needed to set up my system to capture kernel crash dumps?
Then, after a crash, what do I do to ensure I recover the crash dump onto another disk from the new swap before it's overwritten?
Last, the system has 256 GB RAM, which is much bigger than kernel space (ARC = 240+ GB), so what size swap should I configure?
I probably need to add a spare drive, format it as swap, add some RC tunables to set it up as a dump device, and other magic, to ensure that I capture a crash dump next time. But what are the exact steps needed to set up my system to capture kernel crash dumps?
Then, after a crash, what do I do to ensure I recover the crash dump onto another disk from the new swap before it's overwritten?
Last, the system has 256 GB RAM, which is much bigger than kernel space (ARC = 240+ GB), so what size swap should I configure?
Last edited: