Hard drive path Ubuntu for Monitor Sensor

Hello! I need help to specify a new disk on my ubuntu machine.
I use this and it works fine but I have another hard drive mounted on my machine, how do I find the path to it?
Tried both /mnt/356391717501B1EC (this is where it’s mounted) and /dev/sda but non of them work.
sensor:

  • platform: systemmonitor
    resources:
    • type: disk_use_percent
      arg: /home
    • type: memory_free

try “lsblk” at command line to get mount points and disk details

Try removing the 2nd ‘type’ entry. I used this and mine works fine:

  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /home

Yes I can see the disk I want there:
Name Size MountPoint
sda 3,7TB /mnt/356391717501B1EC

I tried both

  • platform: systemmonitor
    resources:
    - type: disk_use_percent
    arg: /mnt/356391717501B1EC AND /sda

But none of the paths are working.
I can only monitor my disk I have Ubuntu installed on, not my storage disk.

Docker?
It can’t see disk not mounted to container. You can add as read only. Just a guess

1 Like

Might be the paste, but your ‘arg’ line isn’t spaced over properly. Try pasting using the code blocks. Possibly a simple yaml formatting issue?

I have HA installed on docker. Do I need to add the external hard drive somehow to docker to monitor it?

It’s just the paste, my main hard drive which has HA installed on it works fine to monitor.

I would imagine so but I don’t use this and have no clue.
Docker normally can’t see anything that is not explicitly mounted/attached

- v /extdrive:/docker_extdrive:ro