HP (Hewlett-Packard) 9000 V2500 SCA ユーザーズマニュアル

ページ / 206
Chapter 7
163
Recovering from failures
Abnormal system shutdowns
Using crashutil to complete the saving of a dump
If devices are being used for both paging (swapping) and dumping, it is 
very important to not disable 
savecrash
 processing at boot time. If this 
is done, there is a chance that the memory image in the dump area will 
be overwritten by normal paging activity. If, however, there are separate 
dump and paging devices (no single device used for both purposes), 
copying the memory image to the HP-UX file system area can be delayed 
in order to speed up the boot process. To do this, edit the file 
/etc/
rc.config.d/savecrash
 and set the environment variable called 
SAVECRASH=0
.
If copying the physical memory image from the dump devices to the HP-
UX file system area has been delayed, run 
savecrash
 manually to do 
the copy when the system is running. Confirm that enough space to hold 
the copy in the HP-UX file system area has been configured before doing 
so. 
If a partial save is being done, the only pages copied to the HP-UX file 
system area during the boot process are those that were on paging 
devices. Pages residing on dedicated dump devices are still there. A 
partial save can be selected by leaving the 
SAVECRASH
 environment set 
to 1 and setting the environment variable 
SAVE_PART=1
 in 
/etc/
rc.config.d/savecrash
. To copy the remaining pages to the HP-UX 
file system area when the system is running again, use the command 
crashutil
. See the crashutil(1M) manpage for details. 
Example
/usr/sbin/crashutil -v CRASHDIR /var/adm/crash/
crash.0
Crash dump format conversion
Use 
crashutil
 to convert the file format when analyzing a crash dump 
on a computer running a different version of HP-UX than the V-Class 
server, or if the debugging tool does not recognize the specific format of 
the saved file. 
The basic format of the 
crashutil
 command to do a conversion is:
/usr/sbin/crashutil -v
 version source [destination]
version 
Designates the version of the destination format.
source 
Designates the pathname of the crash dump to be 
converted.