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

Is it possible, in the S3 Sleep plugin, to have a before sleep command that would abort the sleep process?

  • 2 weeks later...
  • Replies 4.4k
  • Views 1.4m
  • 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

Is it possible, in the S3 Sleep plugin, to have a before sleep command that would abort the sleep process?

 

Anyone?

Why do the system stats (Temps and fan speed) only appear on the footer of the Settings and Docker  tabs, and not on any other?

 

Edit: Okay, I've seen them appear on some other tabs now, but not yet on the Main tab.  I'm not sure whether this is a new phenomenon - I'm sure that they used to be reliably present on all tabs.

I have noticed something odd with the TRIM Plugin. Recently I have noticed that the output of the Plugin is showing:

 

Mar  3 00:10:01 main logger: /mnt/cache: 0 bytes were trimmed

 

My understanding of the way fstrim works with BTRFS is that this should never be the case that it shows 0 bytes. There is nothing in the syslog but this.

 

It was working a only a matter of days ago:

 

Feb 25 00:10:01 main logger: /mnt/cache: 1946124288 bytes were trimmed

 

As you can see I have it set to run every night at 12:10.

 

Not sure how to debug this, can anyone help?

I have noticed something odd with the TRIM Plugin. Recently I have noticed that the output of the Plugin is showing:

 

Mar  3 00:10:01 main logger: /mnt/cache: 0 bytes were trimmed

 

My understanding of the way fstrim works with BTRFS is that this should never be the case that it shows 0 bytes. There is nothing in the syslog but this.

 

It was working a only a matter of days ago:

 

Feb 25 00:10:01 main logger: /mnt/cache: 1946124288 bytes were trimmed

 

As you can see I have it set to run every night at 12:10.

 

Not sure how to debug this, can anyone help?

 

OK - I don't know what went down with the Cache Pool BUT I do know I have fixed it.

 

I remembered that at the weekend I "tried" to install an ATI Video Card to the Server to demonstrate something to a "Friend" BUT it wouldn't fit with my configuration. I jacked a few of the data cables out of the board to see if it would fit AND I made a mental note that I had not put them into the exact same ports. I decided it didn't matter as I remembered that unRAID didn't care about this like it did in previous versions.

 

So in essence I HAD this:

 

Cache Disk 1 was sdb

Cache Disk 2 was sac

 

Now I have:

 

Cache Disk 1 is sdc

Cache Disk 2 is sdd

 

Like I mention I didn't feel it was an issue. Clearly I was wrong AS unfortunately this issue coincides (as I keep daily logs) with me making these changes. There is no other Catalyst. I don't know what the connection is here - maybe something to do with the way BTRFS creates the RAID-1 array and keeps track of it. Who knows.

 

Anyway, to fix it, I stopped all applications that would write to the Array. Moved ALL data from the Cache device using the mover. Stopped the Array. Removed both Cache Disks from the Array Cache Slots. Mounted them via Unassigned Devices and removed their partitions. Unmounted them. Added them back into the Array Cache Slots. Started The Array. When Prompted to Format to BTRFS, I did. The RAID-1 Array was successful set up again.

 

Label: none  uuid: e699fcb6-1360-4fb9-9ec9-7768cce05986
Total devices 2 FS bytes used 640.00KiB
devid    1 size 232.89GiB used 3.03GiB path /dev/sdc1
devid    2 size 232.89GiB used 3.03GiB path /dev/sdd1

btrfs-progs v4.1.2
btrfs filesystem df:
Data, RAID1: total=1.00GiB, used=512.00KiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=2.00GiB, used=112.00KiB
GlobalReserve, single: total=16.00MiB, used=0.00B

 

Then when I ran fstrim from the command line:

 

root@main:~# /sbin/fstrim -v /mnt/cache                
/mnt/cache: 2233237504 bytes were trimmed

 

All seems to be working again. Weird, but resolved.

Since the update to unRAID 6.1.9 and the separate Dynamix update (2016.03.05) all my servers think they are the local master browser and they are all displaying the Yoda head icon.

I have noticed something odd with the TRIM Plugin. Recently I have noticed that the output of the Plugin is showing:

 

Mar  3 00:10:01 main logger: /mnt/cache: 0 bytes were trimmed

 

My understanding of the way fstrim works with BTRFS is that this should never be the case that it shows 0 bytes. There is nothing in the syslog but this.

 

It was working a only a matter of days ago:

 

