Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk shortage warning #955

Closed
DL6ER opened this issue Dec 27, 2021 · 2 comments
Closed

Disk shortage warning #955

DL6ER opened this issue Dec 27, 2021 · 2 comments
Labels

Comments

@DL6ER
Copy link
Member

DL6ER commented Dec 27, 2021

I'm seeing the same error but on a raspberry Pi 4, fresh install

Originally posted by @krillin666 in #951 (comment)

@DL6ER
Copy link
Member Author

DL6ER commented Dec 27, 2021

Further replies:

@krillin666 which operating system are you using? Are you running Pi-hole in a docker container? How does df -h look like?

by @DL6ER

@krillin666 which operating system are you using? Are you running Pi-hole in a docker container? How does df -h look like?

Hi @DL6ER , I'm running raspbian OS. Running df -h i get:

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       440G  398G   25G  95% /
devtmpfs        3.7G     0  3.7G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           3.9G  9.3M  3.9G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda1       253M   49M  204M  20% /boot
tmpfs           790M     0  790M   0% /run/user/1000

Also the errors on the Admin interface:

image

by @krillin666

I'm running raspbian OS

Are you running Pi-hole in docker? If not - then please open a thread on discourse.pi-hole.net

This thread is to track a specific issue with this warning showing up in docker containers

by @PromoFaux

@DL6ER
Copy link
Member Author

DL6ER commented Dec 27, 2021

I sort of moved your issue over here, unfortunately, Github doesn't allow to really isolate + move posts when it is appropriate.

As you df snippt shows, you are not affected by any bug. Indeed the warning is correct as the default is to warn if more than 90% of disk space is used, for your it is 95%:

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       440G  398G   25G  95% /

You can either increase the limit to silence the warning until you hit again a threshold (say CHECK_DISK=98) or disable the check altogether (not recommended, but possible with CHECK_DISK=0). See here for more information.

@DL6ER DL6ER added the resolved label Dec 27, 2021
@DL6ER DL6ER closed this as completed Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant