Disk full

Started by damaceno02@hotmail.com, June 18, 2025, 01:34:00 PM

Previous topic - Next topic

damaceno02@hotmail.com

My VPS is showing that the disk is full, I don't know what to do. I've already looked at the partitions and there's nothing taking up space.

overseer

Very likely log files that aren't being rotated that ballon out of control. Search for large files:
find / -type f -size +100M
If you don't need them, truncate them to zero, starting over:
truncate -s0 /var/log/somefile.log

Netino

Install ncdu:
# dnf install ncdu

Navigate to the directory you want to search and simply run 'ncdu'.
This will show you how much disk space is consumed by each subdirectory.

Regards,
Netino