Your dump device holds the information that a system dump generates, whether generated by the system or a user. You can copy this information to either diskette or tape and deliver the material to your service department for analysis.
Note: If you intend to use a tape to send a snap image to IBM for software support. The tape must be one of the following formats: 8mm, 2.3 Gb capacity, 8mm, 5.0 Gb capacity, or 4mm, 4.0 Gb capacity. Using other formats will prevent or delay software support from being able to examine the contents.
There are two procedures for copying a system dump, depending on whether you're using a dataless workstation or a non-dataless machine:
On a dataless workstation, the dump is copied to the server when the workstation is rebooted after the dump. The dump may not be available to the dataless machine.
Copy a system dump on a dataless workstation by performing the following tasks:
Locate the dump by this procedure :
lsnim -l worker
The dump object appears on the line:
dump = dumpobject
lsnim -l dumpobject
The path name displayed is the directory containing the dump. The dump usually has the same name as the object for the dataless workstation.
The dump is copied like any other file. To copy the dump to tape, use the tar command:
tar -c
or, to copy to a tape other than /dev/rmt0 :
tar -cftapedevice
To copy the dump back from the external media (such as a tape drive), use the tar command. Enter the following to copy the dump from /dev/rmt0 :
tar -x
To copy the dump from any other media, enter:
tar -xftapedevice
Copy a system dump on a non-dataless machine by performing the following tasks:
Reboot in Normal mode using the following steps:
If your system brings up the login prompt, go to "Copy a System Dump after Rebooting in Normal Mode".
If your system stops with a number in the operator panel display instead of bringing up the login prompt, reboot your machine from Maintenance mode, then go to "Copy a System Dump after Booting from Maintenance Mode".
After rebooting in Normal mode, copy a system dump by doing the following:
/usr/sbin/snap -gfkD -o /dev/rfd0
or
/usr/sbin/snap -gfkD -o /dev/rmt#
where # (pound sign) is the number of your available tape device (the most common is /dev/rmt0 ) . To find the correct number, enter the following lsdev command, and look for the tape device listed as Available:
lsdev -C -c tape -H
Note: If your dump went to a paging space logical volume, it has been copied to a directory in your root volume group, /var/adm/ras. See "Configure a Dump Device" and the sysdumpdev command for more details. These dumps are still copied by the snap command. The sysdumpdev -L command lists the exact location of the dump.
tar -x
To copy the dump from any other media, enter:
tar -xftapedevice
Note: Use this procedure only if you cannot boot your machine in Normal mode.
/usr/sbin/snap -gfkD -o /dev/rfd0
or
/usr/sbin/snap -gfkD -o /dev/rmt#
tar -x
To copy the dump from any other media, enter:
tar -xftapedevice