meaning pi-sensor HDD /

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

Post Reply
BartSr
Posts: 347
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.3
Location: Netherlands
Contact:

meaning pi-sensor HDD /

Post by BartSr »

Hi !
I have all pi-sensors active
HDD/ shows almost 100%. Feels like being not OK
What to do? It seems there's plenty space on the SD-card

-Bart
Attachments
raspberry Schermafbeelding 2024-06-11 221308.jpg
raspberry Schermafbeelding 2024-06-11 221308.jpg (14.46 KiB) Viewed 724 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: meaning pi-sensor HDD /

Post by FireWizard »

Hi,

What does

Code: Select all

df -h
show

Regards
BartSr
Posts: 347
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.3
Location: Netherlands
Contact:

Re: meaning pi-sensor HDD /

Post by BartSr »

This is the screenshot. Seems not OK. How can I save storage place?
Attachments
DZ-forum.jpg
DZ-forum.jpg (29.83 KiB) Viewed 713 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 espeasy
MQTT
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: meaning pi-sensor HDD /

Post by FireWizard »

Hi @BartSr

Try to find the largest file.

See: https://www.cyberciti.biz/faq/linux-fin ... g-find-du/

or to find the 20th largest files, execute the following command.

Code: Select all

sudo du -aBm / 2>/dev/null | sort -nr | head -n 20
Perhaps you can remove or move the largest files

Regards
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: meaning pi-sensor HDD /

Post by Kedi »

After you cleaned up you could also set a notification on the 'HDD /' widget to get an early warning if usage is over a certain percentage.
Logic will get you from A to B. Imagination will take you everywhere.
HvdW
Posts: 504
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: meaning pi-sensor HDD /

Post by HvdW »

Using

Code: Select all

sudo tree --du -h | grep M] | awk '{print NR, $0}'
you can browse the contents.
Without the grep it displays everything.
Change the grep to K] to show smaller files and G] to find huge files, amongst which maybe the domoticz directory.

Oh, BTW do a cd / to display the contents starting from the root directory.
If the result is too much for an overview try

Code: Select all

sudo tree -L 3 --du -h | grep M] | awk '{print NR, $0}'
Bugs bug me.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest