Re: sysdump copy dir.



The best option is not to use a copy directory, but to have two dedicated
dump devices rather than using hd6.

We usually call ours hd7 and hd7a, (dump devices shouldn't be mirrored so
these occupy the same locations on the two disks of a mirrored rootvg), but
the name isn't important. (hd7 was the standard name for the dump device in
older versions of AIX - v3, iirc.)

You can get the size of these using "sysdumpdev -e". However, you should be
aware that this isn't always very accurate and the estimated size can
increase significantly over time as more use is made of the paging spaces.
It is advisable to be generous in the allocation. The size can vary
considerable from one system to another, depending on the installed software
and the nature of the applications on the server. If it's too small, you'll
see errors to that effect in errpt. On my servers, it seems to range from
around 200MB up to several GB!

The advantage of using hd7 and hd7a, (or whatever) is that the system can be
booted immediately with no need to copy any data, but the dump remains
available when the system is up, (until the next crash). Now that disks are
so much larger than they used to be space is not normally a problem. It can
still be an issue if you've got an older server with relatively small - e.g.
4.5GB - disks.

--
Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at https://lists.princeton.edu/listserv/aix-l.html

New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX

N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.


-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Shawn Bierman
Sent: 24 May 2006 15:16
To: aix-l@xxxxxxxxxxxxx
Subject: sysdump copy dir.


How big should the copy dir be for a system dump?

Currently I am receiving "The copy directory is too small." in error
report.


biermans@velma:/home/biermans > df -k /var/adm/ras
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd9var 81920 15164 82% 700 4% /var

biermans@velma:/home/biermans > sudo sysdumpdev -e
0453-041 Estimated dump size in bytes: 377487360

biermans@velma:/home/biermans > sudo sysdumpdev -l
primary /dev/hd6
secondary /dev/sysdumpnull
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump FALSE
dump compression OFF


I have another node where the /var/adm/ras is smaller than the
sysdumpdev estimate and I do not receive these errors.

biermans@sf1n04en4:/home/biermans > df -k /var
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd9var 1048576 531960 50% 8837 4% /var

biermans@sf1n04en4:/home/biermans > sudo sysdumpdev -l
primary /dev/lg_dumplv
secondary /dev/sysdumpnull
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump TRUE
dump compression OFF

biermans@sf1n04en4:/home/biermans > sudo sysdumpdev -e
0453-041 Estimated dump size in bytes: 3768582144


Why do I get the error on one node and not the other? Clearly neither
filesystem will hold a dump of their estimated sizes (377M and 3.7G
respectivly)

-shawn



Relevant Pages

  • Re: dumpcheck...copy directory too small
    ... always allow dump FALSE ... I create two unmirrored dump devices, one on each disk in rootvg. ... paging space, it just splats right over the top of it. ... dumpcheck doesn't realise this, and is reporting incorrectly. ...
    (AIX-L)
  • Re: dumpcheck...copy directory too small
    ... paging space, it just splats right over the top of it. ... dumpcheck doesn't realise this, and is reporting incorrectly. ... The dump size increased with migration from 4.3 to 5L, ... For some time now I've relied on dedicated dump devices - good ...
    (AIX-L)
  • Re: Losing ssh session when doing intensive disk I/O & background fsck with RELENG_6
    ... but that's not the real problem I report here. ... dump devices don't have to ... If you tell your kernel to dump on ... configure dumping" which resulted in odd warnings during the boot. ...
    (freebsd-current)
  • Re: How to access /dev/sysdumpnull?
    ... This is regarding a doubt with the dump devices. ... device is /dev/hd6.....this seems fine since the primary dump device ... server crashing you are going to need that dump. ...
    (comp.unix.aix)
  • Re: sysdump copy dir.
    ... dump devices rather than using hd6. ... and the nature of the applications on the server. ... Filesystem 1024-blocks Free %Used Iused %Iused Mounted on ... forced copy flag TRUE ...
    (AIX-L)