Jump to content

olehj

Members
  • Content Count

    84
  • Joined

  • Last visited

Community Reputation

6 Neutral

About olehj

  • Rank
    Advanced Member
  • Birthday June 3

Converted

  • Gender
    Male
  • URL
    https://ubrukelig.net
  • Location
    Norway

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. olehj

    [PLUGIN] Disk Location

    @radfx & @GeekMajic What you can try to check if the SMART data actually get read, is to set a higher delay for "SMART execution delay" The plugin setting is a delay to be sure it has closed enough SMART instances before running new ones. It is mainly a nasty hack to be sure PHP has closed the run before opening too many new ones simultaneously which smartmontools does not like. A busy system might need a higher value, try 500 and 1000 just for the fun of diagnostics. It will/might take longer time to load the page with higher values. You can also try to run time smartctl -X /dev/sgX in the terminal to check how long time it takes to execute a SMART read. NB! The time it takes to read, has no influence over the setting for the plugin itself other than real time. If this does not help, either SMART is reporting false data or the drive gives weird values.
  2. olehj

    [PLUGIN] Disk Location

    Update 2019.02.18b Commit #53 - MINOR ISSUE: Found the actual line, checks for disksize value before calculating human readable size. This should hopefully fix the warning message you got earlier
  3. olehj

    [PLUGIN] Disk Location

    Which version of the plugin do you have? This issue should have been fixed some time ago. Yet the SSD is displayed when it find no rotation and it should also check for another input regarding solid state, it might not be 100% but then I can't do so much about it yet until smartmontools gets their info a bit better.
  4. olehj

    [PLUGIN] Disk Location

    line 95 makes way more sense than line 9. You do not need to worry about that, it is only a converter for the harddisk size to convert from pure bytes to eg. TB. It faults when it does not receive anything. I'll fix this later.
  5. olehj

    [PLUGIN] Disk Location

    Update 2019.02.18 Commit #53 - MINOR ISSUE: Replaced single quote to double quote for the definitions. Could cause some warnings to appear - maybe.
  6. olehj

    [PLUGIN] Disk Location

    I might have fixed the warning message, but I'm not 100% certain about it. Next release will maybe help. It looks like the SMART data can't be read from the last SSD drive you have, as you can also see from the unraid page. Run smartctl manually on the drive and compare it with the other one. Are they connected on the same board? Maybe it might be some hardware controller issues, sometimes (rather often) a motherboard have multiple types of chipset/sata controllers on board. I might look into a mini version, but it has to be cached and running in the background in that case. As it will read smartdata to have any actual purpose, it might take time to do so and also interrupt the system drive by drive until it is finished. I dunno if that would be a good solution. I'll add it at github for possible future tasks, but don't count on it (at least for a while).
  7. olehj

    [PLUGIN] Disk Location

    Yes, it is intended to work like this as people might change entire configuration and do more than one step at a time. Reorganizing of drives, adding or removing and then also swapping controller or motherboard would be hard to keep track on. That's why it is chosen to just use harddisk+slot.
  8. olehj

    [PLUGIN] Disk Location

    Update 2019.02.14 Commit #51 - FEATURE: Added warranty left and comment options to be visible in the devices tab. These options has to checked and be saved in the configuration. For existing users, both comment and warranty must be activated and saved manually. For new users the warranty left is on by default.
  9. olehj

    [PLUGIN] Disk Location

    Did it work without issues?
  10. olehj

    [PLUGIN] Disk Location

    1: Yup, and believe me I wanted to avoid this as much as possible - and luckily won't be any problem in 6.7+ The first official stable version of this plugin will be near Unraid 6.7 stable launch, and then it will be required to use 6.7+. My main focus is to keep it working with the current stable release, and I like the current version number so no rush. 😈 2: I believe the plugin install script would reinstall them as the plugin itself? The packages and the plugin is stored at /boot, so those should "survive" (reinstall) a(t) reboot?!
  11. olehj

    [PLUGIN] Disk Location

    Update 2019.02.11 Added max version to the package installer so it won't downgrade the package by Slackware's logic of versioning for Unraid 6.7. nothing else 😛
  12. olehj

    [PLUGIN] Disk Location

    I totally agree and will add this soon, the lack of documentation is horrible though. Also any proper distro have a dependency check and don't mess with "different version number" but higher and lower, I really wonder why it was even settled for Slackware as a base of all distros existing. Anyway, git was installed via this plugin because it makes the install and maintaining quite faster and easier. It did not ship with Unraid 6.6 as default, so I chose the package closest to what I found in the Nerd Pack plugin. smartmontools 7.0 was required because of a json output which makes the life a lot easier, and it was tested with no problems.
  13. olehj

    [PLUGIN] Disk Location

    No seriously, Slackware is a stupid idea to build anything upon these days. It's not a feature, it is just a pure shitty system with no dependency check whatsoever. And sadly I don't know if that top line can be changed other than manually checking the version before installing/replacing/upgrading - which I won't for the sake of a few months or so (I dunno when), before Unraid 6.7 will be released. This is something I really hate with Unraid, Slackware is a very specific and a weird distro (The most Unix like they call it). I started using Slackware back in my early linux days and used it for years, but it is a nightmare when it comes to packages. The good point though, is that it will probably be removed from the script when 6.7 releases, including smartmontools which is also 7.0 in Unraid 6.7. Good to see that git is included by default in 6.7. As for now I have to focus on the stable releases. So when 6.7 is released as stable, this plugin will likely require Unraid 6.7+ This plugin is still in Alpha stage, maybe Beta, even if it's not really written anywhere. Sorry for the harsh feedback, but I think it is rather a waste of time and resources for something temporary as this is. Even if it could be as simple as just make another install file for 6.7, but I really can't be bothered. Again, sorry
  14. olehj

    [PLUGIN] Disk Location

    1. Less likely to be implemented, will require a bit too much exceptions and will rather break a lot of configs. Why not use BTRFS Raid1 as Cache? I understand different needs, but it is possible to do it native. This plugin is supposed to work as automagically as possible, so I don't think this will be implemented. Not in the current state at least. Sorry about that. 2. Yes, that for sure can be added in a later release, including all other missing variables visible at the Info page.