Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dynamix - V6 Plugins

Featured Replies

Sleep plugin works... My personal set up is:

  • Set to shutdown (to avoid the cpu bug)
  • Set excluded hours (6am - 11pm)
  • Array activity = yes
  • Status & counters
  • Monitor all array disks & other caches like 4 disk ZFS pools (I choose to ignore the main nvme cache as this is ALWAYS active)
  • Network activity = high (to avoid shutdown during plex or other network transfer)
  • User inactive = yes (to avoid shutdown when I am fiddling)
  • Replies 4.4k
  • Views 1.5m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • It has been some time since I visited the Unraid forums. Due to health issues I had to take a break, and unfortunately this break took way longer than anticipated. But I am back and will sta

  • Phoenix Down
    Phoenix Down

    Hi @bonienl, is this the right channel to report a bug? If not, please point me in the right direction     I've been noticing an issue with Autofan in the last couple of months. It seems lik

  • Today has been a productive day   I have updated several Dynamix plugins, mainly bug fixes. Please check your plugins to get the updates.

Posted Images

5 minutes ago, dopeytree said:

Sleep plugin works... My personal set up is:

  • Set to shutdown (to avoid the cpu bug)
  • Set excluded hours (6am - 11pm)
  • Array activity = yes
  • Status & counters
  • Monitor all array disks & other caches like 4 disk ZFS pools (I choose to ignore the main nvme cache as this is ALWAYS active)
  • Network activity = high (to avoid shutdown during plex or other network transfer)
  • User inactive = yes (to avoid shutdown when I am fiddling)

You've confirmed disk activity detection specifically still works?  Then I guess it still works some folks on version 6.12.X.

So far there's about 5 people in this thread who's found it to be broken.

I just proved it def does not work monitoring disks again.

I have set 15 minutes now for disk spin down delat in disk settings and the sleep plugin settings also.

Wake it up, spin all disks down, start a movie from emby, see one disk active, it then goes to sleep (according to the logs about 40 minutes later).   If I get time, I may do this a bit more scientifically later.

 

What I mean is you can use 'monitor network traffic' settings to get around most problems.

Edited by dopeytree

55 minutes ago, dopeytree said:

What I mean is you can use 'monitor network traffic' settings to get around most problems.

 

OK - trying that now - same tests :

 

set to high setting (500bps) 

spun down all disks (if that matters)

started the movie 12:08.

Checked back at 12:30 - still playing move - OK

Checked back at 13:00 - still playing

Checked back at 13:30 - still playing

Movie ended at 13:50 - at the end of the credits - unraid went to sleep.

 

Its not very forgiving there - should have some sort of time delay or something ?

No time to even select something else to watch!

 

 

 

 

Hey all, I have Unraid 6.12.4 running on my Lenovo P620 workstation, with the latest version of the Dynamix plugins installed. Specifically, I have version 2023.02.05a of the Dynamix System Autofan plugin. This doesn't detect the fans on the system, and I would like to see if there is a way to get it to control the fans. So, there are two options:

 

- Is there a way to detect and control the system fans? SystemTemp detects multiple temperature sensors, but AutoFan does not find a fan controller. I can't find any installed fan controller drivers. Happy to send logs, etc if that is helpful to figure this out. 

 

- If the plugin can't detect whatever fan control is built into the motherboard, are any third party fan controllers supported by the AutoFan plugin? Products like the Corsair iCue Controller. I would be fine putting in a controller and rewiring the fans to run from that. 

Does anyone know if the Dynamix plugins (especially sleep) are still under active development?

Not expecting or demanding anything, but it's a bit weird not to get a reply or bug aknowledgement from the dev when quite a few users report the same issues.

 

I have network activity on medium to detect even lower traffic than high, detection of all the disks (including those in the array as array activity is definitely not detected) and user activity on local, but there are still many sleeps happening that shouldn't be. This wasn't the case before.

 

Using power off isn't an option if your MB doesn't support WOL from power off (which is the case for my two UnRAID servers with an Asus MB). Not sure what the CPU bug is when using sleep vs power off?

Excluding hours limits the likelyhood of an unwanted sleep, but it keeps the system up for hours unnecessary, so it's a (costly) workaround, not a fix.

 

I hope this will get fixed, either at OS level or at plugin level, I love the dynamix plugins and since I've set them up a few years ago (I use most of them) I barely had any issues. It would be a shame if development had halted.

Edited by Manni01

If you don't use a UPS...

 

A work around could be shutting down at a set time via a script. Say 11.30PM.

Then at 5PM the next day using a remote plug to cycle the power off & back on. This should then boot up. You'd need to set your motherboard to revert to last state when power is disconnected. 

