Areca ARECA ARC-1880IX drive detection

Nov 20, 2014 at 9:24 AM
I'm using ARECA ARC-1880IX-16-4G controller and smartctl is normally getting output of connected drives via such command:

smartctl --all --device=areca,1/2 /dev/arcmsr0

but HDD Guardian just shows /dev/sdb as RAID controller.

Can you add support for it ?
Coordinator
Nov 20, 2014 at 9:57 AM
Hi!

At this time, since smartctl with "--scan" can't provide these devices, the only way to add drives under Areca controllers is to use the option in Settings -> Additional devices (see here).

If you provide me the output of HDD Guardian Toolbox ("Smartctl scan" and "System information", you can find the executable on the main folder of HDD Guardian), maybe I can create a routine that search for each Areca controller up to 24 devices that can be connected and skip the fake (in your case) /dev/sdb device.

Thanks,
Sam
Nov 20, 2014 at 10:12 AM
Here you go:

http://pastebin.com/wXFEL1CG
http://pastebin.com/Vr2mBinS

I've added some virtual device and now .NET Framework crashes - how to remove this device ?

http://pics.tinypic.pl/i/00599/j8pj28mi8dzl.jpg
Coordinator
Nov 20, 2014 at 10:36 AM
Thank you for the output files!

Unfortunately the crash appears when adding a new virtual device; I've fixed now this issue on the beta versions that you can find here. ;)
Nov 20, 2014 at 10:59 AM
Updated to beta 4 - and still I'm unable to remove this device. Reinstalling does not help. Where is this stored ?
Coordinator
Nov 20, 2014 at 2:53 PM
Edited Nov 20, 2014 at 2:54 PM
It seems that you have found another bug, sorry for the inconvenience!

Virtual devices are located here: C:\Users\ [username] \AppData\Roaming\Parise Samuele\HDD Guardian\Virtual devices, where [username] is the current logged in user.

You need first to exit HDD Guardian, then delete the file and in the end restart HDD Guardian.
Nov 20, 2014 at 3:02 PM
Ok. It's removed now. Now just please let me know how to detect and monitor drives connected to my Areca RAID card.

Example output where 1 is disk number, 2 is number of chassis (SAS expander is 1, interal ports are 2):
C:\Users\Marek>smartctl --all --device=areca,1/2 /dev/arcmsr0
smartctl 6.3 2014-07-26 r3976 [x86_64-w64-mingw32-win7-sp1] (sf-6.3-1)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 520 Series SSDs
Device Model:     INTEL SSDSC2CW120A3
Serial Number:    CVCV437500WU120BGN
LU WWN Device Id: 5 5cd2e4 04bdcc729
Firmware Version: 400i
User Capacity:    120 034 123 776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Nov 20 17:01:01 2014
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed

                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                ( 2097) seconds.
Offline data collection
capabilities:                    (0x7f) SMART execute Offline immediate.
                                        Auto Offline data collection on/off supp
ort.
                                        Abort Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  48) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x0021) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_
FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -
       0
  9 Power_On_Hours_and_Msec 0x0032   000   000   000    Old_age   Always       -
       895013h+28m+32.440s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -
       144
170 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -
       0
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -
       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -
       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -
       144
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always       -
       0
187 Uncorrectable_Error_Cnt 0x000f   099   099   050    Pre-fail  Always       -
       2656997
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -
       144
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -
       21720
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -
       65535
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -
       62
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -
       65535
232 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always       -
       0
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -
       0
241 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -
       21720
242 Host_Reads_32MiB        0x0032   100   100   000    Old_age   Always       -
       36238
249 NAND_Writes_1GiB        0x0013   100   100   000    Pre-fail  Always       -
       437

SMART Error Log not supported

SMART Self-test Log not supported

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been ru
n
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Nov 20, 2014 at 3:04 PM
One more thing - you should use:

smartctl -l devstat /dev/sda

to get proper Power on Hours on Intel 520 SSD drives. Smartctl has this bug too.
Coordinator
Nov 20, 2014 at 4:51 PM
To add devices under Areca controller try this: File -> Settings -> Additional devices; click on button "Add" and then put a description and the command "-d areca,1 /dev/arcmsr0" for the first one and "-d areca,2 /dev/arcmsr0" for the second one (you have to add two devices), then exit and restart HDD Guardian; devices should appear.
This is an experimental feature, so I don't know if works correctly since the user that have asked for this option have not tested it...

Thanks for the suggestion about Intel temperatures!
Nov 20, 2014 at 6:12 PM
It does not work.

The command should be:
-d  areca,1/2 /dev/arcmsr0
The one you gave me is for SATA controllers and I have a SAS controller, but it does not work too.

I mean Intel "Power On Hours" value not temps ;)
Coordinator
Nov 20, 2014 at 9:34 PM
Sigh, I have to trash that portion of code... :/