Feb 25 00:10:01 main logger: /mnt/cache: 1946124288 bytes were trimmed

 

As you can see I have it set to run every night at 12:10.

 

Not sure how to debug this, can anyone help?

 

OK - I don't know what went down with the Cache Pool BUT I do know I have fixed it.

 

I remembered that at the weekend I "tried" to install an ATI Video Card to the Server to demonstrate something to a "Friend" BUT it wouldn't fit with my configuration. I jacked a few of the data cables out of the board to see if it would fit AND I made a mental note that I had not put them into the exact same ports. I decided it didn't matter as I remembered that unRAID didn't care about this like it did in previous versions.

 

So in essence I HAD this:

 

Cache Disk 1 was sdb

Cache Disk 2 was sac

 

Now I have:

 

Cache Disk 1 is sdc

Cache Disk 2 is sdd

 

Like I mention I didn't feel it was an issue. Clearly I was wrong AS unfortunately this issue coincides (as I keep daily logs) with me making these changes. There is no other Catalyst. I don't know what the connection is here - maybe something to do with the way BTRFS creates the RAID-1 array and keeps track of it. Who knows.

 

Anyway, to fix it, I stopped all applications that would write to the Array. Moved ALL data from the Cache device using the mover. Stopped the Array. Removed both Cache Disks from the Array Cache Slots. Mounted them via Unassigned Devices and removed their partitions. Unmounted them. Added them back into the Array Cache Slots. Started The Array. When Prompted to Format to BTRFS, I did. The RAID-1 Array was successful set up again.

 

Label: none  uuid: e699fcb6-1360-4fb9-9ec9-7768cce05986
Total devices 2 FS bytes used 640.00KiB
devid    1 size 232.89GiB used 3.03GiB path /dev/sdc1
devid    2 size 232.89GiB used 3.03GiB path /dev/sdd1

btrfs-progs v4.1.2
btrfs filesystem df:
Data, RAID1: total=1.00GiB, used=512.00KiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=2.00GiB, used=112.00KiB
GlobalReserve, single: total=16.00MiB, used=0.00B

 

Then when I ran fstrim from the command line:

 

root@main:~# /sbin/fstrim -v /mnt/cache                
/mnt/cache: 2233237504 bytes were trimmed

 

All seems to be working again. Weird, but resolved.

 

