linux Inodes满导致数据库宕机

项目经理反馈集群环境中有个节点无法使用了需要支援下,同时发过来截图说明磁盘还是有空的。

登录系统后直接发现问题

orcl2:/home/oracle@db2> sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Wed May 29 13:59:21 2024

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


ERROR:
0RA-09925:Unable to create audit trail file
Linux-x86 64 Error: 28:No space left on device
Additional information: 9925
ORA-01075:you are currently logged on   

该类问题还是较为容易看到问题点,肯定是*.aud文件太多导致的问题

[root@db2 ~]#  df -i
Filesystem       Inodes   IUsed    IFree IUse% Mounted on
/dev/sda5      41164800  102451 41062349    1% /
tmpfs          33050646    1635 33049011    1% /dev/shm
/dev/sda1         51200      39    51161    1% /boot
/dev/sda2       9601024 9601024        0  100% /u01

处理办法:

  #  find /u01/app/grid/product/11.2.0/grid_1/rdbms/audit/  -name "*.aud"  -mmin +0 | xargs rm -rf "*.aud"
  #  find /u01/app/oracle/admin/orcl/adump/  -name "*.aud"  -mmin +0 | xargs rm -rf "*.aud"

  • 4
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值