The copy directory is too small

devdb01:/>#errpt
IDENTIFIER TIMESTAMP   T C  RESOURCE_NAME  DESCRIPTION
F89FB899   0518150011 P O dumpcheck             The copy directory is too small.
F89FB899   0517150011 P O dumpcheck             The copy directory is too small.

devdb01:/>#errpt -aj F89FB899 |more
---------------------------------------------------------------------------
LABEL:          DMPCHK_NOSPACE
IDENTIFIER:     F89FB899

Date/Time:       Wed May 18 15:00:01 BEIST 2011
Sequence Number: 830
Machine Id:      00CEF80B40C0
Node Id:         devdb01
Class:           O
Type:            PEND
Resource Name:   dumpcheck

Description
The copy directory is too small.

Probable Causes
There is not enough free space in the file system containing the copy directory to accommodate the dump.

        Recommended Actions
        Increase the size of that file system.

Detail Data
File system name
/var/adm/ras
Current free space in kb
       71104
Current estimated dump size in kb
      795648

devdb01:/># cd /var/adm
devdb01:/var/adm># du -sg *
1.91    wtmp
...
...

发现wtmp占用了近2G的空间。/var/adm/wtmp文件以二进制的形式保存所有用户登录的信息,随着登录次数的增多
如果不及时清理,这个文件会变的很大。

 

清理方法:
devdb01:/var/adm>cat /dev/null > wtmp

devdb01:/var/adm># du -sg wtmp
0.00    wtmp

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值