Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
smartctl can read SMART from drives behind Areca controller. Any chance HWiNFO will?
#1
I have a server with an Areca 1882 Raid controller with 60 2 TB drives connected to it (3 separate 24 disk chassis).

The layout is as follows.  The 2nd column is the enclosure and the 3rd column is the slot the drive is in within that enclosure.

Code:
 9  02  Slot 01 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
10  02  Slot 02 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
11  02  Slot 03 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
12  02  Slot 04 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
13  02  Slot 05 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
14  02  Slot 06 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
15  02  Slot 07 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
16  02  Slot 08 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
17  02  Slot 09 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
18  02  Slot 10 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
19  02  Slot 11 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
20  02  Slot 12 Hitachi HDS722020ALA330          2000.4GB  Raid Set #1    
21  02  Slot 13 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
22  02  Slot 14 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
23  02  Slot 15 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
24  02  Slot 16 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
25  02  Slot 17 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
26  02  Slot 18 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
27  02  Slot 19 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
28  02  Slot 20 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
29  02  Slot 21 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
30  02  Slot 22 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
31  02  Slot 23 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
32  02  Slot 24 Hitachi HDS722020ALA330          2000.4GB  Raid Set #2    
33  03  Slot 01 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
34  03  Slot 02 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
35  03  Slot 03 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
36  03  Slot 04 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
37  03  Slot 05 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
38  03  Slot 06 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
39  03  Slot 07 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
40  03  Slot 08 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
41  03  Slot 09 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
42  03  Slot 10 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
43  03  Slot 11 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
44  03  Slot 12 ST2000NM0033-9ZM175              2000.4GB  Raid Set #3    
45  03  Slot 13 Hitachi HUA723020ALA641          2000.4GB  Raid Set #4    
46  03  Slot 14 Hitachi HUA723020ALA641          2000.4GB  Raid Set #4    
47  03  Slot 15 Hitachi HUA723020ALA641          2000.4GB  Raid Set #4    
48  03  Slot 16 Hitachi HUA723020ALA641          2000.4GB  Raid Set #4    
49  03  Slot 17 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
50  03  Slot 18 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
51  03  Slot 19 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
52  03  Slot 20 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
53  03  Slot 21 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
54  03  Slot 22 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
55  03  Slot 23 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
56  03  Slot 24 Hitachi HDS723020BLA642          2000.4GB  Raid Set #4    
57  04  Slot 01 ST2000VN000-1H3164               2000.4GB  Raid Set #5    
58  04  Slot 02 ST2000VN000-1H3164               2000.4GB  Raid Set #5    
59  04  Slot 03 ST2000VN000-1H3164               2000.4GB  Raid Set #5    
60  04  Slot 04 ST32000644NS                     2000.4GB  Raid Set #5    
61  04  Slot 05 ST2000VN000-1H3164               2000.4GB  Raid Set #5    
62  04  Slot 06 ST2000NM0011                     2000.4GB  Raid Set #5    
63  04  Slot 07 ST2000NM0033-9ZM175              2000.4GB  Raid Set #5    
64  04  Slot 08 ST2000NM0033-9ZM175              2000.4GB  Raid Set #5    
65  04  Slot 09 ST2000NM0033-9ZM175              2000.4GB  Raid Set #5    
66  04  Slot 10 Hitachi HUA723020ALA641          2000.4GB  Raid Set #5    
67  04  Slot 11 Hitachi HUA723020ALA641          2000.4GB  Raid Set #5    
68  04  Slot 12 WDC WD200MFYYZ-01D45B0           2000.4GB  Raid Set #5    

smartctl is able to read the SMART data from each disk as follows:

smartctl -a -d areca,${SLOT}/${ENCLOSURENUM} /dev/arcmsr0

Where SLOT if the slot within each enclosure (ENCLOSURENUM).

arcmsr0 represents the raid controller card in the server.

I'm particularly interested in reading the temps of each drive via SMART so that I can pass them onto aquasuite, which supports HWiNFO as a "software temp sensor".

At the moment, all HWiNFO is showing under Drives, is "RAID DummyDevice".  It does not see any of the 60 drives.

My end goal is to be able to control the chassis fan's in the enclosures based on actual drive temps as reported by SMART.

