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

Thank you very much for the help.  I should have stated things better.  I "bought" the hardware from Limetech when it was still selling such things, but yes, indeed, running 6.7.2 currently.

  • 4 weeks later...
  • Replies 1.6k
  • Views 249.4k
  • 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

Is there a reason why the warranty dates/durations are not coming over from unraid?  I've set the purchase and warranty dates in the Main tab but they don't come over to the plugin.

I've just discovered this and am starting to play with it. This will be really helpful (so long as I remember to keep it updated... :) )

 

I noticed one small bug, though - on the configuration screen, I have this set up:

image.png.f02a3ac4a5796cd47ba2b30d1dd5a57c.png

Showing the #1 bay in the top right corner. However, when I go to the Tray Allocations tab, I see this:

image.png.dd571e8d7e36d6e6bc08b7953b4fc999.png

Showing the #1 bay in the top left corner.

I assigned a disk to slot #1:

image.png.b62f36d328e722f50a2f62ac7c14838e.png

 then go to look at my setup under Tools | Disk Location, it's back to the configuration I selected:
image.png.f309e516c2c52aef0af9eba4ad5b664c.png

so it seems to be working off of the physical location in the graphic, not the numbered slot that I've assigned. I just have to remember to use the slot numbers as shown in the config, knowing that they'll appear properly numbered & located when I look at it later.

 

All in all, a fairly minor complaint, but I thought I'd pass it along.

 

So far, so good! This will be super handy for my off-site backup server. I will be able to include a nice picture of which drive to swap out when I send my son back to his place with a replacement!

  • Author
17 hours ago, FreeMan said:

I've just discovered this and am starting to play with it. This will be really helpful (so long as I remember to keep it updated... :) )

 

I noticed one small bug, though - on the configuration screen, I have this set up:

image.png.f02a3ac4a5796cd47ba2b30d1dd5a57c.png

Showing the #1 bay in the top right corner. However, when I go to the Tray Allocations tab, I see this:

image.png.dd571e8d7e36d6e6bc08b7953b4fc999.png

Showing the #1 bay in the top left corner.

I assigned a disk to slot #1:

image.png.b62f36d328e722f50a2f62ac7c14838e.png

 then go to look at my setup under Tools | Disk Location, it's back to the configuration I selected:
image.png.f309e516c2c52aef0af9eba4ad5b664c.png

so it seems to be working off of the physical location in the graphic, not the numbered slot that I've assigned. I just have to remember to use the slot numbers as shown in the config, knowing that they'll appear properly numbered & located when I look at it later.

 

All in all, a fairly minor complaint, but I thought I'd pass it along.

 

So far, so good! This will be super handy for my off-site backup server. I will be able to include a nice picture of which drive to swap out when I send my son back to his place with a replacement!

It's not a bug, it's a feature ;) 

In all seriousness, the allocation configuration is NOT tray number, it is just a tray ID. So assign them after the ID. It is also written if you click the "Help" button in Unraid.

  • Author
On 9/18/2019 at 4:32 PM, Gbcue said:

Is there a reason why the warranty dates/durations are not coming over from unraid?  I've set the purchase and warranty dates in the Main tab but they don't come over to the plugin.

Are you sure you have selected the correct config for this? It has to use the "Unraid date" and not "self specified ISO"

52 minutes ago, olehj said:

Are you sure you have selected the correct config for this? It has to use the "Unraid date" and not "self specified ISO"

Yes, I set them for each Disk but the info isn't coming through to fill it out in the plugin.

  • Author
13 minutes ago, Gbcue said:

Yes, I set them for each Disk but the info isn't coming through to fill it out in the plugin.


Under "Set warranty date entry", be sure that "Unraid" is selected. And then store the dates via Unraid page. You might have to force scan all disks, so try that as well.

Couple of questions.

 

1. I have an SSD unassigned device that shows up with a black color scheme (different than all the other blue colored unassigned drives)

2. I have an old unassigned HDD drive that was going bad that I swapped out for a newer, bigger one that is still showing up in the device list even after "Force Scan All".  How can I make Disk Location "forget" about that drive?  I've also done "New Config".

  • Author
10 hours ago, DontWorryScro said:

Couple of questions.

 

1. I have an SSD unassigned device that shows up with a black color scheme (different than all the other blue colored unassigned drives)

2. I have an old unassigned HDD drive that was going bad that I swapped out for a newer, bigger one that is still showing up in the device list even after "Force Scan All".  How can I make Disk Location "forget" about that drive?  I've also done "New Config".

