December 8, 20169 yr I installed a new Seagate 8TB archive drive in unRAID 6.3.0-rc6 and proceeded to preclear it. I found that SMART was disabled by default. Request 1: please automatically enable SMART on all unassigned devices that support it. i.e.: smartctl -s on /dev/sdX Once smart is enabled, this page allows you to view basic smart attributes for the disk: http://tower/Main/DeviceAttributes?name=sdl&file=/tmp/screen_buffer However, this page is missing the Smart Settings, Self-Test, Capabilities, and Identity tabs that array drives have, even though most of this functionality would apply to an unassigned drive as well. I had to drop to the command line to run a "long" test on the drive, rather than doing it from the GUI. Request 2: Please add all of the Smart Settings, Self-Test, Capabilities and Identity functionality that array drives have, to unassigned devices that support SMART
April 5, 20179 yr SMART support is already built-in the stock Unassigned Devices page. I suppose you are using the plugin.
April 6, 20179 yr The UD plugin supports SMART reports on disks. Please post diagnostics for us to look at. Edited April 6, 20179 yr by dlandon
April 6, 20179 yr Community Expert 1 hour ago, dlandon said: The UD plugin supports SMART reports on disks. Please post diagnostics for us to look at. This only seems to be true for disks that are mounted unless I am missing something. it would also be nice to be able to get notifications about SMART issues from UD disks in the same way we do for the main array disks (or is this implemented and I have never had a UD disk that qualified for a notification ).
April 6, 20179 yr Author On 4/4/2017 at 10:44 PM, bonienl said: SMART support is already built-in the stock Unassigned Devices page. I suppose you are using the plugin. 5 hours ago, dlandon said: The UD plugin supports SMART reports on disks. Please post diagnostics for us to look at. All of my drives are now part of an array, so I can't give a diagnostic. But at the time I submitted this I had two problems: 1. I had to manually enable SMART on the new drive by dropping to the command line and issuing the smartctl command mentioned above. This doesn't seem right. Either unRAID, UD, or preclear should automatically enable SMART on a new drive. To me, it seems like unRAID should do it. Here is a similar request: https://forums.lime-technology.com/topic/45929-new-wd-blue-4tb-comes-with-smart-disable/ 2. I wish I had taken screen shots, but this shouldn't be hard for someone with an unassigned hard drive to test. Just go to Main -> UD and click on a device name. I think stock and plugin both behave the same, you get a url like this: http://tower/Main/DeviceAttributes?name=sdl&file=/tmp/screen_buffer which is fairly useless compared to what you get when you click on an array drive: http://tower/Main/Device?name=disk1 So the second request is to have the /Main/DeviceAttributes script show the same Smart Settings, Self-Test, etc information that the /Main/Device script shows.
April 6, 20179 yr With current unRAID, unassigned devices (both stock or using the plugin), show all the SMART info from the Self Test option down, they are still missing the SMART settings section. There are also two other "issues": - like ljm42 mentioned some disks come with SMART disable, it won't work for those unless they are part of the array/cache pool (or SMART is manually enabled). - with the UD plugin installed it's not possible to access the SMART options for unmounted disks. Edited April 6, 20179 yr by johnnie.black
April 6, 20179 yr 3 hours ago, johnnie.black said: With current unRAID, unassigned devices (both stock or using the plugin), show all the SMART info from the Self Test option down, they are still missing the SMART settings section. There are also two other "issues": - like ljm42 mentioned some disks come with SMART disable, it won't work for those unless they are part of the array/cache pool (or SMART is manually enabled). - with the UD plugin installed it's not possible to access the SMART options for unmounted disks. The "SMART Settings" are only available on array drives. This is under LT control. The UD plugin cannot get around this. I believe that the setting in the bios to enable SMART will turn it on for all disks. The UD plugin will show SMART options for disks that are unmounted if they are not in a standby state - i.e. they are spinning.
April 6, 20179 yr Just now, dlandon said: The UD plugin will show SMART options for disks that are unmounted if they are not in a standby state - i.e. they are spinning. Not for me, using latest version.
April 6, 20179 yr Author 1 minute ago, dlandon said: Works for me. Thanks for checking. Would you mind showing a screenshot of what you see for the device properties of an unassigned hard drive versus one that is in the array? When I started this thread, a *lot* more data was available for array drives, even those most of it would be valid for an unassigned drive as well.
April 6, 20179 yr 9 minutes ago, dlandon said: Works for me. Well I guess we need someone else to check and see if the problem is with me or with you. It works for mounted disks but not for unmounted (but spun up) disks.
April 6, 20179 yr 9 minutes ago, ljm42 said: Thanks for checking. Would you mind showing a screenshot of what you see for the device properties of an unassigned hard drive versus one that is in the array? When I started this thread, a *lot* more data was available for array drives, even those most of it would be valid for an unassigned drive as well. UD SMART Report:
April 6, 20179 yr 13 minutes ago, johnnie.black said: Well I guess we need someone else to check and see if the problem is with me or with you. It works for mounted disks but not for unmounted (but spun up) disks. What does this command show? Quote /usr/sbin/hdparm -C /dev/sdX | /bin/grep -c standby I stand corrected. This is only used for determining spun up status. Edited April 6, 20179 yr by dlandon
April 6, 20179 yr 14 minutes ago, johnnie.black said: Well I guess we need someone else to check and see if the problem is with me or with you. It works for mounted disks but not for unmounted (but spun up) disks. When you click on the disk and it is not mounted, what shows on the screen?
April 6, 20179 yr 4 minutes ago, dlandon said: What does this command show? /usr/sbin/hdparm -C /dev/sdl | /bin/grep -c standby 0
April 6, 20179 yr Just now, dlandon said: When you click on the disk and it is not mounted, what shows on the screen? Nothing, not even the tooltip.
April 6, 20179 yr 2 minutes ago, johnnie.black said: Nothing, not even the tooltip. Can you show me a screen shot? I think you're telling me that the 'sdl' indicator is not active.
April 6, 20179 yr Author 12 minutes ago, dlandon said: UD SMART Report: This is perfect! I wonder why I wasn't getting it back in Dec. I need to find a spare disk to test with
April 6, 20179 yr 1 minute ago, ljm42 said: This is perfect! I wonder why I wasn't getting it back in Dec. I need to find a spare disk to test with Obvious question is do you have the latest version of UD installed? This was worked on after Dec to include more of the SMART.
April 6, 20179 yr 4 minutes ago, dlandon said: Can you show me a screen shot? I think you're telling me that the 'sdl' indicator is not active.
April 6, 20179 yr OK. After doing a bit of research I think you have hit upon a special case I implemented for those who did not want certain UD disks to spin up at all. Some disks spin up whenever their temperature or SMART report is checked. The temperature check and SMART reporting is disabled when there is no script defined. It looks like you don't have any scripts defined. That would cause the behavior you are experiencing. If you define the default script that doesn't do anything, the 'sdl' icon will be enabled and you can see the SMART report. Click on the script icon and then click the 'Default Script' button and then save it, you will get the 'sdl' enabled and be able to see the SMART report.
April 6, 20179 yr Author I just plugged in an NTFS-formatted USB hard drive and the "Smart Attributes" link wasn't active until I mounted it. Once mounted, this url: http://tower/Main/New?name=sdm shows the Self-Test, Attributes, Capabilities, & Identity tab like your screen shot. Very cool. Is mounting the drive required? I noticed johnnie's sdl drive isn't mounted either. Perhaps that was part of my problem back in Dec, I was looking for details on a brand new (and therefore unmountable, right?) hard drive. EDIT -> I created a dummy script and now the Smart Attributes link is available for the drive when it is unmounted too Edited April 6, 20179 yr by ljm42
April 7, 20179 yr Author So to recap: The UD plugin will display a "Smart Attributes" link (which shows the Self-Test, Attributes, Capabilities, and Identity tabs) for an unassigned device if: a. The drive is mounted b. -or- if you have defined a device script If the drive is not mounted and there is no script, UD assumes it is a warm spare and will not do anything that might spin the drive up. It sounds like stock unRAID will display this link at all times, although I have not tested it. -- Here are some potential enhancement requests based on this discussion: Provide some way to enable SMART on unassigned devices, if the device supports it but it is disabled by default. Otherwise the user has to drop to the command line to enable SMART. If this functionality is provided by unRAID it can either be fully automatic or it could be an option on the Identity tab (i.e. provide an "Enable" button next to the line that says SMART support is disabled) This could potentially be automated by the UD plugin Or it could be handled by @gfjardim's preclear plugin, by having it automatically enable SMART before a preclear rather than just telling you it is disabled. This options seems the least intrusive. Modify unRAID to allow custom SMART Settings and temperature thresholds to be set for unassigned devices, and modify the back end scripts to use them. Currently these settings are only available to array drives. Consider modifying UD to make it more clear why the "Smart Attributes" link is disabled. This seems to be a source of confusion.
April 7, 20179 yr OK. After doing a bit of research I think you have hit upon a special case I implemented for those who did not want certain UD disks to spin up at all. Some disks spin up whenever their temperature or SMART report is checked. The temperature check and SMART reporting is disabled when there is no script defined. It looks like you don't have any scripts defined. That would cause the behavior you are experiencing. If you define the default script that doesn't do anything, the 'sdl' icon will be enabled and you can see the SMART report. Click on the script icon and then click the 'Default Script' button and then save it, you will get the 'sdl' enabled and be able to see the SMART report.Ok, that explains it, thanks for looking into it. Sent from my SM-A500FU using Tapatalk
Archived
This topic is now archived and is closed to further replies.