问题描述:如下

centos报No space left on device
df -h查询发现可用空间只剩20K

centos报No space left on device

解决办法:

du -h --max-depth=1 查找各分区使用情况;

centos报No space left on device

du -sh * |sort -nr 当前目录下的文件大小排序;
centos报No space left on device
find / -type f -size +1G 查找大文件;
centos报No space left on device

可以看见是buffer.log占用了大量的空间,将这个文件删掉即可

相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2021-07-19
  • 2021-10-24
  • 2022-01-31
  • 2021-08-20
  • 2021-10-03
  • 2022-12-23
猜你喜欢
  • 2021-06-30
  • 2021-08-12
  • 2021-12-24
  • 2021-10-13
  • 2022-12-23
相关资源
相似解决方案