Operating System - HP-UX
1833111 Members
3366 Online
110051 Solutions
New Discussion

Creating a dump logical volume onhpux11i

 
tamar_s
New Member

Creating a dump logical volume onhpux11i

I'm trying to configure dump device on IA64 machine Model rx2600 machine, running hpux 11 i.
I'm using the following procedure with no success:


#vi /etc/rc.config.d/crashconf
CRASH_INCLUDED_PAGES="all"
CRASHCONF_REPLACE=1


#/sbin/init.d/crashconf start

#crashconf -v
note down
f.e. 327680

#bc
327680/1024
320

add 10% (for kernel)
352 extents of 4MB


#lvcreate -l 352 /dev/vg00



#lvchange -C y -r n -s y /dev/vg00/lvol9

#lvextend -m 1 /dev/vg00/lvol9 #### ???? (Lior) ####

#lvlnboot -d /dev/vg00/lvol9

#lvlnboot -R

#lvlnboot -v

#vi /etc/fstab
/dev/vg00/lvol9 ... dump pri=0 0 0

#/sbin/init.d/crashconf start

#/sbin/init.d/crashconf -v #### ???? (Lior) ####


# vi /etc/rc.config.d/savecrash

SAVECRASH=1

SAVECRASH_DIR=/var/adm/crash

COMPRESS=1
==============================

I test the creation with

CTRL-B

CM>tc

X:Disable all future alert messages

x

*** Proceeding with full dump
==============================

I expect to get :
***Dumping : 100% complete (1280 of 1280 MB) (vg00/lvol9)

==============================


Instead I get the error:
*** A system crash has occurred. (See the above messages for details.)
*** The system is now preparing to dump physical memory to disk, for use
*** in debugging the crash.

*** The dump will be a SELECTIVE dump: 348 of 2042 megabytes.
*** To change this dump type, press any key within 1 seconds..
*** Proceeding with selective dump.

ERROR: can't open first dump device /dev/vg00/lvol9. Dump aborted.


Can anyone help?

Thanks
1 REPLY 1
Michael Steele_2
Honored Contributor

Re: Creating a dump logical volume onhpux11i

I don't think you have enough room in lvol9 since you're trying to save 2042 mb, 2 gb:

"...The dump will be a SELECTIVE dump: 348 of 2042 megabytes..."

Do you have another spot to put this right now that's 2gb plus? If so then :

savecrash -rf /temp/file
Support Fatherhood - Stop Family Law