• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to run savecore (crash dump) manually in Solaris

by admin

If savecore did not successfully run to retrieve system core image(crash dump) from the dump device during reboot following a system panic it is possible to attempt to retrieve the crash dump manually from the command line. The kernel core image gets copied into the dump device configured by the dumpadm command as part of the panic recovery code. The default dump device is primary swap space. Often, the kernel core image may remain intact for some time after the panic.

First, ensure there is sufficient space to save the core file. A kernel core file will not be larger than the amount of physical memory installed in the system, but most core dumps will be considerably smaller. Insufficient space is usually the reason the data on the dump device does not get copied to the savecore directory. The error/warning you may see in the messages file will be similar to

savecore: [ID 976488 auth.error] not enough space in /var/crash/rascal (49144 MB avail, 51525 MB needed)

The default destination for the saved core file is the directory configured by dumpadm. If an alternate destination is required then one can be given in the savecore command, see below. As root, run savecore from the command line, specifying an alternate destination directory if required.

# savecore -dv [new dump directory]
NOTE: the ‘-d’ option will retrieve a dump even if the header information stored on the dump device indicates the dump has already been saved.

Filed Under: Solaris

Some more articles you might also be interested in …

  1. How to Configure Integrated Load Balancer (ILB) in Solaris 11
  2. Solaris 11 (x86/64) : How to boot from DVD to single user mode
  3. Understanding Special Permissions (setuid, setgid, sticky bit) in Solaris
  4. How to add swap file in Solaris
  5. How to enable or disable telnet in Solaris 10
  6. How to create or change or view Boot Device Aliases in Solaris Online
  7. Solaris – Changing from iSCSI Static Discovery to SendTargets Discovery
  8. How to set OBP Variables from the ALOM/ILOM
  9. Script to label multiple disks in Solaris
  10. How to Identify ZFS Snapshot Differences using “zfs diff”

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright