Page 1 of 1

RPi HDD / free space is wrong

Posted: Tuesday 12 September 2017 19:49
by niclasc
I'm using Motherboard sensors to monitor my Raspberry Pi 3. I run my RPi from USB-connected 32GB SSD.

df -h gives:
Filesystem Size Used Avail Use% Mounted on
/dev/root 30G 2.5G 26G 9% /

But in domoticz it says that HDD / is 50.96% full

So the sensor is not working

Any idea how to fix this?

Re: RPi HDD / free space is wrong

Posted: Tuesday 12 September 2017 19:54
by niclasc
It appears that / and /boot are switched

/ shows free space for /boot
And /boot shows free space for /

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        30G  2.5G   26G   9% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   12M  452M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/sda1        42M   21M   21M  51% /boot
tmpfs            93M     0   93M   0% /run/user/1000