21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A command status screen will be displayed, and once the dump has completed,<br />

the system will need to be reset.<br />

If the dump was successful, reboot the system. During the boot process, if the<br />

forced copy flag is set to TRUE, a menu will be displayed on the primary console<br />

requesting the removable media to copy the dump to /dev/rmtx or /dev/fd0. (You<br />

are prompted to choose which location.) The size of the dump in /dev/hd6 is also<br />

displayed. It is advisable to not use /dev/fd0 for the copy of the dump. Once the<br />

copy has been completed, exit the copy screen and the system will continue the<br />

boot process.<br />

5.2.3 Using the Reset button<br />

To start a dump with the Reset button, the key switch must be in the service<br />

position. If the system does not have a key switch, set the always allow system<br />

dump value to true. To set this, use the sysdumpdev command as follows:<br />

# sysdumpdev -K<br />

The value can be checked using the sysdumpdev command without flags as<br />

follows:<br />

# sysdumpdev<br />

primary /dev/hd6<br />

secondary /dev/sysdumpnull<br />

copy directory /var/adm/ras<br />

forced copy flag TRUE<br />

always allow dump TRUE<br />

dump compression OFF<br />

To obtain the system dump, press the Reset button. This will initiate the system<br />

dump and may take some time.<br />

If the dump was successful, reboot the system. During the boot process, if the<br />

forced copy flag is set to TRUE (sysdumpdev -D dumpdev), a menu will be<br />

displayed on the primary console requesting the removable media to copy the<br />

dump to /dev/rmtx or /dev/fd0. (You are prompted to choose which location.) The<br />

size of the dump in /dev/hd6 is also displayed. It is advisable to not use /dev/fd0<br />

for the copy of the dump. Once the copy has been completed, exit the copy<br />

screen and the system will continue the boot process.<br />

If the system does not have a key switch, set the always allow dump option back<br />

to false. Use the sysdumpdev command as follows:<br />

# sysdumpdev -k<br />

70 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!