Author Topic: Disk full  (Read 94 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Disk full
« 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.

Offline
*****
Re: Disk full
« Reply #1 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

Offline
***
Re: Disk full
« Reply #2 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