1 Login to Proxmox VE web gui
2 Navigate to Datacenter -> Storage, note down the disk we want to check
3 Launch “Shell” for the node we want to check, or via SSH or directly from Proxmox host
4 Install “ncdu” utility
apt install -y ncdu
4 Use following command to check (Here we use “/rpool/images” as example)
Note 1: Use Arrow keys to navigate, Left = Upper level folder, Right = Open the highlighted folder, Use “q” key to exit the program
Note 2: Change the directory to suit your situation
If we are not sure which folder, we can simply just use “ncdu /” to scan everything on the host.
For finding largest file/folder or showing disk space usage on Windows, refer to this one: How to: Find Largest file on Windows, Windows 7, Windows 10, Microsoft Windows, Windows Server (Disk Space Usage)
Ncdu (NCurses Disk Usage) is a command line tool to view and analyse disk space usage on Linux.
It can be easily installed on most Linux systems with package management system.
Debian/Kali Linux/Ubuntu etc. Linux installation
sudo apt install ncdu -y
sudo aptitude ncdu -y
RHEL/CentOS/Fedora etc. Linux installation
If EPEL repo is not installed yet, we have to install EPEL repo first
sudo yum -y install epel-release
Next, we can now install ncdu
sudo yum install ncdu -y
Using ncdu is simple.
Show current working directory info
Show info for a folder e.g. “/etc”
To show more info about a folder while in ncdu, press “i” key (Press “i” again to dismiss)
Press Shift + ? to show help document while in ncdu
Press “q” key to quit menus and the ncdu program