Operating System - HP-UX
1753368 Members
5056 Online
108792 Solutions
New Discussion юеВ

Re: Failure in Creating Dump lvol

 
SOLVED
Go to solution
sysad_boy
Frequent Advisor

Failure in Creating Dump lvol

I was given the task to create a dump lvol. I made use of these commands and executed it in this very same order:

1. /usr/sbin/lvcreate -C y -L 14000 -n lvdump -r n -s y /dev/vg03
2. /usr/sbin/lvlnboot -d /dev/vg03/lvdump

But after executing #2 it returned a no valid boot data message.

# /usr/sbin/lvlnboot -d /dev/vg03/lvdump
No valid Boot Data Reserved Areas exist on any of the
Physical Volumes in the Volume Group "/dev/vg03".
Issue the pvcreajavascript:postMessageSubmit('submit');te -B command to create a Boot Area on a Physical Volume.

I read the man pages for lvlnboot and I made use of all the right options for creating a dump lv. What seems to be the problem and why I can't execute lvlnboot?


TIA

6 REPLIES 6
sysad_boy
Frequent Advisor

Re: Failure in Creating Dump lvol

By the way here are the characteristics of my lv after creation:

# /usr/sbin/lvdisplay -v /dev/vg03/lvdump
--- Logical volumes ---
LV Name /dev/vg03/lvdump
VG Name /dev/vg03
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 14000
Current LE 3500
Allocated PE 3500
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t4d0 3500 3500





as you can see its allocation is strict/contiguous and bad block is off which are the requirements of a dump device.
Jitesh purohit_1
Regular Advisor
Solution

Re: Failure in Creating Dump lvol

Does your VG:- vg03 is a boot vg, This seems to be a issue with corruption of boot area , can you paste the output of lvlnboot -v

Thanks
Jitesh
Steven E. Protter
Exalted Contributor

Re: Failure in Creating Dump lvol

Shalom,

The dump area is at least 50% of system ram?

Please try this:

/usr/sbin/lvlnboot -d /dev/vg03/lvdump
rc=$?
echo "response code is : $rc"

I'd like to see what the system response is.

as an additional guide:

Creating a compressed system dump (11.23)
http://www.docs.hp.com/en/5992-2852/ch05s02.html
http://docs.hp.com/en/5434/Cdump_WP.book.pdf

I don't know which docs to give you because I don't know your OS.

Hopefully a generic document:
http://docs.hp.com/en/sysdmp-62001/sysdmp-62001.pdf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sysad_boy
Frequent Advisor

Re: Failure in Creating Dump lvol

My operating system is HP-UX 11.11

Here is the lvlnboot -v output

# /usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t0d0 (0/0/4/0/0.8.0.255.0.0.0) -- Boot Disk
/dev/dsk/c3t0d0 (1/0/3/0/0.8.0.255.0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t0d0
/dev/dsk/c3t0d0
Root: lvol3 on: /dev/dsk/c0t0d0
/dev/dsk/c3t0d0
Swap: lvol2 on: /dev/dsk/c0t0d0
/dev/dsk/c3t0d0
Dump: lvol2 on: /dev/dsk/c0t0d0, 0
likid0
Honored Contributor

Re: Failure in Creating Dump lvol

the problem is lvlnboot writes to a LABEL, so it can read the configuration when booting, so you need space to save this LABEL and other boot config.

So when you are creating a disk that is going to be use to boot the system you should create it with the -B option.

#pvcreate -B /dev/disk

but why don't u use the boot swap space device that is in vg00 for dump ?


if you need more dump space, you don't have to add it at boot time, just add it to /etc/fstab:

/dev/vg03/lvdump ... crash default 0 0

and to add it before the reboot:

#crashconf /dev/vg03/lvdump
Windows?, no thanks
Steven E. Protter
Exalted Contributor

Re: Failure in Creating Dump lvol

Shalom,

http://www.hpux.ws/?p=21

This guide includes a complete procedure to mirror, which replicated the dump area on a second disk, making it bootable.

It therefore contains all the information you need to do a dump area (and a lot more).

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com