Troubleshooting 3-39
Avoiding Problems with Automatic Memory Dump
The best way to avoid memory dump problems is to make sure your system is properly set up. For example,
make sure that the target directory for savecore has already been created on your computer.
There are several ways to deal with the problem of the dump device or partition being too small to contain
the core files:
•
You can modify
/etc/rc.log
to specify an appropriately sized target directory for savecore. The next
time a core dump occurs, it will be saved to the new directory.
•
Once a computer is down, you can specify a different target file system by booting the system in single
user mode and running the savecore manually.
•
If your system has a large physical memory, you might want to use the -i option to savecore. This
option causes savecore to save as much important information as possible after a system panic.
With the -i option, savecore saves the complete core file if there is enough space in the target directory. If
there is insufficient space in the target directory, savecore -i saves the kernel pages and (if possible) user
pages into a compressed core file. These compressed core files are easier to transport. However, the analysis
tools cannot be used directly on compressed core files.
For more information on savecore and its options, see the entry for savecore (1M) in the HP-UX Reference
or the HP-UX man page. Also, see HP-UX System Tasks.
Running savecore Manually
The savecore command can be run manually. Typically, you enter a series of commands like the following:
If the system is configured with the primary swap device as the dump device (default configuration),
a problem can occur if savecore is run after the system has been brought up multi-user. Once the system
starts back up, it is free to start swapping over the swap device. This could corrupt a crash image written out
to the swap device.
If the dump device is configured to use another logical volume or file system rather than the primary swap
device, the system's physical memory image remains intact; you can savecore after the system has been
brought up to multi-user mode.
ISL> hpux -is
/* to boot single user after a crash */
/* (specify driver name and hardware address */
/* for the device you want to boot from) */
# /etc/fsck -p
/* to fix the file system */
# /etc/mount -a
/* to mount all disks (maybe "-a -t hfs") */
# /bin/df
/* to find where there is enough space */
# mkdir /var/adm/crash
/* assuming /tmp has enough space */
# cd /var/adm/crash
# /sbin/savecore.
/* to save the core file to the current directory */
Содержание 3000/9x9KS Series
Страница 14: ...xiv Contents E Sources of Information on the Web ...
Страница 28: ...2 8 Install and Configuration Figure 2 4 HP PB I O Slot Location Diagram Kx70 Kx80 ...
Страница 44: ...2 24 Install and Configuration ...
Страница 68: ...3 24 Troubleshooting HP 3000 Core I O Figure 3 4 HP 3000 Core I O ...
Страница 120: ...5 6 Diagnostics ...
Страница 128: ...6 8 Replaceable Parts Figure 6 4 Peripheral Bay Expanded View ...
Страница 136: ...6 16 Replaceable Parts ...
Страница 150: ...7 14 Removal and Replacement Figure 7 11 Peripheral Bay Rear View ...
Страница 173: ...Removal and Replacement 7 37 Figure 7 29 Kx70 System Board Figure 7 30 Frequency Switch Settings ...
Страница 180: ...7 44 Removal and Replacement Figure 7 35 Cabinet Exploded View Rear ...
Страница 209: ...SCSI and I O 8 21 Figure 8 3 A3629A ST19171WD J2 and J6 Jumper Settings ...
Страница 217: ...SCSI and I O 8 29 Figure 8 7 A3353A source 2 J3 Jumper Positions ...
Страница 218: ...8 30 SCSI and I O Figure 8 8 A3353A source 2 Option Connector Jumper Positions ...
Страница 258: ...8 70 SCSI and I O Exchange part Number The exchange part number is C2478SZ C1504 69201 Diagnostics SCSIDDS SYSMAP IOMAP ...
Страница 280: ...8 92 SCSI and I O Diagnostics CSTM SCSIDDS SYSMAP IOMAP ...
Страница 298: ...8 110 SCSI and I O Diagnostics SCSICD IOMAP SYSMAP ...
Страница 302: ...8 114 SCSI and I O ...
Страница 308: ...Support Information B 2 HP 9x9KS Block Diagram Figure B 1 HP 3000 9x9KS Block Diagram ...
Страница 309: ...B 3 Support Information HP K100 Block Diagram Figure B 2 HP 9000 K100 Block Diagram ...
Страница 310: ...Support Information B 4 HP K2x0 K4x0 Block Diagram Figure B 3 HP 9000 K2x0 K4x0 Block Diagram ...
Страница 311: ...B 5 Support Information Kx70 Kx80 Block Diagram Figure B 4 HP9000 Kx70 Block Diagram ...
Страница 342: ...Memory Configuration Guidelines C 16 ...
Страница 350: ...D 8 New System Features ...