no crashdump created when using auto install on ZFS mirror
-
Tested also on virtual machine.
Install 2.8 selecting Autoinstall ZFS, select zfs mirror, select disks.
Try to produce crash dump issuing commandsysctl debug.kdb.enter=1
System begins to dump
Expected behavior is /var/crash should contain crash dump, but nothing created or created removed for unknown reason. -
Savecore result
-
The problem is that if we have multiple swap devices, but saving dump on the first, the original script create symlinks twice and then we have wrong device for the savecore. I fixed that by
rc.dumpon
This is what working for me
dumpon_try() { local dump_device="$1" if /sbin/dumpon "$dump_device" ; then # Create a symlink in devfs for savecore only if it doesn't exist if [ ! -e "/dev/dumpdev" ]; then ln -s "$dump_device" /dev/dumpdev fi # Print a message for each dump device found echo "Using $dump_device for dump device." return 0 fi echo "Unable to specify $dump_device as a dump device." return 1 }
-
-
@w0w said in no crashdump created when using auto install on ZFS mirror:
Install 2.8
May I asked how did you get 2.8dev image? just checked and not available...
-
@NollipfSense
I don't know. I am sure it was available at the moment of this testing.https://snapshots.netgate.com/amd64/pfSense_master/installer/
-
@w0w Thanks for the link but, it seems that it's still down.
-
@NollipfSense
Sorry for the late response, but works for me just fine… There is something blocking it just for you. -
@w0w said in no crashdump created when using auto install on ZFS mirror:
There is something blocking it just for you.
Yes, you were correct...had to add snapshots.netgate.com to DNSBL whitelist and glad you mentioned that, thank you!
-
So, I have installed it, not sure why now that it's clear a waste of valuable time to participate.