Dumping on GELI consumers (was: FreeBSD 10.1 crashing under load)
Fabian Keil
freebsd-listen at fabiankeil.de
Wed Mar 18 11:26:28 UTC 2015
Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
> Christian Kujau <lists at nerdbynature.de> wrote:
> > Right now the system just reboots but leaves nothing in the system log as
> > to _why_ it crashed. I've configured a crash dump device as per [0] but no
> > crash dump is ever taken. I'm running with encrypted swap (via GELI),
> > maybe crashdumping doesn't work with encrypted swap?
>
> IIRC it's not officially supported but you can dump on the device
> below the geli layer:
>
> fk at r500 ~ $swapinfo
> Device 1K-blocks Used Avail Capacity
> /dev/ada0s1b.eli 2097152 0 2097152 0%
> fk at r500 ~ $dumpon -l
> ada0s1b
>
> Saving the dump automatically after boot doesn't work (for me),
> but "service savecore start" works after "swapoff -a".
For the archives: It works as expected when enabling the swap device
with rc.d/swaplate. Currently this requires a small swapon patch:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198598
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150318/3d111d81/attachment.sig>
More information about the freebsd-questions
mailing list