SMART controller type settings reseting


Recommended Posts

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 by browned
Link to comment
  • browned changed the title to SMART controller type settings reseting
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.

Link to comment

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"

 

 

Link to comment
  • 8 months later...
  • 2 weeks later...
  • 2 months later...

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.