cancel
Showing results for 
Search instead for 
Did you mean: 
Oleksandr
Sisense Team Member
Sisense Team Member

Cleaning /opt storage

In this article, we'll discuss how we can clean a Linux system of unused files and directories to free up disk space. We’ll see how to carry out the clean-up process manually. We’ll make use of tools such as du and sort.

1. Log in to the Linux server and run df -h.

  • Run cd /opt/sisense/storage && du -sBG * | sort -n
  • For multinode run it from management pod - kubectl -n sisense exec -it management-HASH  bash

2. Identify folders with the most size (e.g. data)

  • Run du -sBG farms/* | sort -n
    Note, in case of Multitenancy feature is enabled, cubes data stored in /opt/sisense/storage/tenants/<tenant_id>/farms folder and the following command should be used: 
    du -sBG /tenants/<tenant_id>/farms | sort -n
  • Check the list of cubes sorted by consumable space:

1G      farms/aSampleHealthcare_2022.02.15.08.04.46.779

1G      farms/aSampleIAAaECommerce_2022.02.15.10.52.32.376

1G      farms/aSampleLeadGeneration_2022.02.15.08.04.47.190

1G      farms/aSampleRetail_2022.02.15.08.04.47.614

Once you have reviewed please delete unused cubes and temporary files if any. 

 
This article discussed how we can clean up  /opt storage of our Linux system. We took a manual approach because it allows us to sort cubes and temporary files by consumable space.
Version history
Last update:
‎03-13-2023 07:49 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: