Clarify dumpon/swapon usage wrt getting a kernel crash dump.
PR: docs/50790
This commit is contained in:
parent
afbf6cdb4a
commit
8c4d32e232
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16796
1 changed files with 11 additions and 5 deletions
|
@ -20,11 +20,17 @@
|
||||||
tapes for example, are currently not supported.</para>
|
tapes for example, are currently not supported.</para>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>Use the &man.dumpon.8; command to tell the kernel where to dump to
|
<para>Use the &man.dumpon.8; command to tell the kernel where to
|
||||||
(note that this will have to be done after configuring the partition in
|
save crash dumps. The <command>dumpon</command> program must
|
||||||
question as swap space via &man.swapon.8;). This is normally arranged
|
be called after the swap partition has been configured with
|
||||||
by setting the <varname>dumpdev</varname> variable in
|
&man.swapon.8;. This is normally arranged by setting the
|
||||||
<filename>/etc/rc.conf</filename>.</para>
|
<varname>dumpdev</varname> variable in &man.rc.conf.5;. If
|
||||||
|
this variable is set, then the &man.savecore.8; program will
|
||||||
|
automatically be called on the first multi-user boot after the
|
||||||
|
crash. This program will save the kernel crash dump to the
|
||||||
|
directory specified in the <filename>rc.conf</filename>
|
||||||
|
<varname>dumpdir</varname> variable. The default directory
|
||||||
|
for crash dumps is <filename>/var/crash</filename>.</para>
|
||||||
|
|
||||||
<para>Alternatively, you can hard-code the dump device via the
|
<para>Alternatively, you can hard-code the dump device via the
|
||||||
<literal>dump</literal> clause in the <literal>config</literal> line of
|
<literal>dump</literal> clause in the <literal>config</literal> line of
|
||||||
|
|
Loading…
Reference in a new issue