Re: Areca ARC-1882ix-24

Joshua Gardynik <[email protected]> Fri, 4 Mar 2016 20:32:50 +0000 (UTC)
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Mr. Gecko <grmrgecko <at> gmail.com> writes:

> 
> 
> I tried this already, without the device there it would just 
complain.$ smartctl -a -d areca,1 /dev/sdgsmartctl 6.4 2015-06-04 r4109 
[x86_64-linux-4.2.5-1-ARCH] (local build)Copyright (C) 2002-15, Bruce 
Allen, Christian Franke, www.smartmontools.orgUnable to open 
/proc/scsi/sg/device_hdr for readingdo_scsi_cmnd_io with write buffer 
failed code = ffffffffUnable to open /proc/scsi/sg/device_hdr for 
readingdo_scsi_cmnd_io with write buffer failed code = ffffffffUnable to 
open /proc/scsi/sg/device_hdr for readingdo_scsi_cmnd_io with write 
buffer failed code = ffffffffSmartctl open device: /dev/sdg 
[areca_disk#01_enc#01] failed: Input/output error
> 
> 
> On Sat, Dec 19, 2015 at 8:55 AM, Christian Franke <Christian.Franke 
<at> t-online.de> wrote:Mr. Gecko wrote:
> I read that smartmontools supports Areca RAID Cards, however I am 
running in JBOD and when I run smartctl on the drive, it doesn't return 
all the information as it should. This makes me wonder if the 
smartmontools health monitor is accurate.
> Output from smartmontools:
> sudo smartctl -a /dev/sdg
> 
> 
> Add option '-d areca,N' where N denotes the physical disk number 
(1=first disk).
> See smartctl man page for further info.
> Regards,
> Christian
> 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------------
--------
> 
> 
> _______________________________________________
> Smartmontools-support mailing list
> Smartmontools-support <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/smartmontools-support
> 

I was having the exact same problem as you, and it took me awhile to 
find the actual devices. On mine, the device to query is /dev/sg1. If 
you don't have the sgX devices you need to modprobe sg (and perhaps 
arcmsr). However, you also need to specify both the drive AND enclosure 
in that card to find the disk.

smartctl -a -d areca,1/2 /dev/sg1

That's the first disk in the second enclosure (which is what all the 
SFF-8087 ports are hanging off of). You can find these in arc CLI (disk 
info) or in the web interface under Raid Set Hierarchy.

I will reiterate that you cannot query the actual disks that are created 
(/dev/sdX). They don't pass through. You'll need to find the controller 
under /dev/sgX.

Hope that helps!
--Josh



------------------------------------------------------------------------------