This wouldn't cause any parity error as the server would already be off. You'd effectively be turning it on manually but automated remotely if that makes any sense. Won't work if you use a UPS.

Edited by dopeytree

Any Linux experts here?  I suspect the problem with the Sleep plugin's disk activity checker is with this function.  If so, it may be an easy fix to just modify the plugin file and then repackage it as a txz.   

 

HDD_activity() {
  result=
  if [[ $checkHDD == yes ]]; then
    [[ -f /dev/shm/2 ]] && cp -f /dev/shm/2 /dev/shm/1 || touch /dev/shm/1
    awk '/(sd[a-z]*|nvme[0-9]n1) /{print $3,$6+$10}' /proc/diskstats >/dev/shm/2
    for dev in ${array[@]}; do
      [[ $monitor -ne 2 ]] && active=$(sdspin /dev/$dev) || active=
      [[ $monitor -ne 1 ]] && diskio=($(grep -Pho "^$dev \K\d+" /dev/shm/1 /dev/shm/2)) || diskio=
      if [[ -n $active || ${diskio[0]} != ${diskio[1]} ]]; then
        result=1
        break;
      fi
    done
  fi
  if [[ -n $result ]]; then
    log "Disk activity on going: $dev"
    echo $result
  fi
}

 

On 8/1/2023 at 7:09 PM, alturismo said:

or may exlude the cache devices ... like here, i want the fans to turn off and dont need the nvme ssd drives as measure points ...

 

or like @WackyWRZ already mentioned, set a min value ...

 

image.thumb.png.b9afed0d8d4ef84c86dbd73b1be06fc2.png

 

To do this.. what do we set the SysFan to in the BIOS?  Manual and 100% or Manual and Off or what? 

 

20230925-103944.jpg

22 minutes ago, methanoid said:

To do this.. what do we set the SysFan to in the BIOS?  Manual and 100% or Manual and Off or what? 

 

either you use your BIOS Fan Curve ... OR ... you use fan speed control here ...

 

so, if you dont use fan speed control here, your BIOS curve will follow its rules ... or you override your BIOS with this application (plugin). sample, your CPU Fan should only be setted in the BIOS as CPU Temp is no function of this plugin, on your array fans you CAN use it or you leave it ...

 

sample usage in my usecase, my HDD disks are in chamber nr. 2, i buildin 4 fans there (2x in, 2x out) and i wanted them to stop while my HDD's are in spindown ... no fan cooling necessarry in my case there.

 

sample as of now (array disks are in spindown and fans are off, controlled by autofan ...)

image.thumb.png.291f3499151de256dca1820618424020.png

 

while all other fans here are not controlled by autofan as they have no reference to the HDD Temps ...

 

so in the end, its your choice ... just read what it does, think about it what you want and setup the way you want ...

Hey, I'm having issues with my server immediately waking up after going to sleep using the S3 Sleep Plugin. I attached my diagnostics below. What might be causing this? Grateful for any help I can get on this!

yaoi-diagnostics-20230926-0738.zip

alturismo : Nice Pict !!!

What is this app ????

54 minutes ago, PicPoc said:

alturismo : Nice Pict !!!

What is this app ????

 

Looks a lot like a home automation (hassio) dashboard, but I could be wrong

 

I got a question about folder caching and remote shares

 

I noticed a lot network activity between my two unraid servers. Seems my "slave" that has a mount to root_share on my "master".

 

I could I first not see what or why - then I checked the "master" and showed the more or less the same. When I did an lsof of mount on the slave I showed a folders on remote iterating through the entire directory tree on the master. I checked if I could exclude shares but only local shares can be excluded.

 

Would be very nice if there was an option to exclude files on remote shares. 

 

image.png.88ff210b31ff81dbc5315e3c8f8da8e0.png

 

image.png.c8761785b5ccd094c2d8c19cb549248b.png

4 hours ago, PicPoc said:

alturismo : Nice Pict !!!

What is this app ????

Looks like a standard Home Assistant dashboard

There must be a better way within linux to interface with motherboard fans. There's tons of software for windows.

 

Is it possible to pass the motherboard fans through to a VM?

 

At the moment I have mine set to follow the cpu temp and if the weather is hot I might mannally change it in bios.

Edited by dopeytree

14 hours ago, PicPoc said:

alturismo : Nice Pict !!!

What is this app ????

like @sjoerd and @Kilrah mentioned its standard homeassistant dashboard.

 

sensors is almost all "handmade" onboard ... script to fetch and using .json input for HA.

7 hours ago, dopeytree said:

