Operating System - HP-UX
1849496 Members
6622 Online
104044 Solutions
New Discussion

Re: error with dump in rc.log

 
Marilyn DuChene
Frequent Advisor

error with dump in rc.log

I'm getting the following error in rc.log:

Configure system crash dumps
Output from "/sbin/rc1.d/S080crashconf start":
----------------------------
/dev/vg00/Dump: warning: duplicate device
EXIT CODE: 0

I'm running hp-ux 11.31

What's configured incorrectly?

#crashconf -v
Crash dump configuration has been changed since boot.

CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- -------------------------------------
UNUSED 45998 no, by default unused pages
USERPG 121357 no, by default user process pages
BCACHE 1979171 no, by default buffer cache pages
KCODE 9156 no, by default kernel code pages
USTACK 1569 yes, by default user process stacks
FSDATA 24 yes, by default file system metadata
KDDATA 1901818 yes, by default kernel dynamic data
KSDATA 6613 yes, by default kernel static data
SUPERPG 111159 no, by default unused kernel super pages

Total pages on system: 4176865
Total pages included in dump: 1910024

Dump compressed: ON

Dump Parallel: ON

DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ------------ ------------ ------------ -------------------------
3:0x000002 58873696 4194304 64:0x00000b /dev/vg00/Dump
------------
4194304
Persistent dump device list:
/dev/vg00/Dump

#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk5_p2 -- Boot Disk
/dev/disk/disk3_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk5_p2
/dev/disk/disk3_p2
Root: lvol3 on: /dev/disk/disk5_p2
/dev/disk/disk3_p2
Swap: lvol2 on: /dev/disk/disk5_p2
/dev/disk/disk3_p2
Dump: Dump on: /dev/disk/disk5_p2, 0

Thanks
Marilyn
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: error with dump in rc.log

The last line of lvlnboot -v looks strange:

Dump: Dump on: /dev/disk/disk5_p2, 0

should be like

Dump: lvol2 on: /dev/disk/disk5_p2, 0



Note this
Dump: lvol2

Your output shows nothing

Try to set the dump entry again (lvlnboot -d ...) and check again.

Try to remove the entry using http://docs.hp.com/en/B2355-60130/lvrmboot.1M.html and re-create.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Marilyn DuChene
Frequent Advisor

Re: error with dump in rc.log

I separated my dump and swap. Swap is on lvol2 and dump is on /dev/vg00/Dump.
Torsten.
Acclaimed Contributor

Re: error with dump in rc.log

Set
lvlnboot -d /dev/vg00/dump

(or whatever the LVOL name is) and check again.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Marilyn DuChene
Frequent Advisor

Re: error with dump in rc.log

I ran the lvlnboot -d /dev/vg00/Dump and the output remains the same. I guess what is confusing me is the mix of the old and new commands, so I'm not sure all is OK, or if I've duplicated something somewhere. Maybe my lvlnboot & crashconf outputs are OK.

I put an entry in my /etc/fstab for my dump, and I disabled my savecrash (SAVECRASH=0). On the /etc/rc.config.d/crashconf I have the following:
CRASHCONF_ENABLED=1
CRASHCONF_READ_FSTAB=1
CRASHCONF_REPLACE=0
CRASHCONF_CONCURRENT_DUMP=1

Do you think I need to have CRASHCONF_READ_FSTAB=0 instead? I see on my crashconf output that my dump is persistent. I don't know if that means it is already set somewhere and I'm trying to set it again?
Torsten.
Acclaimed Contributor

Re: error with dump in rc.log

Your output of lvlnboot is ok, but did you check the fstab for correctness and duplicates?

http://docs.hp.com/en/B2355-60130/fstab.4.html

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Marilyn DuChene
Frequent Advisor

Re: error with dump in rc.log

Here's the entry I put in fstab - is it OK?

/dev/vg00/Dump / dump defaults 0 0
Marilyn DuChene
Frequent Advisor

Re: error with dump in rc.log

OK - I took out the entry in fstab, and changed the /etc/rc.config.d/crashconf to
CRASHCONF_READ_FSTAB=0. It seems the crashconf -s makes the dump persistent and these are not necessary. I rebooted, and everything shows up OK - so I'm assuming it's OK.