browned Posted July 31, 2021 Posted July 31, 2021 (edited) I have an HP 350 Gen9 with 2 x H240 raid cards in HBA mode. Both are functioning fine and I managed to discover the commands to get the disk details so temps are reported on the main screen. But after an hour or 2 the settings seem to drop and temp data disappears. I am settings each disk to use HP cciss smart controller type, with relevant disk index and device name dev/sb*. I used this command to find the serial of each device and therefore work out the disk index. Replace x's smartctl -A /dev/sdx -d cciss,x -i Anyone have any ideas? Is this something that can be set with a script on boot? Edited July 31, 2021 by browned Quote
ChatNoir Posted July 31, 2021 Posted July 31, 2021 20 minutes ago, browned said: I have an HP 350 Gen9 with 2 x H240 raid cards in HBA mode. Both are functioning fine and I managed to discover the commands to get the disk details so temps are reported on the main screen. But after an hour or 2 the settings seem to drop and temp data disappears. I am settings each disk to use HP cciss smart controller type, with relevant disk index and device name dev/sb*. I used this command to find the serial of each device and therefore work out the disk index. Replace x's smartctl -A /dev/sdx -d cciss,x -i Anyone have any ideas? Is this something that can be set with a script on boot? Hello, your diagnostics could provide some information on what is happening. Go to Tools / Diagnostics and attach the complete zip to your next post. Quote
browned Posted July 31, 2021 Author Posted July 31, 2021 Diagnostics attached. Seems smart logs are reporting this /dev/sdx: Unknown device type 'cciss' for all drives on the H240. storage-diagnostics-20210731-2103.zip Quote
browned Posted August 5, 2021 Author Posted August 5, 2021 I read some forums posts and feature requests and figured the issue is with the /boot/config/smart-one.cfg file. Each time you change a disk setting it seems to overwrite the previous data in the file. I ended up editing the file manually. with similar info to this and all H240 drives are now reporting the temps in the gui. Not sure this will be fixed by unraid or if it is an issue with unraid or something else but I have a reference file now so will be able to maintain it going forward. [ST5000LM000-2AN170_WKTGF] smType="-d cciss" smPort1="0" smDevice="sdc" [ST5000LM000-2AN170_WC01H] smType="-d cciss" smPort1="5" smDevice="sdh" [ST5000LM000-2AN170_WJVCJ] smType="-d cciss" smPort1="1" smDevice="sdk" Quote
bonienl Posted August 5, 2021 Posted August 5, 2021 This is fixed in the next version of Unraid. Quote
Jackal Posted April 30, 2022 Posted April 30, 2022 Hi @browned, I have the same HBA card, HPE H240, on a Supermicro motherboard. Can you please tell me how did you find the relevant disk index number? I guess it is the "smPort1" variable in the smart-one.cfg script, correct? Quote
Dustiebin Posted May 12, 2022 Posted May 12, 2022 I have the same card to and Unraid is not seeing any smart info and not spinning down my drives. @browned could you share how you managed to find the disk info please? also, are your drives SAS or Sata? I have 4 SATA and 1 SAS... thanks in advance Quote
browned Posted August 10, 2022 Author Posted August 10, 2022 Sorry, missed these replies. It is a bit hit and miss, but In the console run the following command, change the sdx to the one listed on the "Main" page in unraid, it is in the brackets. Change the ,x starting from 0 through to the number or drives you have. It is a bit hit and miss but you should get serial and smart data back on vaild drives. smartctl -A /dev/sdx -d cciss,x -i Quote
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.