I dunno why you SSD shows like that, it might be lacking some information. Model name and serial numbers are required and has to be unique when it's combined, so make sure it's not blank or contains some odd characters or whatever.

 

If "Force Scan All" does not work, it might be because the old name/serial numbers and rest of the data are still showing as the old disk. This is something the system itself handles and the only way I know to fix this is by a reboot of the server. At least this is often the case with hot-swapping as far as I have experienced. If it shows even after a deleted database, there's nothing I can do.

7 hours ago, olehj said:

I dunno why you SSD shows like that, it might be lacking some information. Model name and serial numbers are required and has to be unique when it's combined, so make sure it's not blank or contains some odd characters or whatever.

 

If "Force Scan All" does not work, it might be because the old name/serial numbers and rest of the data are still showing as the old disk. This is something the system itself handles and the only way I know to fix this is by a reboot of the server. At least this is often the case with hot-swapping as far as I have experienced. If it shows even after a deleted database, there's nothing I can do.

See the Kingston?  Weird, right?

image.thumb.png.52195416bdc61ea3d91758995b782fec.png

  • Author
1 hour ago, DontWorryScro said:

See the Kingston?  Weird, right?

image.thumb.png.52195416bdc61ea3d91758995b782fec.png

Make sure you haven't specified a custom color for the drive, just choose any default colors and it should reset to standard scheme. At least make sure of it, I dunno why else it should behave like that

On 9/19/2019 at 11:10 AM, olehj said:


Under "Set warranty date entry", be sure that "Unraid" is selected. And then store the dates via Unraid page. You might have to force scan all disks, so try that as well.

That was all done and it's still not working.

  • Author
9 hours ago, Gbcue said:

That was all done and it's still not working.

Ah, and to make clear, the dates are only transferred if the drives are part of the Unraid array. It does not work with unassigned devices as this doesn't seem to really store the data per disk. It looked like it stored the last input you stored for -all- of the unassigned devices as one common unit. The plugin does not use that data because of that, and you have to specify those manually via the plugin.

Hello and thank you for the plugin!

 

I have a troubleshooting issue: I cannot get the count direction to accurately display right to left.

 

When I setup a new disk layout (in this case, 1 row x 15 columns), choosing either count direction starting with right orientation (right/top or right/bottom) shows a count order in the configuration tab from 15 on the left to 1 on the right.

 

However, count direction does not show up correctly on the tray allocations tab and once drives are assigned nor the devices tab under tools. The color coding on configuration tab example becomes incorrect as well once assigned.

 

The plugin will only showing drives in count up (1-15) from left to right not the specified right to left (15-1). That said, drive numbers show correctly in the information tab under tools.

 

I uninstalled the app, deleted the database, and created a new disk layout and am getting the same problem every time.

 

Thoughts?

 

Thank you in advance.

 

-Sean

 

 

 

dl_settings_configuration.png

dl_settings_tray-allocations.png

dl_tools_devices.png

dl_tools_information.png

Edited by tgrdn
missing information in screenshots, and some confusing language not following plugin nomenclature

  • Author
7 hours ago, tgrdn said:

Hello and thank you for the plugin!

 

I have a troubleshooting issue: I cannot get the count direction to accurately display right to left.

 

When I setup a new disk layout (in this case, 1 row x 15 columns), choosing either count direction starting with right orientation (right/top or right/bottom) shows a count order in the configuration tab from 15 on the left to 1 on the right.

 

However, count direction does not show up correctly on the tray allocations tab and once drives are assigned nor the devices tab under tools. The color coding on configuration tab example becomes incorrect as well once assigned.

 

The plugin will only showing drives in count up (1-15) from left to right not the specified right to left (15-1). That said, drive numbers show correctly in the information tab under tools.

 

I uninstalled the app, deleted the database, and created a new disk layout and am getting the same problem every time.

 

Thoughts?

 

Thank you in advance.

 

-Sean

Hi

 

I see you as well do the same mistake as many others, under the configuration of tray allocations, you assign devices based upon ID's and NOT the actual number you define. Else the colors seems to match all pictures as far as I can tell.

 

The configuration will always show 1,2,3,....-> regardless of your settings, it is also stated under "Help" (click that button).

 

Example: You add a group of 5 drives and want it to count backwards so it looks like:
5|4|3|2|1

In the configuration, because it is based upon ID, it will show as:
1|2|3|4|5

 

Meaning; you set the drive '1' to be the first drive from the left side physically seen.

 

The devices does not rearrange if you suddenly choose to use another count properties, it will only show different numbers and the drives are stuck in place because of its ID.

I have a quick question..  (See image fore more clarity)

 

I have drives showing up that have been removed from the server. I understand that it stays in unraid for future reference. But I have a lot.

 

Anyway, I have just made a unused map to put them in so I won't get so confused. But I noticed that the path on some are the same. If I use the locate feature, it won't locate, another locate button acts as if it's pressed. I have restarted multiple times, with the same issue, I have even uninstalled and reinstalled to test that... 

 

If you notice, it even shows 4 parity drives with the same name (sdn). Is this just something in my setup or normal? Thanks in advance..  

Capture.PNG

Capture 2.PNG

  • Author
39 minutes ago, Melocco said:

I have a quick question..  (See image fore more clarity)

 

I have drives showing up that have been removed from the server. I understand that it stays in unraid for future reference. But I have a lot.

 

Anyway, I have just made a unused map to put them in so I won't get so confused. But I noticed that the path on some are the same. If I use the locate feature, it won't locate, another locate button acts as if it's pressed. I have restarted multiple times, with the same issue, I have even uninstalled and reinstalled to test that... 

 

If you notice, it even shows 4 parity drives with the same name (sdn). Is this just something in my setup or normal? Thanks in advance..  

Did you try to "Force rescan all"? This should remove old drives and add them into the "Information" view instead as a history reference

Yes. That was the first thing I did. Then I restarted the server and then uninstalled then reinstalled. All the same drives etc. 

  • Author
1 hour ago, Melocco said:

Yes. That was the first thing I did. Then I restarted the server and then uninstalled then reinstalled. All the same drives etc. 

Alright, I see multiple drives have the same name. It's hard to figure out what happened here, what can maybe cause this issue is replacement of multiple drives and assigning them to slot before force scan has been made (or reboot if hot-swapping just partly works) to make sure the drives ends up in the correct list (flag). 

I would probably delete the database and start over, that is the easy solution at least.

If you know how to deal with terminal and SQLite, you can set the flag to "r" for the removed disks manually (might be needed to clear out/null the "devicenode" as well). Just make a backup of the existing one before you edit it.

Or just wait long enough until I bother making a "Remove disk" button.

  • Author

Update 2019.09.26

  • Commit #105 - FEATURE: Add force removal of drives stuck in database for any reason under a new tab called "Drives" under Configuration. This has slimmed down the "Information" page and leaves that with just the info without the controll/ operation buttons. Some bugfixes applied to these buttons as well.
  • Commit #104 - IMPROVEMENT: Unclear tray assigning because of TrayID assignment in some cases, made it more clear with added information.

@Melocco try this new feature, hope it works :P

 

@tgrdn maybe the tray allocation is better and made more clear now with the new update :)

I seen that you just uploaded the program and after updating, I ran the force scan all again. They are all now gone. Thank you for your help and quick update and response.. It all worked great... 

Edited by Melocco

  • Author

Update 2019.09.27

  • Commit #108 - BUG: Missing bracket in CSS file, caused color error for the LEDs

Hi, 

i installed the plugin configerd the drive layout. i have a hp360 g5 and 2 hp msa60.

when i try to see the drives i only see the parity raid drive and one other drive. I  also see the HP p410i and hp p800 but not the other drives. 

when i force scan all i see all the drives in the popup but i cant allocat the drives after that. what am i doing wrong??

  • Author
6 minutes ago, GeurtsWebdesign said:

Hi, 

i installed the plugin configerd the drive layout. i have a hp360 g5 and 2 hp msa60.

when i try to see the drives i only see the parity raid drive and one other drive. I  also see the HP p410i and hp p800 but not the other drives. 

when i force scan all i see all the drives in the popup but i cant allocat the drives after that. what am i doing wrong??

Make sure the drives output SMART with minimum of "model name" and "serial number" per drive. If the serial number is hidden or just zeroes, this will fail and probably overwrite each drive of the same model name showing only the last one. Check if your controllers can bypass the SMART data. Maybe your raid controllers can enable some settings in this regards. 

Do a smart check(smartctl -i /dev/sgX) for each drive listed in "lsscsi -u -g"

23 hours ago, olehj said:

Make sure the drives output SMART with minimum of "model name" and "serial number" per drive. If the serial number is hidden or just zeroes, this will fail and probably overwrite each drive of the same model name showing only the last one. Check if your controllers can bypass the SMART data. Maybe your raid controllers can enable some settings in this regards. 

Do a smart check(smartctl -i /dev/sgX) for each drive listed in "lsscsi -u -g"

Thanks for the tip. indeed the controllers are not posting the smart info from the drives. now i have to find out how i can make them post the info.  

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.