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.

[PLUGIN] Disk Location

Featured Replies

Cool, thanks!  Works great!

  • Replies 1.6k
  • Views 249.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • olehj is the maintainer and it's his choice to do with the plugin what he sees fit.   It is, however, unusual to release to production a version that requires a beta OS release, instead of r

  • FlamongOle
    FlamongOle

    Update 2025.05.29 Commit #446 - BUG: Fatal error in page_system - causing furious rage in the forums :P Syntax error, misplaced parentheses 😅 @Mr Q I have an idea for you. Why don't you save your o

  • You guys please settle down.  The fact that sqlite support was in php in the first place was an oversight.  We never intended that a plugin would utilize a database application and honestly, I didn't

Posted Images

lol! And the numbers jokes are spot on!

I just updated the plugin and noticed a slightly weird glitch with my Optane drive, it looks like the warning threshold is set to 0 Kelvin?

image.png.fe88985bfa5eed4965fba15d223d563c.png

 

I've checked in Unraid's disk settings and it has the standard NVMe thresholds (60C warning, 75C critical), is there a separate setting for Disk Location?

  • Author
3 hours ago, FriendlyFire said:

I just updated the plugin and noticed a slightly weird glitch with my Optane drive, it looks like the warning threshold is set to 0 Kelvin?

image.png.fe88985bfa5eed4965fba15d223d563c.png

 

I've checked in Unraid's disk settings and it has the standard NVMe thresholds (60C warning, 75C critical), is there a separate setting for Disk Location?

Try to Force SMART+DB if you haven't. 

 

The warning and critical is stored in the DB as I don't want to pull that info every refresh. 

 

It is in Kelvin yes, 0 means not found/stored really and it's converted to C or F. Might do something about it later. 

Edited by FlamongOle

Tried Force SMART+DB but no dice. The Unraid dashboard itself doesn't show any warning so it's not super urgent but I'm not sure why it's not finding the warning threshold.

  • Author
22 hours ago, FriendlyFire said:

Tried Force SMART+DB but no dice. The Unraid dashboard itself doesn't show any warning so it's not super urgent but I'm not sure why it's not finding the warning threshold.

Does the warning and critical match the value set in global ssd disk config?

 

 What crit and warn values do you expect, what is defined by unRAID, and where is the numbers found?

 

I'm not sure if optane behaves different or not than regular nvme devices. 

 

Maybe unRAID falls back to SSD if nvme is not found. Disk Location just uses 0 as "not found" if I remember correctly. 

 

Gonna be drunk this weekend, so look into it later. 😜

I think this is the key!

 

I have the drive set to warn/critical at 60C and 75C, respectively, but Unraid calls these "NVME temperature threshold", not "SSD temperature threshold", which is what I can set in the Disk Settings defaults. If I try to reset the drive's individual settings to its defaults via the Default button, it puts seemingly random numbers in: my standard WD SN770 defaults to 84/88 (its official spec has its maximum operating temperature at 85C) and perhaps more importantly, my Optane drive has -273/-273.

 

So I think the problem is both that Unraid has weird/wrong defaults and that Disk Location pulls the defaults instead of what the user has actually configured for the drive.

I'm getting a Go to System... error but the entire tab is missing:

image.thumb.png.262da15adf844a94bc42c9bc904a0b3d.png

  • Author
5 hours ago, idean said:

I'm getting a Go to System... error but the entire tab is missing:

image.thumb.png.262da15adf844a94bc42c9bc904a0b3d.png

Please go to Tools - PHP Settings, then open the log and find anything related to Disk Locations. Thanks!

  • Author

Update 2025.03.17

  • Commit #409 - MINOR: Some NVMe drives will show 0 Kelvin as warning and critical temperatures, if values are not found, NULL will be set and SSD values should be used.

 

@FriendlyFire you can try this update, then run Update SMART+DB.

@idean Make also sure you run the last version of Disk Location, otherwise I need the part of the PHP log mentioned above (Tools -> PHP Settings -> "View log"; find entries related to Disk Location).

