你好大师,
今天我有一个警报:系统非根部分区空间使用量高
我读了这个KB
并检查我的文件系统和此目录内的所有文件都可以(小尺寸):
- /home/nutanix/data/cores/
- /home/nutanix/data/binary_logs/
- /home/nutanix/data/ncc/installer/
- /home/nutanix/data/log_collector/
我的问题看起来是在“/home/nutanix/data/logs/ncc_log_collector.log”文件中。它实际上具有这种大小(14和6 GB):
$ allssh du -h〜/data/logs/ncc_log_collector.log
=================== 192.168.150.92 ========================
5.7G/home/nutanix/data/logs/NCC_LOG_COLLECTOR.LOG
================== 192.168.150.94 ==========================
14G/home/nutanix/data/logs/NCC_LOG_COLLECTOR.LOG
================== 192.168.150.96 =========================
238m/home/nutanix/data/logs/ncc_log_collector.log
该文件不显示错误,只有信息。可以安全地删除它吗?我可以使用“ rm/home/nutanix/data/logs/ncc_log_collector.log”删除它,或者我需要其他方式?
PS:Nutanix版本2019.02.11 LTS和NCC版本:3.7.1
谢谢和细心。
最好的答案mutahir
Yes - you can delete that file as it\u2019s a log bundle.\u00a0 if you have a recent support case with nutanix, you can download that log-bundle to your computer and then delete it off the cvm.<\/p>
cd into :<\/p>
then<\/p> BR<\/p> PS : It will be good if you can upgrade ncc via Prism > Upgrade software to the latest version.<\/p>","className":"post__content__best_answer"}">cd \/home\/nutanix\/data\/logs\/<\/code><\/p>
rm ncc_log_collector.log<\/code><\/p>