Thanks!
Reply
#2
Currently I don't have information how to support Areca controllers and it seems they don't support any of the 'standard' methods that are supported by most other controllers.
Do you know of other tools for Windows, i.e. CrystalDiskInfo that are able to retrieve SMART information there ?
Please attach the HWiNFO Debug File, so I can have a deeper look at what's inside.
Reply
#3
The only 2 utilities that I'm aware of that can extract SMART data from drives behind Areca controllers are Areca's own CLI utility, along with smartctl.

How do I generate a Debug file that I can attach?

Thanks
Reply
#4
See here how to create the Debug File: https://www.hwinfo.com/forum/Thread-IMPO...g-a-report
I'm afraid that having a deep look at smartctl might not provide the required clues for Windows, because the storage/driver architecture on Windows is very different from Linux and Areca might be using some proprietary methods here Sad
Reply
#5
Thanks. I created the Debug file and will PM you a link to it.

Yeah, the Areca's probably do use some proprietary methods, but smartctl was able to get around that somehow. Their SMART data is better/more complete that what Areca's own CLI provides. LOL
Reply
#6
Thanks.
Unfortunately the Areca driver doesn't respond to any known queries.
In Linux it probably supports some standard methods, but in Windows it seems to be proprietary. So without exact details from Areca I don't know how to support it.
Reply
#7
Thanks for looking into it Martin.

I'll do some digging on my end to see if I can get any additional info from Areca.

Will let you know if I come up with anything.
Reply
#8
Thank you. It would be great if Areca could provide details (IOCTLs) how to query their drivers for Identification and SMART information. I don't have any contact there.
Reply
#9
Hi Martin,

Check out this link:

https://www.smartmontools.org/browser/trunk/smartmontools/dev_areca.cpp

Note this in the header:

Code:
2 * dev_areca.cpp
3 *
4 * Home page of code is: http://www.smartmontools.org
5 *
6 * Copyright (C) 2012 Hank Wu <[email protected]>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version.
12 *
13 * You should have received a copy of the GNU General Public License
14 * (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
15 *
16 */
Reply
#10
Hmmm, that looks very interesting ! Smile
Please give me some time to check it...
Reply
#11
Excellent! On a side note, I have an Areca 1882 controller, but HWiNFO is reporting it as a 1880. There is also a 1883 model out now. Buddy of mine has that one in case you want a debug from him on that model.
Reply
#12
Yes, it would be interesting to get that Debug File.
Reply
#13
OK, so here the very first test build for Areca support: http://www.hwinfo.com/beta/hw64_535_2937.zip
I'm not sure if it will work, this controller uses a bit more complicated communication method, so please let me know what happens and attach a new Debug File for analysis.
Most probably several builds, tests and reports will be required to tune this...
Reply
#14
Thanks Martin. 1st time I ran it, it took a long time (couple of minutes) to scan SATA devices. It did pick up some of the drives behind my Areca controller!

[Image: hwinfoareca-01.JPG]

I enabled debug and ran it a 2nd time. It picked up more of the drives this time:

[Image: hwinfoareca-02.JPG]

Debug file here:

http://www.cstone.net/~dk/HWiNFO64-Areca.DBG

Awesome 1st attempt!
Reply
#15
Thanks for the test, great to hear that it works partially at least Smile
I'm analyzing it now and hope to come with a fix in a while Wink
Reply
#16
Startup takes so long, because HWiNFO scans for maximum number of drives (128) per max enclosures (16). Not sure what the real limits are, nor how to determine which drives/enclosures to check. But I'll try to reduce this time.
Working on fixing the other issues...
Reply
#17
OK, so here another build: http://www.hwinfo.com/beta/hw64_535_2938.zip
Please let me know the result + new Debug File.
Reply
#18
Getting closer. On first startup (without debug) it only found a few drives like before. On the 2nd run, it displayed all it found.

[Image: hwinfoareca-03.JPG]

I have a total of 8 of the Samsung SSD, 12 4TB seagates and 12 6TB WD.

Debug file:

http://www.cstone.net/~dk/HWiNFO64-03.DBG
Reply
#19
Oook Smile here another one: http://www.hwinfo.com/beta/hw64_535_2939.zip
Also, is the startup now faster than the 1st time ?
Reply
#20
Awesome! It is picking up all 32 drives behind the Areca controller as well as the SSD connected directly to the motherboard.

Yes, it scans much faster than before.

I also checked that the sensor pulls in all the temps via SMART. It does.

I'm going to run it on my other server with 60 drives with 2 external chassis, the 1st being cascaded through the 2nd one.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)