There must be a better way within linux to interface with motherboard fans. There's tons of software for windows.

 

sure its possible, just a matter of writing something for it ... as we can fetch anything and we could control all fans independantly ... so go ahead and just write something for it if you wish ... but please dont be sad if unraid "hangs" and your fans cant follow anymore ,,,

 

in the end, this plugin by design is only following hdd temps by design, doesnt mean nothing else would be possible ... but if you really want to give your CPU fan control to the the OS ... its up to you, im pretty sure the dev of this plugin didnt wanted to be responsible for fried CPU's due "whatever" ... ;)

Ah sorry I didn't mean I want unraid to control my CPU fan.

I meant this is how I currently control the HDD fans in bios using cpu temp.

 

I've tried the HDD plugin but it seems to crash the fan driver causing one bios set fan to break.

I wish I had the skills to write something to help fix the issue.

Edited by dopeytree

On 9/25/2023 at 11:40 AM, alturismo said:

either you use your BIOS Fan Curve ... OR ... you use fan speed control here ...

 

so, if you dont use fan speed control here, your BIOS curve will follow its rules ... or you override your BIOS with this application (plugin). sample, your CPU Fan should only be setted in the BIOS as CPU Temp is no function of this plugin, on your array fans you CAN use it or you leave it ...

 

sample usage in my usecase, my HDD disks are in chamber nr. 2, i buildin 4 fans there (2x in, 2x out) and i wanted them to stop while my HDD's are in spindown ... no fan cooling necessarry in my case there.

 

sample as of now (array disks are in spindown and fans are off, controlled by autofan ...)

image.thumb.png.291f3499151de256dca1820618424020.png

 

while all other fans here are not controlled by autofan as they have no reference to the HDD Temps ...

 

so in the end, its your choice ... just read what it does, think about it what you want and setup the way you want ...

 

I've no idea what you are saying. Its not answering my question of what to set the fans in BIOS to, to allow this plugin to control the system fans. I've no idea what the screen is (its not the plugin screen) so this doesnt help me in any way :-(

 

What might be helpful would be some documentation for how this plugin works or even some help text when hovvering over settings. 

 

I *think* I have it working but I dont know really. A 1m minimum check time seems quite long to me also. My HDD could go from "fine" to "toasty" in that time I reckon???

Either bios ...
Or plugin ... will always override bios once activated ... no matter what you set your bios fan curve...

Gesendet von meinem SM-S901B mit Tapatalk

On 9/17/2023 at 12:02 AM, vw-kombi said:

 

OK - trying that now - same tests :

 

set to high setting (500bps) 

spun down all disks (if that matters)

started the movie 12:08.

Checked back at 12:30 - still playing move - OK

Checked back at 13:00 - still playing

Checked back at 13:30 - still playing

Movie ended at 13:50 - at the end of the credits - unraid went to sleep.

 

Its not very forgiving there - should have some sort of time delay or something ?

No time to even select something else to watch!

 

 

 

 

No. It's hardly an ideal workaround. I've been a happy UNRAID user for around 15 years and was the person who first came up with the idea to include network monitoring in the original sleep script, but it's really not the answer for malfunctioning disk monitoring. Especially since the current Dynamix S3 Sleep runs the time lag countdown before the network monitoring check.  That could be changed, but isn't a solution to the root issue with the disk monitoring.

 

While I've been a big fan of UNRAID and the community and developers that support all the useful features that have been added, this is where the support model fails. i.e., when a useful plugin developer is no longer present to maintain their work.

 

Since this disk monitoring issue came up, I've struggled to deal with it, and only recently found the time to check here, to confirm I was the not the only one affected.

 

What I've had to do in the meantime is manually disable and later re-enable the Sleep settings from the Dynamix GUI. This isn't really any better than permanently disabling the script and using the Dynamix GUI to manually put the server to sleep when not using it.

Edited by lewcass
Clarity

On top of this sleep issue, one of my UnRAID servers stopped waking up from sleep with WOL and I have no idea why. It works if I put it to sleep manually with the GUI, but it doesn't if the sleep plugin does it.  Identical MB to the other server, identical sleep settings, but WOL doesn't work anymore for that server. Neither server supports WOL from shutdown, but they both support it from sleep. Of course I checked the MAC Address, it's correct. Very weird.

Edited by Manni01

Hi

 

All new to unraid used to have synology. I had it shutting down after midnight as didn't require. I installed dynamix sleep and setup to try and emulate just after installing server shutdown now trying to switch back on it boots cannot access using gui and then shuts itself down everytime. Think I may have set timings wrong. Is there a way to get me back in.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.