Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dumpcfg(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



DUMPCFG(8,C)                AIX Commands Reference                 DUMPCFG(8,C)



-------------------------------------------------------------------------------
dumpcfg



PURPOSE

Modify Dump space in VTOCs.

SYNTAX


                           +--------------+
/etc/dumpcfg --- device ---| +- delete -+ |---|
                           +-|          |-+
                             +-- size --+


DESCRIPTION

Dumpcfg is a utility that allows the system administrator to add, change, or
delete dump partitions on a VTOC.  The user must be root, and the device
specified must exist.

If the user specifies a size value, then the device specified becomes a dump
partition on the VTOC with the size specified.  If the device specified is
already an existing dump device, then the size of that partition is changed to
be the size of the device specified (if possible).  This is done by
incorporating the free space surrounding the dump partition.  If the device
specified does not exist, than a new dump partition of the size specified is
placed in the smallest available freespace partition possible.

If the user specifies delete, then the device specified is deleted from the
VTOC, provided that the dump space is not currently the active dump partition
in use by the kernel.

If neither a size nor delete is specified, then the VTOC for the disk on which
the device specified resides is displayed.

On a 370 system, dumpcfg can also be used to add a dump partition to a
previously unused physical disk.  In this case, before running dumpcfg, you
must run dfmt with the -b/generic/boot1 option.  This puts a valid vtoc and a
valid boot block on the disk.

EXAMPLES

Assume a user has a dump device on chd00034.  It is 20K blocks long, and it has
20K blocks free space following it.  The user wants his dump space to be 30K
blocks.  The user should enter:

  dumpcfg /dev/chd00034 30000




Processed November 8, 1990       DUMPCFG(8,C)                                 1





DUMPCFG(8,C)                AIX Commands Reference                 DUMPCFG(8,C)



Now assume a user has a dump device on hd4 on hdisk0.  It is 20K blocks long,
and it has 10K blocks free space following it, and no other free space on the
device.  Also assume the user has 40K blocks free space on another disk
(hdisk1).  That disk has hd33 and hd34 on it.  If the user wants to increase
the dump space to 40K, it must be put on hdisk1 in this case since there is not
enough room on hdisk0.  The user should do the following:

  1. mknod a dev, /dev/hd35 for example, on hdisk 1

  2. Enter dumpcfg /dev/hd35 40000

  3. Edit /etc/system to change dumpdev in sysparms to be hd35.  Reconfigure
    the kernel and reboot.

  4. Once the system has been rebooted, run dumpcfg /dev/hd4 delete.  Note that
    this could not be deleted until after the reconfiguration of the kernel
    because it was still the active dump device.

RELATED INFORMATION

See the command "minidisks," and the discussion of minidisk in Installing and
Customizing the AIX Operating System.

































Processed November 8, 1990       DUMPCFG(8,C)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026