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

  • Author
19 hours ago, thetadawg said:

When I go to Tools -> PHP it states the following "LOG size: 0 B". I do have a remote log server that I did look into for S&G and did not see anything in there.

you could try to go to Disk Location -> System, then click "Enable debugging", then click "Disable debugging" right away. Download the debug file and send that one. It will expose serial numbers and comments etc. related to the plugins, no content whatsoever.

  • Replies 1.6k
  • Views 248.8k
  • 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

@FlamongOle log file was sent via message. I didn't see anything stand out. Thanx again for the help!!!

  • Author
19 minutes ago, thetadawg said:

@FlamongOle log file was sent via message. I didn't see anything stand out. Thanx again for the help!!!

I see that all the drives are marked as unassigned, and that there's several PATH differences from the drives with what's stored in the temporary files.

Are none of the drives listed for assignment under "Tray Allocations"? You might need to assign them if that's the case. I'm not sure why all drives are marked as unassigned.

Does /tmp/disklocation exists, and does it contain files. Can those files be edited, or has it been mounted as read-only or something?

Please check these:

  • ls /tmp/disklocation/smart (should countain one json file per drive)

  • cat /tmp/disklocation/powermode.json (should contain a list of drive states with PATH)

Have you tested for faulty RAM? /tmp folder are mounted in the memory. Maybe a proper power off (with plugging out the cord) for some minutes will solve things too (if you have faulty files/write permission issues etc).

If none of the above gives any clue or solves it, I would probably go to System -> then select Reset "all" (NOT wipe). Then restore a backup you know worked followed by "Force SMART+DB". If the backup doesn't work and you have tried several, then I guess you must start from scratch (you can still keep benchmarks, backups etc, so no "wipe" will be required).

These are my current findings (below is a quick snip)

image.png

I have assigned the drives multiple times during my past troubleshooting

Does /tmp/disklocation exists, and does it contain files. Can those files be edited, or has it been mounted as read-only or something?

Please check these:

  • ls /tmp/disklocation/smart (should countain one json file per drive)

    36 json files are in this location with 644 root root for the files and 755 for the 'smart' folder

  • cat /tmp/disklocation/powermode.json (should contain a list of drive states with PATH)

    Is this what it should look like?

  • image.png

Have you tested for faulty RAM? /tmp folder are mounted in the memory. Maybe a proper power off (with plugging out the cord) for some minutes will solve things too (if you have faulty files/write permission issues etc).

I haven't pulled power from the server in awhile, but have done multiple restarts and shutdowns while troubleshooting

I just noticed something. Even though I have assigned the drive the picture at the top of the tray allocation tab states that they are empty.

image.png

  • Author

I did a bit more digging, and it looks like something is reported multiple times:

All devices with path 1:X:X:X and 8:X:X:X matches the exact same drive state (ACTIVE/IDLE/STANDBY) when putting them up side by side for comparison.

E.g.:

  • 1:0:0:0 -> 8:0:0:0

  • ...

  • 1:0:14:0 -> 8:0:14:0

  • ...

  • 1:0:32:0 -> 8:0:32:0

This will create a conflict as it sees itself double. I don't know WHY this happens, but this is kernel level or so. Are the drives passed through VM or something like that?

It looks like your drives are assigned multiple times: PATH 1:0:0:0 and 8:0:0:0 are /dev/sdd (sg3) AND /dev/sdaj (sg37) it also matches the serial numbers.

This has to be the issue and why Disk Location don't wanna add it because of that conflict. I didn't think this would be possible, so maybe you know what's going on with your server. And please share if you know why this happens or why you need it (if).

I will have to open up the server and take a look at the SAS backplane on my supermicro cse-847. It has been awhile and I really can't remember how it is hooked up, But I do remember it working with version 2024 of disk location. I haven't changed anything, since 2024 version. But, it might have the cables in a way that it's creating a loop of some sort.

  • Author
4 hours ago, thetadawg said:

I will have to open up the server and take a look at the SAS backplane on my supermicro cse-847. It has been awhile and I really can't remember how it is hooked up, But I do remember it working with version 2024 of disk location. I haven't changed anything, since 2024 version. But, it might have the cables in a way that it's creating a loop of some sort.

I don't know how these things interact or work, I just find it strange that it creates duplicated devices.

Disk Location 2024 does not check for this as it works differently than the 2025 version. I'm not sure if a bypass would be a thing to add either as it might cause some weird side effects.

  • Author
4 hours ago, thetadawg said:

I will have to open up the server and take a look at the SAS backplane on my supermicro cse-847. It has been awhile and I really can't remember how it is hooked up, But I do remember it working with version 2024 of disk location. I haven't changed anything, since 2024 version. But, it might have the cables in a way that it's creating a loop of some sort.

Maybe you're affected by this? Just a guess.

HELL YEAH!!! That was it! I had 2 cables connected. I powered down and removed the power just to give me a piece of mind and then saw that I had 2 cables connected, which created the multipath as you stated above. I powered it back up removed all devices and then did a restore from previous backup. All is good now. THANKS SO MUCH!!!!

  • Author
3 minutes ago, thetadawg said:

HELL YEAH!!! That was it! I had 2 cables connected. I powered down and removed the power just to give me a piece of mind and then saw that I had 2 cables connected, which created the multipath as you stated above. I powered it back up removed all devices and then did a restore from previous backup. All is good now. THANKS SO MUCH!!!!

Good to know!

These extra cables are for redundancy or transfer speeds? I will see if I MAYBE can add something to make this work in a future version, depending on if it's easy to detect and parse or not.

  • 2 weeks later...

