Centos7.6提示no space left on device时如何清理空间?
发布时间:2022-11-7 13:25:23 来源: 纵横云
Centos7.6提示no space left on device时如何清理空间?

1.可以通过清除系统日志来清理空间,输入以下命令即可清理对应文件
cat /dev/null > /var/log/syslog
cat /dev/null > /var/adm/sylog
cat /dev/null > /var/log/wtmp
cat /dev/null > /var/log/maillog
cat /dev/null > /var/log/messages
cat /dev/null > /var/log/openwebmail.log
cat /dev/null > /var/log/maillog
cat /dev/null > /var/log/secure
cat /dev/null > /var/log/httpd/error_log
cat /dev/null > /var/log/httpd/ssl_error_log
cat /dev/null > /var/log/httpd/ssl_request_log
cat /dev/null > /var/log/httpd/ssl_access_log
本文来源:
http://www.zonghengcloud.com/article/8162.html
[复制链接]
链接已复制