since you mentioned it, I looked at my log and did not see any recent  Trims :(. Went to scheduler and it was not there at all. Uninstall & reinstall and I am back set for weekly Trim. Oddness.

since you mentioned it, I looked at my log and did not see any recent  Trims :(. Went to scheduler and it was not there at all. Uninstall & reinstall and I am back set for weekly Trim. Oddness.

 

None at all or just reporting that no bytes trimmed?

since you mentioned it, I looked at my log and did not see any recent  Trims :(. Went to scheduler and it was not there at all. Uninstall & reinstall and I am back set for weekly Trim. Oddness.

 

None at all or just reporting that no bytes trimmed?

 

Showed in Plugins as installed, but missing from Scheduler (no tab) and no mention of Trim operations in log. There were log entries saying it was being installed on boot but something was amiss.

since you mentioned it, I looked at my log and did not see any recent  Trims :(. Went to scheduler and it was not there at all. Uninstall & reinstall and I am back set for weekly Trim. Oddness.

 

None at all or just reporting that no bytes trimmed?

 

Showed in Plugins as installed, but missing from Scheduler (no tab) and no mention of Trim operations in log. There were log entries saying it was being installed on boot but something was amiss.

 

Same here. Installed on boot but no trim entries in syslog and no tab in Scheduler. Last reboot was following the 6.1.9 update.

 

Edit: Uninstall and re-install of the plugin fixed this issue but not the master browser issue.

  • Author

Since the update to unRAID 6.1.9 and the separate Dynamix update (2016.03.05) all my servers think they are the local master browser and they are all displaying the Yoda head icon.

 

Can you re-apply the settings under Settings -> SMB -> Workgroup Settings and make Monitor local master election is enabled on all of your servers.

 

  • Author

Is it possible, in the S3 Sleep plugin, to have a before sleep command that would abort the sleep process?

 

You can execute commands before "sleep" is initiated, but once all conditions are met, you can not abort the sleep execution. If you don't want sleep to occur then make sure the conditions are set accordingly.

 

Since the update to unRAID 6.1.9 and the separate Dynamix update (2016.03.05) all my servers think they are the local master browser and they are all displaying the Yoda head icon.

 

Can you re-apply the settings under Settings -> SMB -> Workgroup Settings and make Monitor local master election is enabled on all of your servers.

 

I disabled Monitor local master election and clicked Apply, then re-enabled it and clicked Apply and the result is the same. First I see "Please wait, obtaining" for a second then each server displays its own name and each has the icon.

 

If I turn off Enable local master the result is the same, the name and the icon.

 

If I turn off Monitor local master election the name remains the local host name but the icon is not displayed.

 

Before the Dynamix update it worked as expected: one server only displayed the icon and it's name was displayed by all servers.

 

Is it possible, in the S3 Sleep plugin, to have a before sleep command that would abort the sleep process?

 

You can execute commands before "sleep" is initiated, but once all conditions are met, you can not abort the sleep execution. If you don't want sleep to occur then make sure the conditions are set accordingly.

 

 

Thanks for the answer bonienl. I was hoping to use a script in the before sleep command to add an additional condition to evaluate before sleep. Specifically I am trying to figure out how to prevent my server from sleeping if a TV program is scheduled to record within a certain time frame. Since aborting the sleep execution isn't possible I will have to rethink my approach. It would be interesting to a have a way add additional sleep conditions by evaluating a user provided script. Anyway thanks for all the great plugins!

Since the update to unRAID 6.1.9 and the separate Dynamix update (2016.03.05) all my servers think they are the local master browser and they are all displaying the Yoda head icon.

 

Can you re-apply the settings under Settings -> SMB -> Workgroup Settings and make Monitor local master election is enabled on all of your servers.

 

I disabled Monitor local master election and clicked Apply, then re-enabled it and clicked Apply and the result is the same. First I see "Please wait, obtaining" for a second then each server displays its own name and each has the icon.

 

If I turn off Enable local master the result is the same, the name and the icon.

 

If I turn off Monitor local master election the name remains the local host name but the icon is not displayed.

 

Before the Dynamix update it worked as expected: one server only displayed the icon and it's name was displayed by all servers.

 

Reboots all round fixed it, but re-installs and re-applying settings didn't.

 

  • 2 weeks later...

If my System Autofan plugin isn't picking up a PWM controller at all, how can I rectify that? My motherboard is a Supermicro - X11SSM-F

I have a feature request for the Dynamix System Statistics plugin. On the System Stats page, Processor (CPU Load) graph, could a third trace be added to show the nice value, in addition to the system and user values, as it is in the htop command, please?

  • Author

A new version 2016.04.01 of Dynamix System Stats is available.

 

This version shows separated values for 'user' and 'nice' in the processor graph. Previously these two values were combined under 'user'.

 

Is there any possibility of System Temperature being able to display temperatures for dual CPU setups?  Or does it have to be setup manually (and have I just missed the instructions somehow :-) )

 

It would be nice if the System Stats also showed both CPU's - the details stats do, but the top section (which is the same as the original 'Info' popup doesn't)

Forgive my ignorance, but what is "nice" as it relates to CPU load? Thats a tough one to google....

  • Author

Forgive my ignorance, but what is "nice" as it relates to CPU load? Thats a tough one to google....

 

This shows user processes (applications) with a different priority then default (value 0). Using the nice command it is possible to change the priority of  a user process to either lower or higher.

 

Here a link with some more information about process priorities and how to change them.

 

A new version 2016.04.01 of Dynamix System Stats is available.

 

This version shows separated values for 'user' and 'nice' in the processor graph. Previously these two values were combined under 'user'.

 

Fantastic! Thank you very much indeed.

 

Schedules

is a front-end utility for the built-in hourly, daily, weekly and monthly schedules. It allows the user to alter the schedule execution times using the GUI.

 

where can I find this? I just need it to run a file (.sh) every hour even after a system restart. I know how the manual file version work from https://lime-technology.com/forum/index.php?topic=44172

Schedules

is a front-end utility for the built-in hourly, daily, weekly and monthly schedules. It allows the user to alter the schedule execution times using the GUI.

 

where can I find this? I just need it to run a file (.sh) every hour even after a system restart. I know how the manual file version work from https://lime-technology.com/forum/index.php?topic=44172

Just search for Schedules in the apps tab (assuming you have installed the Community Applications plugin - essential in my view).

I already have it installed via the manual Plugin download. Still dont know where to go to configure it to run a file though

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.