OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: Julien on July 10, 2023, 04:27:54 pm

Title: Disk is 109% full
Post by: Julien on July 10, 2023, 04:27:54 pm
Hi guys,
today we noticed the box is full %109.


Code: [Select]
/dev/gpt/rootfs 49G 49G -3.9G 109% /

devfs 1.0K 1.0K 0B 100% /dev

devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev

devfs 1.0K 1.0K 0B 100% /var/unbound/dev

/usr/local/lib/python3.9 49G 49G -3.9G 109% /var/unbound/usr/local/lib/python3

i cannot seem to find the log that full up my disk.

can you please advise how to clean this up ?
Title: Re: Disk is 109% full
Post by: Patrick M. Hausen on July 10, 2023, 04:41:21 pm
Login via SSH or on the console while still possible. Then enter as root
Code: [Select]
cd /
du -skx * | sort -rn

Pick the largest directory (on top), cd into it, repeat the du command. Repeat until you found the culprit.
Title: Re: Disk is 109% full
Post by: Julien on July 10, 2023, 05:01:00 pm
Thank you so much found the cause a lot of logs were hanging in /var/log/filter

i've cleaned them and now i got my storage back