Operating System - HP-UX
1834643 Members
3115 Online
110069 Solutions
New Discussion

Confusion between crash dump and swap area

 
SOLVED
Go to solution
Berd
Trusted Contributor

Confusion between crash dump and swap area

I have a couple of boxes where disk space is at a premium. On these boxes I have a filesystem, /dev/vg00/crash, which is rather large. If I run a crashconf command this filesystem is not listed as a dump device ?

Does the dump device require configuration, would editing /etc/rc.config.d/savecrash be sufficient to point to this dump area ?

Any thoughts,

Berd
5 REPLIES 5
Berd
Trusted Contributor

Re: Confusion between crash dump and swap area

Is the dump area the inital point where the crash dump is stored, and then it is moved to the location listed in savecrash at reboot ?
Chan 007
Honored Contributor
Solution

Re: Confusion between crash dump and swap area

Bred,

Just do a man on "lvlnboot" you will get complete details, I just did a cut paste of dump info for you.

Create a logical volume that will be used as the dump volume.
This volume should be contiguous.

lvcreate -n dump -L 64 -C y /dev/vglvmroot

Specify that the logical volume, root, will be used as the root
volume.

lvlnboot -r /dev/vglvmroot/root

Specify that the logical volume, boot, will be used as the boot
volume.

lvlnboot -b /dev/vglvmroot/boot

Specify that the logical volume, swap, will be used as the
primary swap.

lvlnboot -s /dev/vglvmroot/swap

Specify that the logical volume, dump, will be used as the dump
volume.

lvlnboot -d /dev/vglvmroot/dump

Display the results of the previous operations.

lvlnboot -v /dev/vglvmroot

The following example shows configuration of multiple dump volumes.

Specify that logical volumes /dev/vg00/swap1, /dev/vg00/dump2, and
/dev/vg00/dump3 should be used as the dump logical volumes and that
/dev/vg00/swap1 should also be used as primary swap. Assume that the
volume group and the logical volumes have been created and the logical
volumes are contiguous.

lvlnboot -s /dev/vg00/swap1
lvlnboot -d /dev/vg00/swap1
lvlnboot -d /dev/vg00/dump2
lvlnboot -d /dev/vg00/dump3

On your second question, Yes, it will move from dump area to the /var/adm/crash

Chan
Berd
Trusted Contributor

Re: Confusion between crash dump and swap area

Thanks Chan,

So crashconf -v will only show me the dump area. In order to confirm the save area I need to look at /etc/rc.config.d/savecrash.

Is that correct ?
Chan 007
Honored Contributor

Re: Confusion between crash dump and swap area

Hi Bred,

Just do a lvlnboot -v

That will display the boot, dump and swap information.

As mentioned, unless you set the parameters in /etc/rc.config.d/ both crashconf and savecrash.

and ensure that you have /var/adm/crash created.

Chan
Berd
Trusted Contributor

Re: Confusion between crash dump and swap area

Thanks Chan,

I am aware of how to setup the boot/dump/swap areas, but I was unsure as to how to translate the output from crashconf.

Crashconf display dump areas only, not saved dump areas.

Cheers,
BErd