Monitor Usage of Attached USB

I just used the following guide to offload the database and logs from the SD Card of my Pi running Hassbian to a USB drive. It has 2 partitions, one for the database and one for the logs:

https://blog.ceard.tech/2017/10/home-assistant-moving-logs-and-database.html

My question, is there a way to have a sensor that will monitor the storage used and storage remaining for both of those partitions? Would be nice to have that in my “System” tab of Hassbian so I can keep an eye on it. When I was using Hass.io I had an issue where the file got to be over 9GB.

The system monitor sensor can be used for disk usage. Just configure it to monitor the directories you mounted your partitions under.

Ah, perfect. Thanks