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

Autofan does not consider the nvme drives located in cache #83

Open
sayuop opened this issue Sep 29, 2023 · 5 comments
Open

Autofan does not consider the nvme drives located in cache #83

sayuop opened this issue Sep 29, 2023 · 5 comments

Comments

@sayuop
Copy link

sayuop commented Sep 29, 2023

I just recently got myself a NAS and i am running unraid 6.12.4
For some reason the plugin is just detecting my HDD's in the array and adjusting temperature according to them.
the plugin works perfectly in that use case however my nvme drives are usually the ones running hot under load, for some reason it does not take them into consideration.

Any way i can get autofan to detect the drives temps and adjust with them?
I've tried excluding all my HDD's to see if this solved the problem but it resulted in autofan reading the hottest temperature was 0 and turned off the fans.

I'm fairly new to this and any help is appreciated.

@WackyWRZ
Copy link

I can confirm I am experiencing this issue as well, NVME drive temperatures are being ignored.

I'm not a Linux expert, but have dug through everything and narrowed it down to the get_highest_hd_temp function in the autofan script.

Line 203 is checking if the disk is sleeping, and requires a "0" to be returned to poll a drive for temperature. It looks like SDSPIN doesn't handle NVME drives and returns a "1" code of "failure".

Not sure if the fix here is to request SDSPIN be modified to handle NVME drives or modify the logic in autofan script to change to only check if sdX drives are spinning.

@WackyWRZ
Copy link

Looks like there's a potential fix located in the main forum thread here.

https://forums.unraid.net/topic/34889-dynamix-v6-plugins/?do=findComment&comment=1195568

@morkyy
Copy link

morkyy commented May 23, 2024

This is still happening in 2024 2 years after the fix was provided in the unraid forums.

Can someone please implement it? It is baffling how an OS that exclusively has to do with multiple hard drives being present, does not have a proper fan control system. Thank god for this plugin but it's unfortunate that it's not maintained well and doesn't work well with NVME drives.

@dandud100
Copy link

Looks like there's a potential fix located in the main forum thread here.

https://forums.unraid.net/topic/34889-dynamix-v6-plugins/?do=findComment&comment=1195568

Really frustrating that @bergware does not react to this!

@Soulplayer
Copy link

I am also experiencing this issue. A better fix would be great!

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

5 participants