homeassistant-openmediavault icon indicating copy to clipboard operation
homeassistant-openmediavault copied to clipboard

Prevents disk spindown on Raspberyy Pi 4

Open phreatic62 opened this issue 9 months ago • 7 comments

Describe the issue

OMV monitor spins up drives/prevents drives spinning down

How to reproduce the issue

Enable OMV monitor. Disk will immediately spin up and be accessed. This will occur even if the disk monitoring HA devices are disabled.

Expected behavior

No disk monitoring selected, no disk activity caused by monitor. 'OMV Disk' enabled in monitor - no activity caused by monitor - I'm not 100% sure about this, but think SMART attributes can be read without causing the disk to spin up. 'OMV Filesystem' enabled - probably expect disk access as these attributes need the disk spun up to be read (I think)

Screenshots

Software versions

  • Home Assistant version: 2024.4.4
  • openmediavault integration version: 1.4.2
  • openmediavault software version: 7.0.5-1

Diagnostics data

All data provided by OMV Monitor seems accurate and consistent with OMV's own monitoring.

Traceback/Error logs

Additional context

OMV running natively (not in docker) on RasPi4 with 2 x HDD and 2 x SSD (plus O/S on SD card) HASST running on separate Pi3 on same network - no docker.

phreatic62 avatar Apr 25 '24 07:04 phreatic62

disable smart in integration option.

tomaae avatar Apr 25 '24 08:04 tomaae

Thank you for your rapid reply, I'll do this and report back.

phreatic62 avatar Apr 25 '24 11:04 phreatic62

I had the same issue, disabled the SMART info, but the filesystem still get accessed by the integration preventing the standby for the HDDs.

lajoshanko avatar Apr 26 '24 06:04 lajoshanko

@tomaae - this has worked for me, the integration is working how I would expect.

phreatic62 avatar Apr 26 '24 07:04 phreatic62

I had the same issue, disabled the SMART info, but the filesystem still get accessed by the integration preventing the standby for the HDDs.

Dim question - have you also disabled 'OMV Filesystem'?

phreatic62 avatar Apr 26 '24 09:04 phreatic62

Yes, this is how I came to the conclusion that it was the problem.

lajoshanko avatar Apr 26 '24 09:04 lajoshanko

you dont have to disable the sensor, that wont affect query, just disabling smart in integration will do it.

tomaae avatar Apr 26 '24 11:04 tomaae

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar May 11 '24 01:05 github-actions[bot]