27 minutes ago, FlamongOle said:

@idean Make also sure you run the last version of Disk Location, otherwise I need the part of the PHP log mentioned above (Tools -> PHP Settings -> "View log"; find entries related to Disk Location).

I tried the developer version, too, but went back to the latest today.


[17-Mar-2025 17:44:57 America/New_York] PHP Fatal error:  Uncaught DivisionByZeroError: Division by zero in /usr/local/emhttp/plugins/disklocation/pages/page_benchmark.php:111
Stack trace:
#0 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(706) : eval()'d code(4): require_once()
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(706): eval()
#2 /usr/local/emhttp/plugins/dynamix/template.php(82): require_once('/usr/local/emht...')
#3 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_benchmark.php on line 111

 

3 hours ago, FlamongOle said:

Update 2025.03.17

  • Commit #409 - MINOR: Some NVMe drives will show 0 Kelvin as warning and critical temperatures, if values are not found, NULL will be set and SSD values should be used.

 

@FriendlyFire you can try this update, then run Update SMART+DB.

Works perfectly, many thanks!

I have a Jonsbo N2. The Jonsbo N2 has drive bays 1-5, numbered right to left.

[ 5 4 3 2 1]

 

How do I get this numbering to work in the Disk Locations plugin? Seems to be if I number top/right to left. It wants me to assign 1 as in tray 5. I'm confused :/

20233615944.jpg

  • Author
27 minutes ago, CheekyPanda said:

I have a Jonsbo N2. The Jonsbo N2 has drive bays 1-5, numbered right to left.

[ 5 4 3 2 1]

 

How do I get this numbering to work in the Disk Locations plugin? Seems to be if I number top/right to left. It wants me to assign 1 as in tray 5. I'm confused :/

 

-> right/(top/bottom)

Otherwise -read- what it says, it's not Tray's, it's Tray ID's.

  • Author

Update 2025.03.18

  • Commit #411 - MAJOR: Benchmark page would divide by zero if fastest and slowest speed was equal, added -/+ 50 to the fastest and slowest values if they are equal.

You can try now @idean

1 hour ago, FlamongOle said:

 

-> right/(top/bottom)

Otherwise -read- what it says, it's not Tray's, it's Tray ID's.

Would be better if you could just assign the drive to the tray as it appears on your machine. Why have this intermediate "tray ID" number. It's confusing, you have to reference two numbers to figure out where your drive actually is.

  • Author
14 minutes ago, CheekyPanda said:

Would be better if you could just assign the drive to the tray as it appears on your machine. Why have this intermediate "tray ID" number. It's confusing, you have to reference two numbers to figure out where your drive actually is.

You'll see them both in the layout.

 

It uses ID's to have a static point of reference. The layouts are dynamic and I don't want to use that.

 

If you don't like it, fork it and make your own :P 

15 minutes ago, FlamongOle said:

You'll see them both in the layout.

 

It uses ID's to have a static point of reference. The layouts are dynamic and I don't want to use that.

 

If you don't like it, fork it and make your own :P 

Oh I like it, it's a great plugin. Definitely appreciate the hard work you put into it. Just providing some user feedback, maybe something to consider in the future?

  • Author
14 minutes ago, CheekyPanda said:

Oh I like it, it's a great plugin. Definitely appreciate the hard work you put into it. Just providing some user feedback, maybe something to consider in the future?

Maybe, won't promise anything

3 hours ago, FlamongOle said:

Update 2025.03.18

  • Commit #411 - MAJOR: Benchmark page would divide by zero if fastest and slowest speed was equal, added -/+ 50 to the fastest and slowest values if they are equal.

You can try now @idean

 

Perfect, that fixed it! Thanks for a great extension!!

Hi, I have to problem, that the Plugin always has an Update and can be installed infinite. After the Update, I have an update again.

 

plugin: updating: disklocation-master.plg
Executing hook script: pre_plugin_checks

Removing old plugin data before installing, if they exists...

Installing plugin...

Plugin folder /boot/config/plugins/disklocation already exists

