ddumont Posted June 7, 2022 Share Posted June 7, 2022 I was wondering if I could try to go down this route and package their binary to read the stats and eventually hook it up to something in the array view. Quote Link to comment
trurl Posted June 7, 2022 Share Posted June 7, 2022 RAID controllers are NOT recommended with Unraid. Quote Link to comment
ddumont Posted June 7, 2022 Author Share Posted June 7, 2022 Yeah I started with plain drives /w 2x parity and the performance was so incredibly bad that I really had no choice. Quote Link to comment
trurl Posted June 7, 2022 Share Posted June 7, 2022 Do you understand how Unraid IS NOT RAID? Quote Link to comment
ddumont Posted June 7, 2022 Author Share Posted June 7, 2022 Yes and I never implied that it was. I thought I was pretty clear. My question was if I plugins could support adding temp/smart/etc monitoring to the Array UI or not. I am not confusing RAID (which I am doing in hardware) with unRAID's normal array operation (which is not RAID and does not meet my needs for performance, and data security) Quote Link to comment
primeval_god Posted June 8, 2022 Share Posted June 8, 2022 (edited) 19 hours ago, ddumont said: My question was if I plugins could support adding temp/smart/etc monitoring to the Array UI or not. Technically yes though doing so may be challenging. The plugin system/architecture is poorly documented at best. Adding new pages/tabs of the webui is reasonably simple, modifying or extending existing ones is quite a bit more complex and more hacky. For prior art on displaying drive related info the source for the unassigned drives plugin or the zfs plugin might be a good place to start. 19 hours ago, ddumont said: I am not confusing RAID (which I am doing in hardware) with unRAID's normal array operation (which is not RAID and does not meet my needs for performance, and data security) As for why this was brought up, The unRAID OS is not really designed with the usage of traditional RAID arrays or other storage architectures beyond the core unRAID array (looking at you ZFS) in mind. The ability to use btrfs raid pools is a rather new addition and still designed in service of a main unRAID array. When questions pop up about other RAID levels and hardware RAID it tends to be from newer uses who dont really understand what unRAID is and how its is meant to be used. Edited June 8, 2022 by primeval_god 1 Quote Link to comment
SimonF Posted June 8, 2022 Share Posted June 8, 2022 On 6/7/2022 at 6:57 PM, ddumont said: Yes and I never implied that it was. I thought I was pretty clear. My question was if I plugins could support adding temp/smart/etc monitoring to the Array UI or not. I am not confusing RAID (which I am doing in hardware) with unRAID's normal array operation (which is not RAID and does not meet my needs for performance, and data security) Can you post diagnostics so we can see how the disks are presented. Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 Sure. storage-diagnostics-20220608-2108.zip Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 It looks like they show up as drives. (but each entry is a 4x drive RAID 10 array) Their utility is a self contained binary and will list the devices and a ton of information about them including health. I was hoping to pipe some of that health data to any place unRaid currently monitors drive health. On that subject, can I get unraid to send emails on drive health events? Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 11 hours ago, primeval_god said: For prior art on displaying drive related info the source for the unassigned drives plugin or the zfs plugin might be a good place to start. I've been poking around for a bit, looking at those plugins in the CA interface... I don't see any links to github or something. The plugin forum has some stickies in it with links to plugin doc and conversations about a template... but I wasn't seeing a good place to just look and see what a plugin is. What is a plg file? is it a renamed tgz? Is there something like a https://gitpod.io workspace that can be used as a demo with common build process or something? I'm curious to play around. Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 12 minutes ago, ddumont said: What is a plg file? is it a renamed tgz? Is there something like a https://gitpod.io workspace that can be used as a demo with common build process or something? I'm curious to play around. answering myself a little here... this seems like a good example plugin with source: https://github.com/theone11/serverlayout_plugin Quote Link to comment
SimonF Posted June 9, 2022 Share Posted June 9, 2022 4 hours ago, ddumont said: answering myself a little here... this seems like a good example plugin with source: https://github.com/theone11/serverlayout_plugin plg files define the install of the plugin and the tgz are normally packages that have the install options, i.e. binaries, gui pages etc. Here is a link to one of my plugins. https://github.com/SimonFair/unraid.iSCSI I am playing with cli64 for Areca raid controller but disks are in HBA mode to see if I can automatically do the drive mappings for the smart extras file as well as looking to see if I can resolve an issue with spin downs., Unraid has a way to get temps etc from disks attached via a raid controller but they need to show as individual disks in the array. You may have issues of the binary needs to be updated with different releases to support the kernel drivers etc. Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 From the research I did, the driver is already in the kennel for a while now for their utility to use. Most os' only need their binary to see the drives, smart stats, temps, array configs, etc. I already played with it in unRAID and it seemed to work well. To unRAID, it looks like with this controller the built arrays show up as single drives. Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 There may be other ways to get at the low level info. This isn't my wheelhouse, so I don't know how involved this will be Quote Link to comment
primeval_god Posted June 9, 2022 Share Posted June 9, 2022 Here is a plugin I maintain, i wont promise that it is the best designed plugin ever but i think the build scripts might be worth looking at https://github.com/dcflachs/compose_plugin. It was originally forked from Squids user.scripts plugin so at least the bones of it were created by someone competent in unRAID plugin development. Quote Link to comment
SimonF Posted June 9, 2022 Share Posted June 9, 2022 8 hours ago, ddumont said: From the research I did, the driver is already in the kennel for a while now for their utility to use. Most os' only need their binary to see the drives, smart stats, temps, array configs, etc. Yes the driver will be included in stock unraid, what I meant was the binary ssacli vers may not.be compatable in the future witb libraries etc. Quote Link to comment
ddumont Posted June 9, 2022 Author Share Posted June 9, 2022 From what I read, it was statically linked. Perhaps I'm wrong. 1 Quote Link to comment
Recommended Posts
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.