Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMART controller type settings reseting

Featured Replies

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

  • 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.

  • Author

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

  • Author

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"

 

 

  • 8 months later...

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?

  • 2 weeks later...

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

  • 2 months later...
  • Author

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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.