Suddenly Disk full

Hi,

so, I’ve been fiddling around a bit and found, that my cache was too large, so I cleaned all of the temp and cached items.
new status: System is running again :blush:
Thanks @christoph_wempe for your hint on Ncdu!!

[13:07:27] openhabian@openHABianPi:/$ sudo df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root        15G    2,8G   12G   20% /
devtmpfs        481M       0  481M    0% /dev
tmpfs           486M       0  486M    0% /dev/shm
tmpfs           486M    6,8M  479M    2% /run
tmpfs           5,0M    4,0K  5,0M    1% /run/lock
tmpfs           486M       0  486M    0% /sys/fs/cgroup
/dev/mmcblk0p1   41M     21M   20M   52% /boot

however, there are subsequent issues, where I hope I can get your expert guidance on:

  • I’m still puzzled about @Dim’s statement about:

First of all, your main (root) partition is 15Gigs. The other partitions on the SD Card have been used for other purposes. It seems that you formatted the card as 16G (even if it has a 32G capacity).

Could it be that my backup solution is triggering it?
I’m doing a sudo dd if=/dev/mmcblk0 of=/mnt/DS716/backups/SD-Backup.img. Is an image of a smaller SD not transferrable to a larger (say 32GB to 64GB) without “blocking” the remaining space of the larger SD?
(Hopefully I expressed myself clearly :wink: )

UPDATE: I have solved the below by running sudo /etc/init.d/rpcbind start

  • I have lost the subdirectories of my mounted drive on my NAS. The Folders (namely influxdb, rrd4j, backups) are still present on the NAS, but a ls via the console from the rpi doesn’t show anything besides the log files.
events.log  openhab.log  test.text

How can I restore those subdirectories to be able to allow the openhabianpi to “see” them?

  • I get a lot of those errors in the logs now:
Could not create rrd4j database file '/var/lib/openhab2/persistence/rrd4j/Sunset_Azimuth.rrd': /var/lib/openhab2/persistence/rrd4j/Sunset_Azimuth.rrd (Datei oder Verzeichnis nicht gefunden)

(To answer your question on how I moved the presistance: [SOLVED] Write Persistence data to NFS share - #4 by KurtS

Hope you can help!
Kurt