-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Errors in HA logs regarding disks #37
Comments
Would you mind sharing your unraid server configurations like what disks are you using in your array (HDD/SSD)? Are you using Pool Devices? SSD/NVME? Which disks have spin down delay configured? HDD or SSD Enabled Debug Logging and reload integration and then view logs for errors or warnings. Search for Unraid and share the output if you can |
Ok, so my Unraid configuration. As I found from debug logs all error are only from one server (Ok-usstr in logs):
Attached log from debug logging: |
Regarding that SpinDownDelay error, I did some investigation, and problem is in file const.py in class SpinDownDelay, issue is in definition of HOURS_* values, Unraid for hour spindown don't use definition in minutes, like for MINUTES_* values, but in hours. I fount it in disks.cfg:
Value spindownDelay is set to 1 , and I have set default value of spindown in Unrad settings to 1 hour (if I set that configuration to 15 minutes, value is 15, but for one hour it's 1) So when I changed line 78 in const.py from: HOUR_1 = 60 to HOUR_1 = 1 And error in HA log disappear. So probably will be needed to change all hour values in that files from definition in minutes to definition in hours 😊 This is little mess from Unraid, I'm wondering why they define one value partially in minutes and partially in hours... |
same for disks.ini 15 minutes:
1 hour:
|
Regarding that issue with pool name "temp" I found this in code: File pool.py from row 38.
So for this issue is problem caused by my naming of pool devices, I'm not sure if Unraid use somewhere else device name "temp" so I'll probably change that pool device name... |
fix for issue domalab#37 from original repository (regarding SpinDownDelay issue)
Fix for issue #37 regarding SpinDownDelay error from HA logs
@ond000 Thanks for helping out and casting your eyes over the code. Appreciate it. |
I modified the code to exclude temp but haven't uploaded the changes yet. Will do it later |
I have excluded the name temp for pool devices. Feel free to download the latest source code and test it in your environment. |
Thanks for that, it helps, error regarding pool device name temp disappear. |
Describe the bug
From last update I've got some errors in HA log regarding disks (one note, from error is not clear from which device is that error):
Regarding Spindowns, for all disks I have set Default delay.
From error above I'm not sure which server it's, at one server is Default spindown delay set to Never (because there are only SSD drives) and at second I have set as Default delay one hour.
Error above is surely from second server where is Default spindow set to one hour.
Error above, again as in first case, I`m not sure which server, one have one hour default spindown and second never.
Error above it's pool disk with name "temp".
This behavior start from update of integration to version 2024.12.28.
Expected behavior
Screenshots
Unraid (please complete the following information):
Home Assistant (please complete the following information):
Home Assistant installation type (please complete the following information):
Priority of Request
Additional context
The text was updated successfully, but these errors were encountered: