Prism Central (PC) VM is running out of space

  • 22 September 2020
  • 5 replies

Userlevel 5
Badge +5
  • Nutanix Employee
  • 358 replies

Similarly to a CVM, Prism Central VM can run out of space.
There are three main contributors:

  • localhost_access_log.txt not being rotated properly
  • Nutanix Insights collector log file have consumed more disk space than expected on Prism Central and Controller VMs
  • multiple Nutanix Guest Tool installers are stored in the home directory of Prism Central

While the engineering team is working on improving the product behaviour, there are some things you can do about preventing a PC failure:

  • Log in to the PC VM.
  • Navigate to the /home partition
  • List the contents of the directory by size and look for any large unused files that can be deleted.

Some common sub-directories under /home where large files are likely to be found. Files in these locations can be deleted to free up space.
:exclamation:  Delete the files in the folder but NOT the folder itself.

  • /home/nutanix/software_downloads/ - Delete any old versions other than the versions you are currently upgrading
  • /home/nutanix/software_uncompressed/ - Delete any old versions other than the versions you are currently upgrading
  • /home/nutanix/data/cores - Delete old stack traces that are no longer needed
  • /home/nutanix/data/log_collector/ - Delete old NCC Logs with NCC-logs-2018-07-20-11111111111111-1032057545.tar format
  • /home/nutanix/data/logbay/bundles/ - Delete old NCC Logbay bundles
  • /home/nutanix/foundation/isos/ - Old ISOs
  • /home/nutanix/foundation/tmp/ - Temporary files that can be deleted

For more causes, resolution and commands read KB-8950 NCC Health Check: Prism Central VM <PCVM_IP> home partition disk usage exceeds critical limit 90 %.
For the same issue on the CVM see CVM Non-Root Partitions Space Usage High - clear space safely.

5 replies

Thanks for this topic!

Quick question, is it also possible on the PCVM to delete the content of /home/nutanix/data/installer/ as mentionned for the CVMs? 

I’ll otherwise open a case as advised on KB 5228.

Userlevel 5
Badge +5

Hi LionelS,

There should be only one the currently installed version in that location. Having that directory empty will cause the upgrade pre-checks to fail and would require remediation to allow for the upgrade to happen.

Hi Alona,

Many thanks for your feedback. Exactly, there is only one version there. I’ll let it where it is 🙂.

Good to know for the pre-checks.

Hi Alona, 

For my PCVM has also issue with free space on /home partition. 

The biggest folder is /data/logs. There are lot of log files under this folder. Is it possible to delete the old ones? 

nutanix@NTNX--A-PCVM:~$ sudo du -aSxh | sort -h | tail -n 10
353M    ./tmp
368M    ./data/logbay/taskdata/0e43a33c-81d3-4d89-80dd-e5eb6beb2281
368M    ./data/logbay/taskdata/0e43a33c-81d3-4d89-80dd-e5eb6beb2281/
371M    ./data/installer/el7.3-release-euphrates-
565M    ./data/installer/el7.3-release-euphrates-
578M    ./data/installer/el7.3-release-euphrates-
659M    ./data/installer/el7.3-release-euphrates-
3.4G    ./data/installer/el7.3-release-euphrates-
4.1G    ./data/logs/sysstats
4.7G    ./data/logs

Is the scavenger service not working properly in my environment? Or scavenger service does not delete the old files in /data/logs folder?


This whole process is a joke. Customers shouldn't have to deal with this. The disk space is clearly undersized and there should be an automatic process which clears the disk space for next update. I have to clean all the Prism Central created garbage every time I want to upgrade the Prism Central and every time there is less disk space available even cleaning the directories mentioned above. If Prism Central is reserving 2500 GB disk space why this is an issue in first place???