-
Posts
564 -
Joined
-
Last visited
FlamongOle's Achievements
Enthusiast (6/14)
91
Reputation
-
As long as smartctl outputs something, Disk Location is quite agnostic to the numbers themselves. If it fails with smartmontools, then there's not much I can do. What I find confusing here is that the drives in fact are already added to the database, it just fail being assigned for whatever reason. Please give the output of these to me: sqlite3 /boot/config/plugins/disklocation/disklocation.sqlite "select * from disks WHERE model_name LIKE '%ST4000%';" sqlite3 /boot/config/plugins/disklocation/disklocation.sqlite "select * from location;" sqlite3 /boot/config/plugins/disklocation/disklocation.sqlite "select * from settings_group;" Run this, it will create a TXT file that you can send to me (one drive is enough): smartctl -x --all --json /dev/sdb > /tmp/dl_debug_sdb.txt You might want to choose another output location if you want to grab the file easier, like somewhere on you array.
-
EDIT: Did you check and try the "Undelete all devices" under "System"? Would be my first thing, before "Force update all". If you don't see that button, then likely it's not in the database at all and are lost forever. Original answer: After removing it from the "History" under "Tray Allocations", a "Force update all" should bring it back as long as the drive is still in the system. If it is in fact a history drive, you might need to do a manual database task, unless you can use a backup (if you have). Backup the current one before restoring an old one or fiddling with it manually. You can enter database by, in terminal: sqlite3 /boot/config/plugins/disklocation/disklocation.sqlite Then enter this to find your drive: select id,device,model_name,smart_serialnumber,status from disks; When you have identified your drive, type: update disks SET status='' WHERE id=<ID OF THE DRIVE>; eg. update disks SET status='' WHERE id=23; End the SQL with .quit After this, do a "Force update all" and fix the drive as you intend, unless it fixes itself.
-
Do a "force update all" and check again. If it's still says it's failing, you might need to look more into the drive. Can be a plugin bug, can be something delayed, can be something unsupported somehow.. there's possibilities. You might send in diagnostics to the unraid guys if it persists (not here). Hopefully you find out about it. Feel free to comment back about it in case I must look more into this later, but that will be after my vacation -- starting now!
-
Update 2024.07.25 Commit #315 - BUG: Export TSV did not export the list as intended. Update 2024.07.26 Commit #319 - MINOR: ZFS Hot Spares status was not recognized. Commit #318 - FEATURE: Possible to download TSV with RAW data (exception for the units read and written which is already calculated from the logical block size, it will show the actual bytes read and written).
-
No way to force it, just wait for an updated smartmontools to arrive with that info. Maybe next version has it, maybe it won't be added, it's out of my control. You can obviously add that info manually to the database, but next time it updates it will be overwritten again, so no point in that either.
-
You can always try to wipe/rename the disklocation.sqlite from /boot/config/plugins/disklocation: mv /boot/config/plugins/disklocation/disklocation.sqlite /boot/config/plugins/disklocation/disklocation.sqlite.bak But if it halts, it might be wrong config with the devices still. You can try to run the updater manually to see which device it fails (if any): php -f /usr/local/emhttp/plugins/disklocation/pages/cron_disklocation.php force
-
It won't match, is not intended to match all the various physical layouts out there, but the closest thing you can do is either create two separate groups (this will be closest to match the physical layout). Yon define the start number of each group. Or you can set it up to 3 columns, 2 rows, 8 total, override. examples:
-
Did you try to go to "Tray Allocations" -> "Reset all custom colors"?
-
Did you try "Force update all"?
-
Nah, it's either disabling the cronjob entirely from Disk Location or leave it as it is. "S.M.A.R.T updates" under Settings
-
Best is not to install anything unless you know what you're doing. It's relatively easy if the package is already built, other than that. Wait for next Unraid version that includes a newer smartmontools package. Earlier I used to include a newer version of smartmontools with Disk Location plugin, but I don't want to maintain that. As for now, Disk Location threat both of you NVMe drives the same and cant tell a difference looking at the unique ID it has been given.
-
Getting cron errors after upgrade from 6.12.8 to 6.12.9
FlamongOle replied to TedStriker's topic in General Support
Might be an issue related: https://github.com/smartmontools/smartmontools/issues/233 -
cron for user root /usr/bin/run-parts /etc/cron.daily 1> /dev/null
FlamongOle replied to bobokun's topic in General Support
Likely not Disk Location per say, but due to a bug related to smartmontools: https://github.com/smartmontools/smartmontools/issues/233 Nothing clean and useful I can do about it. -
Nevermind first post, this is likely due to a bug with smartmontools, or the compiler used for it (might be related to Unraid OS somehow) https://github.com/smartmontools/smartmontools/issues/233
-
See next post and nevermind below. I've seen that report from someone else "recently" and I need to get some info from you as the other one did not provide with all the information I needed. In terminal, please do this: php /usr/local/emhttp/plugins/disklocation/pages/cron_disklocation.php cronjob There you should see which device(s) will post this information, it might be related to smartctl, but is something I must find out. When you see which device output the fault, please give me the output of: smartctl -x --all --json /dev/<device> *where <device> is the wrong device, eg. sda or nvme1n1 Please share that output to me, you might do it in PM if you don't want to reveal the serial number or other drive data if you care. No content will be revealed.