Control Web Panel

WebPanel => CentOS 9 Problems => Topic started by: damaceno02@hotmail.com on June 18, 2025, 01:34:00 PM

Title: Disk full
Post by: damaceno02@hotmail.com on June 18, 2025, 01:34:00 PM
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.
Title: Re: Disk full
Post by: overseer on June 18, 2025, 02:58:59 PM
Very likely log files that aren't being rotated that ballon out of control. Search for large files:
Code: [Select]
find / -type f -size +100MIf you don't need them, truncate them to zero, starting over:
Code: [Select]
truncate -s0 /var/log/somefile.log
Title: Re: Disk full
Post by: Netino on June 24, 2025, 01:44:38 AM
Install ncdu:
Code: [Select]
# 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