# Nutanix: Increased CVM system non-root partition usage due to excessive logging

- Link: https://www.silviobalduzzi.com/en/2020/04/nutanix-increased-cvm-non-root-partition-usage/
- Published: 2020-04-29T14:49:30+02:00
- Author: balduz84

In my lab, as I wrote in the dedicated post, I have a 3-node cluster running on 
NUTANIX CE.

![](https://i0.wp.com/www.silviobalduzzi.com/wp-content/uploads/2020/04/NutanixCE.
png?resize=324%2C56&ssl=1)

Today I set out to fix an alert that had kept popping up in Prism for a few days:“`
Increased CVM system non-root partition usage due to excessive logging, storage 
of large log bundles or unused 1-click binaries.`“

I connected via SSH to the CVM reporting the problem and started looking at which
folders (inside /home) might contain files that were no longer needed and could 
therefore be deleted. Searching online, I found several tips for freeing up space
inside the CVM, which I’m sharing with you below:

In this first location I found the downloads from earlier runs (during the 1-click
update procedures), which can be removed without any problem:
`/home/nutanix/software_downloads`

In this other location, instead, I found the same updates as above, but uncompressed.
Obviously this turned out to be the heaviest folder and, after removing its contents,
I was able to get well below 65% usage of the space available for /home:
`/home/
nutanix/software_uncompressed`

Here, instead, you can use the “`rm -Rf *.gz`” command to clean up all the logs 
that have been archived and compressed into .gz packages:
`/home/nutanix/data/logs`

With the “`df -h`” command you can check the disk space in use and make sure things
are back to normal. For example, in my case:

`nutanix@NTNX-55be5a51-A-CVM:CVM1:~$ df -h
Filesystem Size Used Avail Use% Mounted
on/dev/sdc1 9.8G 6.8G 3.0G 70% /devtmpfs 7.9G 0 7.9G 0% /devtmpfs 512M 0 512M 0%/
dev/shmtmpfs 7.9G 648K 7.9G 1% /runtmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup/dev/loop0
240M 2.2M 222M 1% /tmp/dev/sdc3 40G 24G 16G **61%** /hometmpfs 1.6G 0 1.6G 0% /run/
user/1000/dev/sda1 220G 44G 173G 21% /home/nutanix/data/stargate-storage/disks/BTWL34500ASU240N/
dev/sdc4 399G 104G 291G 27% /home/nutanix/data/stargate-storage/disks/182201802391/
dev/sdb1 1.8T 16G 1.8T 1% /home/nutanix/data/stargate-storage/disks/Z4Z9BZ7F

I hope this post can help some fellow NUTANIX enthusiast 😉
