免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 12294 | 回复: 8
打印 上一主题 下一主题

根目录满了!怎么清理? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-31 08:44 |只看该作者 |倒序浏览
最近服务器当机。经仔细查看事根目录使用达到100%。原来有3G的剩余空间。查看多个临时目录没有占用太多。请问高手应该如何清理?

论坛徽章:
0
2 [报告]
发表于 2005-10-31 08:52 |只看该作者
# cd /var\r\n# ls\r\nadm     audit  cron  dt    ld    log  mail  nfs  ntp  preserve  sadm  snmp   statmon  tmp   vistmp\r\napache  crash  dmi   inet  ldap  lp   news  nis  opt  run       saf   spool  testtmp  uucp  yp\r\n# du -sk *\r\n7654    adm\r\n343     apache\r\n1       audit\r\n417651  crash\r\n472     cron\r\n44      dmi\r\n29      dt\r\n1       inet\r\n4       ld\r\n1       ldap\r\n8       log\r\n3       lp\r\n1606    mail\r\n1       news\r\n1       nfs\r\n1       nis\r\n2       ntp\r\n4       opt\r\n3935    preserve\r\n32      run\r\n99485   sadm\r\n117     saf\r\n131     snmp\r\n66      spool\r\n4       statmon\r\n7       testtmp\r\n1       tmp\r\n10      uucp\r\n1       vistmp\r\n23      yp\r\n# \r\n\r\n这个/var的内容和大小。

论坛徽章:
0
3 [报告]
发表于 2005-10-31 08:53 |只看该作者
Oct 28 04:46:00 aucma-ev ufs: [ID 213553 kern.notice] NOTICE: realloccg /: file system full\r\nOct 28 05:46:00 aucma-ev ufs: [ID 213553 kern.notice] NOTICE: realloccg /: file system full\r\nOct 28 06:46:00 aucma-ev ufs: [ID 213553 kern.notice] NOTICE: realloccg /: file system full\r\nOct 28 07:46:00 aucma-ev ufs: [ID 213553 kern.notice] NOTICE: realloccg /: file system full\r\nOct 28 08:16:13 aucma-ev ufs: [ID 845546 kern.notice] NOTICE: alloc: /: file system full\r\nOct 28 08:16:24 aucma-ev last message repeated 1 time\r\nOct 28 08:19:44 aucma-ev ufs: [ID 845546 kern.notice] NOTICE: alloc: /: file system full\r\nOct 28 08:20:23 aucma-ev last message repeated 3 times\r\nOct 28 08:24:42 aucma-ev ufs: [ID 845546 kern.notice] NOTICE: alloc: /: file system full\r\nOct 28 08:26:34 aucma-ev last message repeated 3 times\r\n\r\n\r\n曾经有这个报错。但是没有找到相同名称的目录

论坛徽章:
0
4 [报告]
发表于 2005-10-31 09:13 |只看该作者
可以做个软连接,这样就可以扩大根的空间

论坛徽章:
0
5 [报告]
发表于 2005-10-31 09:14 |只看该作者
现在的问题是我找不出增长点在那里?

论坛徽章:
0
6 [报告]
发表于 2005-10-31 10:58 |只看该作者
417651  crash把这里的大文件都删除了

论坛徽章:
0
7 [报告]
发表于 2005-10-31 11:05 |只看该作者
还是彻底更换一个硬盘吧。

论坛徽章:
0
8 [报告]
发表于 2005-10-31 11:15 |只看该作者
用du -k查看一下你的/下都有那些比较大的.

论坛徽章:
0
9 [报告]
发表于 2005-10-31 11:53 |只看该作者
原帖由 race 于 2005-10-31 10:58 发表\r\n417651  crash把这里的大文件都删除了
\r\n能告诉我这里面的文件是干什么用的吗?我们是这个服务器是oracle erp的服务器。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP