![]() |
![]() |
![]() |
|
|
![]() |
The contents of error log buffers are also written to the error log dump file. The error log dump file is provided so that the system can be updated on reboot to include error log entries that were created but not written at the time of a system crash.
When writing the system dump file, the system displays console messages and information about the error or inconsistency. The last message tells you that the dump file was successfully written.
![]() | Be sure to wait until you see the termination message before using the console terminal to halt the system. If you do not wait, your system might not save a complete system dump file. |
The default system dump file, SYS$SPECIFIC:[SYSEXE]SYSDUMP.DMP, is created during installation. (You do not need a system dump file to run the operating system. However, you must have a system dump file to diagnose system crashes.) AUTOGEN automatically determines an appropriate size for the system dump file for your hardware configuration and system parameters. Refer to Minimizing System Dump File Size When Disk Space Is Insufficient for information about minimizing system dump file size if disk space is insufficient.
For special configurations or varying work loads, you can change the size of the system dump file. For information, see Using AUTOGEN (Recommended Method). You can write the system dump file on a disk other than the system disk. This is referred to as dump off system disk (DOSD). For more information, see Writing the System Dump File to an Alternate Disk.
AUTOGEN creates the error log dump file during installation; its size depends on your configuration and system parameters. Error log dump files on VAX, Alpha, and I64 systems have the following differences:
![]() | With DOSD, error logs are written to a stub error log dump file, SYSDUMP.DMP, on the system disk. Also, both the error logs and system memory are written to the SYSDUMP.DMP file on the DOSD disk. |
![]() | Without DOSD, both the error log and system memory are written to the SYSDUMP.DMP file on the system disk. |
Using the Page File to Store System Crash
Dumps
The operating system uses the latest version of SYS$SYSTEM:SYSDUMP.DMP
to store system crash dumps. If SYSDUMP.DMP does not exist in SYS$SYSTEM,
the operating system uses
the system page file, SYS$SYSTEM:PAGEFILE.SYS,
overwriting the contents of that file.
If the SAVEDUMP system parameter is set, the crash dump is retained in PAGEFILE.SYS when the system is booted. If SAVEDUMP is clear, the system uses the page file for paging; any dump written to the page file is lost.
If you use SYS$SYSTEM:PAGEFILE.SYS to capture system crash dumps, you should later free the space occupied by the dump for use in system paging, with either of the following methods:
For detailed instructions, see Freeing Dump Information from the Page File.
Include the appropriate commands in the SYSTARTUP_VMS.COM startup command procedure to free dump information from the page file each time the system reboots.
![]() | Be careful when using the page file for selective dumps. Selective dumps use up all available space. If your page file is small, selective dump information might fill the entire page file, leaving no space for paging during system boot. This can cause the system to hang during reboot. |
Understanding Types of System Dumps
The two types of system dumps are physical and selective.
Definitions of Physical and Selective System Dumps defines physical and selective
system dumps.
Comparison of Physical and Selective System Dump Files compares
the information available in physical and selective system dump
files.
Requirements for Creating a Useful System Dump
The following requirements must be met for the operating system to write a useful system dump file:
A system dump file has the NOBACKUP attribute; therefore, the Backup utility (BACKUP) does not copy the file unless you use the qualifier /IGNORE=NOBACKUP when invoking BACKUP. When you use the SDA COPY command to copy the system dump file to another file, the operating system does not automatically set the new file to NOBACKUP. If you want to set the NOBACKUP attribute on the copy, use the SET FILE command with the /NOBACKUP qualifier as described in the HP OpenVMS DCL Dictionary.
By default, SYS$SYSTEM:SYSDUMP.DMP is protected against world access. Because a system dump file can contain privileged information, you should keep this level of protection on system dump files. Similarly, when you copy system dump files using the System Dump Analyzer utility (SDA) as explained in Saving the Contents of the System Dump File After a System Failure and Freeing Dump Information from the Page File, be sure to protect the copy from world read access. For more information about file protection, refer to the HP OpenVMS Guide to System Security.
|
|