kdump.conf: Update doc about core_collector for ssh target

The current inline comment is a bit misleading, ssh dump target don't
need to use scp as core_collector, and when using scp as core_collector,
the vmcore could be huge.

Signed-off-by: Kairui Song <kasong@redhat.com>
Acked-by: Pingfan Liu <piliu@redhat.com>
This commit is contained in:
Kairui Song 2021-01-11 10:03:12 +08:00
parent 24c6b3027f
commit 85c3d6643d
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@
# <mnt>/<path>/%HOST-%DATE/, supports DNS. # <mnt>/<path>/%HOST-%DATE/, supports DNS.
# #
# ssh <user@server> # ssh <user@server>
# - Will scp /proc/vmcore to <user@server>:<path>/%HOST-%DATE/, # - Will save /proc/vmcore to <user@server>:<path>/%HOST-%DATE/,
# supports DNS. # supports DNS.
# NOTE: make sure the user has write permissions on the server. # NOTE: make sure the user has write permissions on the server.
# #

View File

@ -98,6 +98,11 @@ vmcore.flat, you will need to use "makedumpfile -R" to rearrange the
dump data from standard input to a normal dumpfile (readable with analysis dump data from standard input to a normal dumpfile (readable with analysis
tools). tools).
ie. "makedumpfile -R vmcore < vmcore.flat" ie. "makedumpfile -R vmcore < vmcore.flat"
.PP
Note 3: If specified core_collector simply copy the vmcore file to the
dump target (eg: cp, scp), the vmcore could be significantly large.
Please make sure the dump target has enough space, at leaset larger
than the system's RAM.
.RE .RE