I would like to request a feature concering the unRAID 6 webUI.
I would like to change the smartctl call to another one for getting it to work with a hardware RAID controller.
Several years ago, there was unMENU with this thread: http://lime-technology.com/forum/index.php?topic=12228.0
In unMENU, one could set a "smartopt" variable. I never had unRAID 5 with unMENU, but that is the information I found.
Now in unRAID 6, the smartctl commands are fixed inside the webUI - if you do a search in the github repository, you can see that:https://github.com/bergware/dynamix/search?q=smartctl
The error I am getting is the following: "you may need to replace /dev/sdb with /dev/twlN, /dev/twaN or /dev/tweN"
So the smartctl call to /dev/sdb says:
root@Tower:~# smartctl -a /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.0.4-unRAID] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: AMCC/3ware controller, please try adding '-d 3ware,N',
you may need to replace /dev/sdb with /dev/twlN, /dev/twaN or /dev/tweN
But when I change the call like it is proposed, I see the correct output:
root@Tower:~# smartctl -d 3ware,13 -a /dev/twa0
... correct output ...
I need to change the call to /dev/twaN for all /dev/sdX calls AND I need to set the additionals parameter "-d 3ware,N" for each device where N is the device number in the hardware controller.
So I need an input field where I can set an additional "-d controller,N" parameter for all smartctl calls the webUI does and I need a field for overwriting the /dev/sdX call with another device.
I am sure that would be an easy change inside the webUI, as two additional fields for configuring each disk and a change to the few smartctl calls I found via the github search honoring the additionals fields are no big deal.
I would be glad if that could be implemented so that I can see all smartctl values in the webUI.
Thanks a lot!