Aix系统errpt报错E87EF1BE“The largest dump device is too small.”的解决办法

1、查看errpt报错信息:

# errpt
IDENTIFIER TIMESTAMP  T C RESOURCE_NAME  DESCRIPTION
E87EF1BE   0412150015 P O dumpcheck      The largest dump device is too small.

查看详细信息:

# errpt -aj E87EF1BE
---------------------------------------------------------------------------
LABEL:          DMPCHK_TOOSMALL
IDENTIFIER:     E87EF1BE


Date/Time:       Sun Apr 12 15:00:01 CST 2015
Sequence Number: 147
Machine Id:      00F8E7B74C00
Node Id:         yamngdb1
Class:           O
Type:            PEND
WPAR:            Global
Resource Name:   dumpcheck       


Description
The largest dump device is too small.


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
lg_dumplv                                                                                                                       
Largest dump device size in kb
     5242880
Current estimated dump size in kb
     5272780

2、评估需要扩容得大小

上面errpt,最后4行信息给出了dump分区的当前大小和推荐大小。

# 查看当前dump主分区
# sysdumpdev -l
primary              /dev/lg_dumplv
secondary            /dev/sysdumpnull
copy directory       /var/adm/ras
forced copy flag     TRUE
always allow dump    FALSE
dump compression     ON
type of dump         traditional

也可以使用:

sysdumpdev -e

查看估计值。

查看当前逻辑分区lg_dumplv的大小:

# lslv lg_dumplv
LOGICAL VOLUME:     lg_dumplv              VOLUME GROUP:   rootvg
LV IDENTIFIER:      00f7d3f800004c000000013b45cf5d14.11 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               sysdump                WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        512 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                18                     PPs:            10
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    32
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE                              
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     NO                 

当前大小为(PP SIZE)*(PPs):

512*10*1024*1024= 5368709120 

需要扩容大小为:

5399537254 - 5368709120 = 30828134

即:

30828134/1024/1024=29M

3、查看rootvg剩余PPs

VOLUME GROUP:       rootvg                   VG IDENTIFIER:  00f8e7b700004c0000000145aa472f5f
VG STATE:           active                   PP SIZE:        512 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1116 (571392 megabytes)
MAX LVs:            256                      FREE PPs:       498 (254976 megabytes)
LVs:                14                       USED PPs:       618 (316416 megabytes)
OPEN LVs:           13                       QUORUM:         1 (Disabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        no
MAX PPs per VG:     32512                                     
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 1024 kilobyte(s)         AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable 
PV RESTRICTION:     none                     INFINITE RETRY: no
DISK BLOCK SIZE:    512  

剩余498 PP,每个PP 512M,扩容1个即可。

4、扩容lg_dumplv:

extendlv lg_dumplv 1

1表示扩1个PP

5、检查扩容效果:

# lslv lg_dumplv
LOGICAL VOLUME:     lg_dumplv              VOLUME GROUP:   rootvg
LV IDENTIFIER:      00f8e7b700004c0000000145aa472f5f.11 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               sysdump                WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        512 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                11                     PPs:            11
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    32
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE                              
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     NO                                     
INFINITE RETRY:     no 

PPs已变成11。

手动运行一次dumpcheck:

/usr/lib/ras/dumpcheck

使用errpt命令,查看是否有最新的报错产生,如果没有,则问题解决。

可使用:

errclear 0

清空errpt信息。