[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 839
  • Last Modified:

The largest dump device is too small

I am getting error about dmpchk_toosmall E87EF1BE.

Probable Causes
Neither dump device is large enough to accommodate a system dump at this time.

        Recommended Actions
        Increase the size of one or both dump devices.

Detail Data
Largest dump device
lgdumplv
Largest dump device size in kb
     550xxxx
Current estimated dump size in kb
     576xxxx

In this case if I need to increase dump device size, what is the proper procedure to dump device size in mirrored rootvg.

Thanks.
0
sams20
Asked:
sams20
  • 6
  • 5
1 Solution
 
woolmilkporcCommented:
Hi,

(1) Determine your dump devices:

sysdumpdev -l

You might see something like this:
primary              /dev/lgdumplv
secondary            /dev/sysdumpnull
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    FALSE
dump compression     ON

Open in new window

sysdumpnull is a dummy device, I only assume it as the secondary device.
If the secondary device is a real device use the name you found with the command given above to repeat all the commands given below (except (3)) for that device!

(2) Check the device sizes

lslv lgdumplv

Take the value shown next to "LPs" on the left and multiply it with the value next to "PP Size" on the right to get the device size in MB. Note the value for "PP Size". You will neeed it in (5) below.

(3) Check the size required to accommodate a dump:

sysdumpdev -e | awk '{printf "%.0f\n", $NF /1024/1024}'

This will show the estimated dump size in MB.

(4) Compute the difference between the values obtained in (2) and (3).

(5) Divide the value found in (4) by the "PP Size" found in (2). Round up to the next integer. This is the number of required additional partitions. I'll call it "nn" below.

(6) Increase the size of the device(s)

extendlv lgdumplv nn

That's all. The change will take effect on both sides of the mirror, and there is no background process which must be restarted.

(Optional) Check for success:

/usr/lib/ras/dumpcheck -p

If you don't get any output everything is fine now.
0
 
sams20Author Commented:
I got,

1)
# sysdumpdev -l
primary              /dev/lgdumplv
secondary            /dev/sysdumpnull
copy directory       /xxxx_dump
forced copy flag     FALSE
always allow dump    TRUE
dump compression     ON
type of dump         traditional

2)
#lslv lgdumplv
PP SIZE:        256 megabyte(s)

LPs: 21

21LPs size: 5376MB

PPs: 42.

3)
I don't know which one should be correct,

# sysdumpdev -e | awk '{printf"%.of\n",$NF /1024/1024}'
13000f
OR
# sysdumpdev -e | awk '{print "%.of\n",$NF /1024/1024}'
%.of
 5632.8
0
 
woolmilkporcCommented:
sysdumpdev -e | awk '{printf "%.0f\n", $NF /1024/1024}'

"0" in "%.0f\n" is the digit  zero, not the letter "o".
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sams20Author Commented:
from, sysdumpdev -e | awk '{printf "%.0f\n", $NF /1024/1024}'
I got 5633 MB

4) Difference, 257MB

5) Devided by PPs ---> 6.1
Then here, nn = 6.1
0
 
woolmilkporcCommented:
You must divide by "PP Size", as I wrote in (5), not by "PPs".

257  divided by 256 rounded up to the next integer gives 2.

So "nn" is "2" and the command to extend the dump device is

extendlv lgdumplv 2

We're almost there ...
0
 
sams20Author Commented:
Now I understand, but I have a question here, if I extend lgdumplv on one hdisk, what abaout another hdisk. It looks like mirrored rootvg, there are two hdisks in the rootvg.
# lsvg -p rootvg
hdisk0            active            536         396        
hdisk1            active            536         396
0
 
woolmilkporcCommented:
Dump devices are generally not mirrored.

Check with

lslv -l lgdumplv

Do you see both disks?

If so (which I doubt) there is no reason to get worried nonetheless. Changing an LV always takes effect on both sides of the mirror.
0
 
sams20Author Commented:
With this command, "lslv -l lgdumplv" I got both hdisks.
0
 
woolmilkporcCommented:
So your dump device is mirrored which is quite uncommon, indeed.

So run

extendlv lgdumplv 2

and the dump LV will be extended by 2 LPs (logical partitions) which means that both copies of the LV will be extended by 2 PPs (physical partitions) each.

lsvg -p rootvg will then show

hdisk0            active            536         394        
hdisk1            active            536         394

Don't worry, LVM will take care of all this, there is no other command required than just extendlv.
0
 
sams20Author Commented:
If I extend lgdumplv with more than 2PPs like 3 or 4 PPs, will it work.
0
 
woolmilkporcCommented:
Yes, why not? There is sufficient space in rootvg anyway.

Do you want to make provisions for future growth of your crash dumps?
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now