Plugin folder /boot/config/plugins/disklocation-2024-edition already exists

Checking existing package /boot/config/plugins/disklocation/disklocation.2025.02.08.zip...

Extracting plugin package...
Archive: /boot/config/plugins/disklocation/disklocation.2025.02.08.zip
6cee8f0cc1638b02a93f5e00bf9f3d329911da8d
creating: /tmp/disklocation-packages/disklocation-2024-edition/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/COPYING
inflating: /tmp/disklocation-packages/disklocation-2024-edition/README.md
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation-2024-edition.plg
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation-master.plg
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation.png
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/DiskUtilities.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/README.md
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocationConfig_allocations.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocationConfig_main.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocationConfig_system.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_dashboard-legacy.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_dashboard.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_devices.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_info.page
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/config.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/config_system.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/config_trayalloc.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/cron_disklocation.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/devices.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/export_tsv.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/functions.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/info.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/load_settings.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/locate.php
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/script/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/script/locate_script_bottom.js
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/script/locate_script_top.js.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/sqlite_tables.php
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/disk.css.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/help.css
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/signals.dynamic.css
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/signals.static.css
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/system.php

Extraction done.

Package file disklocation.2025.02.08.zip extracted.

SIGNALS: signals.dynamic.css activated.

Uptime is above 15 minutes: Force SMART must be started manually unless the files already exists.

Installing cronjob...

Plugin installed successfully!
plugin: disklocation-master.plg updated
Executing hook script: post_plugin_checks

 

13 minutes ago, wassereimer said:

Hi, I have to problem, that the Plugin always has an Update and can be installed infinite. After the Update, I have an update again.

 

plugin: updating: disklocation-master.plg
Executing hook script: pre_plugin_checks

Removing old plugin data before installing, if they exists...

Installing plugin...

Plugin folder /boot/config/plugins/disklocation already exists

Plugin folder /boot/config/plugins/disklocation-2024-edition already exists

Checking existing package /boot/config/plugins/disklocation/disklocation.2025.02.08.zip...

Extracting plugin package...
Archive: /boot/config/plugins/disklocation/disklocation.2025.02.08.zip
6cee8f0cc1638b02a93f5e00bf9f3d329911da8d
creating: /tmp/disklocation-packages/disklocation-2024-edition/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/COPYING
inflating: /tmp/disklocation-packages/disklocation-2024-edition/README.md
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation-2024-edition.plg
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation-master.plg
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation.png
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/DiskUtilities.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/README.md
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocationConfig_allocations.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocationConfig_main.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocationConfig_system.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_dashboard-legacy.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_dashboard.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_devices.page
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/disklocation_info.page
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/config.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/config_system.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/config_trayalloc.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/cron_disklocation.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/devices.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/export_tsv.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/functions.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/info.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/load_settings.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/locate.php
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/script/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/script/locate_script_bottom.js
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/script/locate_script_top.js.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/sqlite_tables.php
creating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/disk.css.php
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/help.css
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/signals.dynamic.css
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/styles/signals.static.css
inflating: /tmp/disklocation-packages/disklocation-2024-edition/disklocation/pages/system.php

Extraction done.

Package file disklocation.2025.02.08.zip extracted.

SIGNALS: signals.dynamic.css activated.

Uptime is above 15 minutes: Force SMART must be started manually unless the files already exists.

Installing cronjob...

Plugin installed successfully!
plugin: disklocation-master.plg updated
Executing hook script: post_plugin_checks

 

Try to uninstall and install it again.

  • Author
1 hour ago, PetabyteLDA said:

Try to uninstall and install it again.

No, just update it, it should redirect to the newest one then. This is the fix for it being stalled at 2025.02.08

I updated it daily for a while now and it's always on the same version and I always have an update available after updating.

  • Author
4 hours ago, wassereimer said:

I updated it daily for a while now and it's always on the same version and I always have an update available after updating.

Then I assume it's still bugged.

 

Just uninstall it, then install it again.

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.