If I had smart error:

Disk read error rate = 1,

but now disk read error rate = 0 in smart of hdd

But in plugin it still shows.

Should it be updated automatically or I need to change it manually?

  • Author
16 hours ago, Masterwishx said:

If I had smart error:

Disk read error rate = 1,

but now disk read error rate = 0 in smart of hdd

But in plugin it still shows.

Should it be updated automatically or I need to change it manually?

That should be updated automatically once the SMART update has been run. If the drive is/has been in standby (must be active for minimum 5 minutes), it won't be updated. "Force SMART" should update it regardless, including rest of the drives - this will wake them all up. "SMART" will only get SMART data from active drives.

  • 3 weeks later...

I don't think I've ever made a "feature request" before for any plugins so I'm not sure if this is the right location for this or if I should put this somewhere else...

I would love to be able to see drive firmware as another point of data that could be pulled in to make it very simple to see, at a glance, which of my drives would require an update that they currently don't have, etc.

This is one of my favorite plugins and I'm certain it has saved me HOURS with troubleshooting and managing drive replacements in my semi-large installations.

1 minute ago, spasmonaut said:

I don't think I've ever made a "feature request" before for any plugins so I'm not sure if this is the right location for this or if I should put this somewhere else...

I would love to be able to see drive firmware as another point of data that could be pulled in to make it very simple to see, at a glance, which of my drives would require an update that they currently don't have, etc.

This is one of my favorite plugins and I'm certain it has saved me HOURS with troubleshooting and managing drive replacements in my semi-large installations.

+1

  • Author
17 hours ago, spasmonaut said:

I don't think I've ever made a "feature request" before for any plugins so I'm not sure if this is the right location for this or if I should put this somewhere else...

I would love to be able to see drive firmware as another point of data that could be pulled in to make it very simple to see, at a glance, which of my drives would require an update that they currently don't have, etc.

This is one of my favorite plugins and I'm certain it has saved me HOURS with troubleshooting and managing drive replacements in my semi-large installations.

https://github.com/olehj/disklocation/issues/455

In my plugins folder I have three folders for disklocation...

disklocation

disklocation-master

disklocation-2024-edition

do I need all three of these?

the disklocation folder seems to have most of the bulk of the plugin

the disklocation-master folder has a disklocation.cron file in it

the disklocation-2024-edition folder seems empty

Edited by warpspeed

  • Author
On 8/24/2025 at 6:07 AM, warpspeed said:

In my plugins folder I have three folders for disklocation...

disklocation

disklocation-master

disklocation-2024-edition

do I need all three of these?

the disklocation folder seems to have most of the bulk of the plugin

the disklocation-master folder has a disklocation.cron file in it

the disklocation-2024-edition folder seems empty

You don't need the disklocation-2024-edition. The others must be there. There's a cleanup function under "System" tab as well for obsolete files.

Edited by FlamongOle

  • Author
On 8/19/2025 at 8:44 PM, spasmonaut said:

I don't think I've ever made a "feature request" before for any plugins so I'm not sure if this is the right location for this or if I should put this somewhere else...

I would love to be able to see drive firmware as another point of data that could be pulled in to make it very simple to see, at a glance, which of my drives would require an update that they currently don't have, etc.

This is one of my favorite plugins and I'm certain it has saved me HOURS with troubleshooting and managing drive replacements in my semi-large installations.

GitHub
No image preview

Feature request: Able to see drive firmware · Issue #455...

From spasmonaut @ unraid forums: I would love to be able to see drive firmware as another point of data that could be pulled in to make it very simple to see, at a glance, which of my drives would ...

This request is completed, but due to design changes in Unraid 7.2 it will be released once that is released. Unraid 7.2 will be required for Disk Location moving forward next version.

I have a NVME and it is dicovered by scan, but for some reason I can add it to the "bay"
Dont know what this error mean?

image.png

Color Scheme somewhere?

When running UNRAID with skins beside "black" and "white" this plugin is barely readable :-(

Example (with "Azure"):

grafik.png

There should be a way to configure text and background colors somewhere (yeah, I know "green" means "ok", but the text colors should give at least a little bit contrast...)

Edited by MAM59

  • Author
9 minutes ago, MAM59 said:

Color Scheme somewhere?

When running UNRAID with skins beside "black" and "white" this plugin is barely readable :-(

Example (with "Azure"):

grafik.png

There should be a way to configure text and background colors somewhere (yeah, I know "green" means "ok", but the text colors should give at least a little bit contrast...

Not going to go through all the themes, but you can change the background colors under Configuration, Layout and Tray Allocation, depending on how you wanna change the colors.

  • Author
29 minutes ago, casperse said:

I have a NVME and it is dicovered by scan, but for some reason I can add it to the "bay"
Dont know what this error mean?

image.png

Looks like that would be tray "-1"? Either you have marked that tray as "hidden" or you run with "hide empty contents" which hides the number to assign (I will address this is next release).

1 hour ago, FlamongOle said:

Not going to go through all the themes, but you can change the background colors under Configuration, Layout and Tray Allocation, depending on how you wanna change the colors.

tnx.

switched to the brightest green, now the text is readable.

But you might consider to add config for the text and background colors and do not use the theme values that might be invisible.

  • Author
52 minutes ago, MAM59 said:

tnx.

switched to the brightest green, now the text is readable.

But you might consider to add config for the text and background colors and do not use the theme values that might be invisible.

It's sort of impossible/inconvenient to do so. The text follows defined values by the themes. The background does not because it can't use ready defined "logic" colors. It's a small thing users have to configure themselves.

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.