Now, I've read the portion of smartctl help that have a description of Areca SAS controllers, I've always limited the read on the first part of that section (the one for SATA controllers).
The worst thing is that SAS option support up to 128 channels and 8 enclosures, so (theoretically) the code should launch smartctl 1024 times! I think that is better to make a section on Settings window where for Areca controllers the user can increase (or decrease) the amount of channels and enclosures to limit also the time that HDD Guardian need to start...
I was thinking for SATA a default value of 2 drives, and for SAS two default values of 1 channel and 2 enclosures (if I've understand, you use "-d areca,1/1 /dev/arcmsr0" and "-d areca,1/2 /dev/arcmsr0" to access to your drives, right?).
On top of that I have also to detect the total amount of Areca controllers and the type, but in this last thing I'm lucky since the driver name tell also the interface type! :P

Sorry for mistake of temperature, I was in a rush when I've write the post! :D
Can you provide me an output with "-l devstat" (better if also with the SMART table) option? My four drives don't support this feature... :/
Or, try another thing: if from hours of ID9 you subtract the value of 894794 the power on hours are the same in the device statistics?
Nov 20, 2014 at 9:59 PM
I have 4 disks inside second enclosure:
-d areca,1/2 /dev/arcmsr0
-d areca,2/2 /dev/arcmsr0
-d areca,3/2 /dev/arcmsr0
-d areca,4/2 /dev/arcmsr0
Here's the requested output of -l devstat:
C:\Users\Marek>smartctl -l devstat /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-w64-mingw32-win7-sp1] (sf-6.3-1)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

Device Statistics (GP Log 0x04)
Page Offset Size         Value  Description
  1  =====  =                =  == General Statistics (rev 2) ==
  1  0x008  4             2570  Lifetime Power-On Resets
  1  0x010  4             3234  Power-on Hours
  1  0x018  6       2908208231  Logical Sectors Written
  1  0x028  6       4202201941  Logical Sectors Read
  4  =====  =                =  == General Errors Statistics (rev 1) ==
  4  0x008  4                0  Number of Reported Uncorrectable Errors
  4  0x010  4            12715  Resets Between Cmd Acceptance and Completion
  6  =====  =                =  == Transport Statistics (rev 1) ==
  6  0x008  4            12715  Number of Hardware Resets
  6  0x010  4             7146  Number of ASR Events
  6  0x018  4                0  Number of Interface CRC Errors
  7  =====  =                =  == Solid State Device Statistics (rev 1) ==
  7  0x008  1              255  Percentage Used Endurance Indicator
Coordinator
Nov 26, 2014 at 8:38 PM
Hi!

After some coding I've uploaded here the beta build number 5 of the next version.
Now I've coded the detection of Areca controllers (by default it detect up to 4 devices on each enclosure), now your fake Areca RAID disk should disappear and I've corrected also the working time for Intel 520 series devices (not on SMART table, but on the other areas).
Tell me if all works fine!

Thanks,
Sam
Coordinator
Nov 28, 2014 at 2:17 PM
Hi again!

The build number 5 contain a little bug: here I've uploaded the last build that works correctly.

Greetings,
Sam
Nov 28, 2014 at 3:39 PM
Areca is now missing on the list and no drives connected to it are being shown.

I've set 4 drives for enclosure 1 and 16 drives for enclosure 2.
Coordinator
Nov 28, 2014 at 8:41 PM
I think that I've discovered where was the error... I've put on the routine the "0" as minimum value for devices connected to an enclosure: when a non valid device is encountered the code exits from the routine, and "0" provide a non valid device output... :/
I've uploaded the new build on the previous link, tell me if it works correctly; If your devices can't appear, please enable the debug panel from:
File -> Settings -> General settings -> Display debug events in main window
since I've added some debug points into the "Areca routines" I hope that can be helpful just in case you encounter other issues!
Dec 1, 2014 at 10:30 AM
Edited Dec 1, 2014 at 10:33 AM
Now it showed only first drive connected to my Areca card. What about the other three ?

Here's my log: http://pastebin.com/XhMhrxD9
Coordinator
Dec 1, 2014 at 8:10 PM
Another little bug: this time it was related to the increase of items in the drives collection; now I've added a proper counter and I think that should work correctly.
You can find the new build (9) at the same place, let me know if all works fine! ;)
Dec 1, 2014 at 10:31 PM
Edited Dec 1, 2014 at 10:33 PM
It works now. I see 5 drives now ;)

One more thing: on Interface I see SATA 3.0 on all of them which is correct, but one drive in my system is working on SATA II mode (connected to old Intel controller).

So it's better to take this value directly from smartctl:
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
or
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
and name it example SATA 3.0 Gb/s or SATA 6.0 Gb/s

BTW - why File tab is always blue ?
Marked as answer by Eruestan on 12/2/2014 at 1:01 AM
Coordinator
Dec 2, 2014 at 8:01 AM
Nice to know that now all works fine! :)

The interface column report only the interface built on device, and this value is gathered directly from the first part of the strings that you have mentioned.
Maybe I can add in the future an optional column (if you see on Issues section I've had already this request) that report the current speed. ;)

The "File" tab is always blue because I've taken inspiration from Windows 8 Explorer (see here as example) for the whole interface of this version of HDD Guardian; if you have any suggestion I can consider it, since I have to check all the interface to match the Windows scheme color as promised to another user! ;)
Dec 2, 2014 at 8:52 AM
Edited Dec 2, 2014 at 8:59 AM
Current speed would be great ;)

Also please add firmware version and Power On Hours in the Overview field (inside the table without need of clicking drive by drive).