Skip to content

Commit 3062096

Browse files
authored
DLPX-95109 could not find 'spa_t *' when running sdb -e 'spa' on dump (#545)
change makedumpfile args to use "-d 23" instead of "-d 31"
2 parents 9f3eab3 + 9714071 commit 3062096

File tree

1 file changed

+4
-2
lines changed
  • files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks

1 file changed

+4
-2
lines changed

files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,9 @@
515515
# MAKEDUMP_ARGS - Configure makedumpfile to:
516516
# [1] Compress the dump (-c)
517517
# [2] Filter out pages that are zero, in the page or private cache,
518-
# part of user data, or marked as freed (-d 31)
518+
# or marked as freed (-d 23)
519+
# Note that we do not exclude the "user data" pages, as these
520+
# are needed for drgn to be able to load zfs module symbols
519521
# [3] Output a progress indicator, common and error messages, and
520522
# a report summary message (--message-level 23)
521523
# [4] Exclude ZFS ARC file data pages
@@ -558,7 +560,7 @@
558560
line: "{{ item.line }}"
559561
with_items:
560562
- regex: '^#?MAKEDUMP_ARGS='
561-
line: 'MAKEDUMP_ARGS="-c -d 31 --message-level 23 --private-page-filter 0x2F5ABDF11ECAC4E"'
563+
line: 'MAKEDUMP_ARGS="-c -d 23 --message-level 23 --private-page-filter 0x2F5ABDF11ECAC4E"'
562564
- regex: '^#?KDUMP_CMDLINE_APPEND='
563565
line: 'KDUMP_CMDLINE_APPEND="reset_devices systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0 panic=10"'
564566

0 commit comments

Comments
 (0)