Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drive keeps waking up with TrueNAS-13.0-U6.1 #31

Open
andreaskoelsch opened this issue Jan 28, 2024 · 1 comment
Open

Drive keeps waking up with TrueNAS-13.0-U6.1 #31

andreaskoelsch opened this issue Jan 28, 2024 · 1 comment

Comments

@andreaskoelsch
Copy link

For testing, I just installed TrueNAS-13.0-U6.1 and your script by following your documentation. There's nothing else installed. Yet, my HDD keeps spinning up and down every 5 minutes.

[2024-01-28 12:53:26] Monitoring drives with a timeout of 3600 seconds: da0 ada0[2024-01-28 12:53:26] I/O check sample period: 60 sec
[2024-01-28 12:53:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 12:54:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 12:57:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 12:58:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 12:59:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:00:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:01:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:02:26] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:03:26] Drive power states: [da0] => 1 [ada0] => 0
[2024-01-28 13:04:26] Drive power states: [da0] => 1 [ada0] => 0
[2024-01-28 13:05:26] Drive power states: [da0] => 1 [ada0] => 0
[2024-01-28 13:06:27] Drive power states: [da0] => 1 [ada0] => 0
[2024-01-28 13:07:27] Drive power states: [da0] => 1 [ada0] => 0
[2024-01-28 13:08:27] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:09:27] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:10:27] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:11:27] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:12:27] Drive power states: [da0] => 1 [ada0] => 1
[2024-01-28 13:13:27] Drive power states: [da0] => 1 [ada0] => 0
[2024-01-28 13:14:27] Drive power states: [da0] => 1 [ada0] => 0

What could be wrong here? As said, everything is configured exactly as described in the repo.

@andreaskoelsch
Copy link
Author

andreaskoelsch commented Jan 29, 2024

The odd thing: I set the timeout to 600, i.e. 10 minutes. Yet, the drives wakes up and sleeps every 5 minutes. My guess is, it's SMART that wakes up the disk and since there's no actual activity, it goes right back to sleep after the next poll which is also set to 600.

The README specifically says, SMART does not interfere with the spindown. Well, that's true, I guess, as the drive goes back to sleep at every poll interval. However, my hope was that it not only does not interfere with the spindown but also does not spin up the drive unnecessarily.. Is there something to be configured in SMART?

Edit: I set SMART to Power Mode Standby and the disk stays spun down. However, this way I do not get the temp reads which means I could as well just use the TrueNas onboard setting for HDD Standby.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant