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.

FlamongOle

Community Developer
  • Joined

  • Last visited

Everything posted by FlamongOle

  1. Update 2026.07.09 Commit #513 - BUG: SMART+DB fatals when by-path is non-existing. Some systems do not have /dev/disk/by-path apparently, so the SMART+DB update would fail. Checking if the directory exists before checking the contents with dev_by_phy_path() function.
  2. That makes sense. Expected that this path would always be there. I'll make a fix soon
  3. Cannot do anything with that information. Please send me Disk Location debug file and also PHP logs from Unraid. Also share with me if you did something else before the problems happened. In System tab: Enable debug, then press Force SMART+DB, cancel it if it doesn't do anything withing 5 seconds, disable debug, then send me the file. Or uninstall it.
  4. Update 2026.07.08 Commit #511 - BUG: Physical assignments wont move with the groups. Added physical.json into the rewrite loop with locations.json.
  5. Update 2026.07.07 - Physical tray assignments has arrived! Commit #506 - FEATURE: Physical assignment of trays. Some devices can be used to assign a tray to a physical address. Using this will automatically replace drives added to that tray. Device path are assigned to trays instead of device name and serial number. READ THIS BEFORE USE OF THE NEW FUNCTION: Some devices can be used to assign a tray to a physical address. Using this will automatically replace drives added to that tray. Device path are assigned to trays instead of device name and serial number. This requires a drive to be attached and assigned before it can be used. IMPORTANT! If there is a system change with e.g. HBA/SAS card (even motherboard PCI-slot), SAS-SATA breakout cables or motherboard, the physical locations must be wiped and reconfigured in the plugin. Using HBA/SAS cards in a fixed PCI location should normally use the same addresses. If such a major change is required and you want to preserve the tray locations: Press "Save" on "Tray Allocations" page to update the manual location database. go to the "System" tab and create a backup. then wipe ONLY the "physical" configuration BEFORE doing the changes. Hot swapping requires execution of Force SMART+DB, and will be prompted within 5 minutes. Inserting devices in powered off mode, will automatically execute it during boot. This text is also found under "Help" section in the plugin. ADDITIONAL INFO: This function is optional, if you don't want to opt in, you never have to. To assign physical locations, each location must be assigned and "physical" checkbox must be marked per drive. Drives not compatible will be disabled (e.g. NVME drives). POSSIBLE FUTURE PHYSICAL LOCATION TEMPLATES: It might be possible to make location templates from original server systems, like the 45 Drives Unraid system but also others. To create such templates for me, I would need this from you, everything below is mandatory and must be completed as written: Information about the server/enclosure name and model including HBA/SAS card name and model. All trays must be filled with drives and recognized in the plugin. All tray locations must be saved how it physically looks like on the server. Physical checkbox must be marked and saved. Then send me this file: /boot/config/plugins/disklocation/physical.json DO NOT SEND ME FILES FROM NON-ORIGINAL CONFIGURATIONS!!!
  6. Should work now, forgot to increase the version number in the install file. After "Force SMART+DB", you can manually spin down drives, then run just "SMART" afterwards to see if it behaves as expected.
  7. Update 2026.07.06 Commit #507 - BUG: SMART data gets saved even if it's empty. SMART data got pulled when there's nothing to fetch. Checks if SMART is available and enabled before saving new SMART json files. @Lean_ try this update. You must do a SMART+DB to fix the database before we know.
  8. I still scratch my head with this one, I might have a workaround to fix this, but I need to attack it on the right side. Can you please fetch me one json file of the "failed/flashing" devices from /tmp/disklocation/smart/ and post/send me?
  9. The reason I want the output of the commands is that I need to see if there's something strange coming out of it. Disk Location is not supposed to pull any SMART data from sleeping devices, and does normally just use the formerly saved data. It literally checks the state of a drive before pulling the data in auto-mode.
  10. Do you have any power settings that forces the disks to turn off, like backplate or HBA configuration of some sort? Any deep sleep functions or whatever they might be called? I'm not sure if some controllers that do these things can temporary store the SMART data while the drives are off, so it can always be pulled regardless of disk state while others do not. Just guessing here. If that SMART data cannot be collected from specific devices, then it will be known as "failed" as that is more likely cause if that data would suddenly be gone. As long as it works initially when doing like "SMART+DB", then it will force wake all drives before pulling the SMART data and it stores them. Later it will run SMART collecting on IDLE/ACTIVE drives. What might be interesting to see, is what state the "failed" drives are in (if it reports, active, idle, standby, off, anything else). You can try to pull that information running (change the sdX to whatever drive that shows failed SMART): smartctl -n standby /dev/sdX | grep -i DeviceRerun the command above after SMART+DB update, it will wake up all the drives if they are sleeping. Typically you should see something like: Device is in IDLE_A mode
  11. Can you post me the output of: cat /var/local/emhttp/monitor.ini | grep .ackI would also like to know what's the name of the other pool if you're using it combined with "flash"/internal boot. Thanks
  12. New function and feature in the making: assigning physical slots to device path. This will automatically replace drives in the assigned positions. This function will be experimental, and not all devices are supported. There's no ETA on completion and just a vague idea is made in the development version. It will also be optional to use this per device (see attached picture). Current help text: Some devices can be assigned to be attached to a physical address, using this will auto-replace devices added to that slot in the future. Device PATH are assigned to tray slots instead of device name and serial number. WARNING! If a SAS card, SAS-SATA breakout cables, motherboard has changed or HBA PCI position swap has been done, the physical locations must be reconfigured in the plugin! This function will always be experimental due to endless possible configurations out there. Using HBA cards in a fixed PCI location should keep the same addresses.
  13. Update 2026.06.22 Commit #504 - BUG: Power_On_Hours from SMART fails when too high numbers are entered. Added and parses an extra "string" value if the two others default fails, otherwise leave empty. @chasteencs Please try this update (you might have to do a Force SMART+DB as well, but I don't think it should be necessary).
  14. There's something odd with this drive, the raw[value] and power_on_time[hours] are both far off, while the raw[string] contains probably the actual hours (29807) with some extra numbers behind. I'll see if I can make a workaround for this one day when I have time. Only workaround for Disk Location now is to pull out the drive :P "id": 9, "name": "Power_On_Hours", ... }, "raw": { "value": 175874615833711, "string": "29807 (159 245 0)" // - value 2: "power_on_time": { "hours": 829080826 },
  15. Thanks, can you also give me the output (file) of this: smartctl -x --json /dev/sds &> /tmp/smart_sds.jsonI'm trying to figure out what's going on here, because the 29807 power on hour looks fine. I just wanna see if the json outputs something else or multiple values or something. Thanks.
  16. There's something wrong with the SMART "power on hours" on device "sds", "ST8000NC0002-1XX112", SN: ZA1091VX [powerontime] => 829080771 This means "26 years, 3 months, 7 days" power on time. I don't think any 8TB drives existed 26 years ago :P Can you please give me the output of: smartctl -a /dev/sds | grep Power_On_HoursI need to check if your HDD outputs wrong values, or if something happens with the plugin. Thanks.
  17. I can't replicate the issue, config look fine. Can you check the PHP logs if there's any error messages related to the plugin there?
  18. Update 2026.06.09 + 2026.06.11 Commit #501 - BUG: Devices with square brackets in their SMART name would fail, square brackets are now replaced to underscore instead. .11 improved commit #501 to replace all but expected characters (alphanumeric, dash, dot, underscore). @nicknick923 please try this release and see if it fixes the issues. You might need to run SMART+DB again, or even wipe the old config if that doesn't work. Not sure how it handles possible old files with wrong filenames
  19. I wonder if the SandForce device is causing those issues. Possible to remove it and try again? I might check for a possible fix later (no ETA), I hope it is what I think it is. The model name contains brackets [] and this will maybe conflict with the actual array. Never expected that to be a part of a device name really. Rather worrying is that the serial number is "1", maybe related to the brackets.
  20. Then changing the "SMART controller type" to "SCSI" under device settings in Unraid should fix your issue. Is that set, or is it "default/auto"?
  21. Have you tried with (or without) any of these settings: -d TYPE, --device=TYPE Specify device type to one of: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbasm1352r,N, usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus[/sat], sntasmedia[/sat], sntjmicron[,NSID [/sat], sntrealtek[/sat], jmb39x[-q[2]],N[,sLBA][,force][+TYPE], jms56x,N[,sLBA][,force][+TYPE], areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, sssraid,E,S, cciss,N, auto, test These can be saved in each device in Unraid (click a disk name). Check SMART controller type if you figure out which device might work. smartctl -H /dev/sd* should work too to give you a PASSED or FAILED (or nothing). You might wanna try this first, but then try any other that might fit your controller (this is an example, dunno if it works): smartctl -H -d sat,auto /dev/sdn I might add a way to ignore empty SMART outputs, but I guess they should be retrievable with the correct setting.
  22. What does this output when you enter it in the terminal: smartctl -x /dev/sdj | grep health smartctl -x /dev/sdn | grep health smartctl -x /dev/sdw | grep health
  23. Can't do much without debugging file. I would also like a screenshot of your "Configuration" page please. I'm unable to reproduce this without any additional information.
  24. Update 2026.06.02 Commit #499 - MINOR: Incorrect power_on_hours value could occur. Declared more variables to prevent picking up invalid values.
  25. Update 2026.05.23 Commit #496 - FEATURE: Added Boot/Flash device support for Unraid 7.3. "Temperature N/A" is renamed to "Standby" to clearify difference between "N/A" when in Heat Map view. Adjusted table size for group name in Tray Allocations. Custom colors must be reset to use the default colors, but that's optional. For split devices between flash/boot and other pools on the same disk, only the "Boot" is listed as the name.

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.