→ Applies to: SynetoOS 4.x
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Become Super User
sudo su
Step 3. Create a new folder for the logs
mkdir /var/crash
Step 4. Increase dump space parameter
zfs set volsize=16G rpool/dump
Step 5. Set up the dump
dumpadm -c all -y -z on -s /var/crash
EXAMPLE of output
Dump content: all pages Dump device: /dev/zvol/dsk/rpool/dump (dedicated) Savecore directory: /var/crash Savecore enabled: yes Save compressed: on
Step 6. Save the dump
savecore
Step 7. Unzip the kernel dump to extract the image
savecore -vf /var/crash/vmdump.0
Step 8. Start the kernel debugger on the crash dump
cd /var/crash/
mdb -k unix.0 vmcore.0
Step 9. Print kernel panic information
::panicinfo
$C
Step 10. Exit the kernel debugger
Ctrl+D