Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2010 20:14:59 -0400
From:      Steve Polyack <korvus@comcast.net>
To:        DJ <fusionfoto@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: smartctl/ada/FreeBSD 8.1 more than 10 devices?
Message-ID:  <4CA28503.4080903@comcast.net>
In-Reply-To: <476891.22114.qm@web50007.mail.re2.yahoo.com>
References:  <476891.22114.qm@web50007.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  On 9/28/2010 7:25 PM, DJ wrote:
> I'm seeing something odd and don't know if its a function of the new ada/ahci driver support in smartmontools 5.38 and later.
>
> I'm running 5.39.1 on an array using SiL3124 controllers with port multipliers.
...
> # smartctl -i /dev/ada11
> smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.1-RELEASE amd64] (local build)
> Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
>
> /dev/ada11: Unable to detect device type
> Smartctl: please specify device type with the -d option.
>
> Use smartctl -h to get a usage summary
>
>
> ---
>
> .... since all the drives, cables and controllers are identical, I'm trying to figure out if there is something *else* I should be looking into for why smart would have an issue, but the rest of the OS has no issues with these drives.  (zfs is storing data, reports them all as online, etc). I looked into the smartctl code, and there definitely is a carve out for FreeBSD 8.1 or later, but I don't know enough about the new internals to know if the is any kind of concern parsing more than 10 drives, etc.

DJ,
I have a similar setup with a fair amount of drives on a few Sil3124 
controllers and port multipliers.  I can't speak for why smartctl cannot 
automatically detect the device type, but if you specify '-d atacam', 
then it will work just fine:

$ sudo smartctl -i /dev/ada11
smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/ada11: Unable to detect device type
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary

$ sudo smartctl -d atacam -i /dev/ada11
smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-STABLE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.11 family
Device Model:     ST31500341AS
...

Also, out of curiosity, are you using the ahci(4) driver or the siis(4) 
driver?

Steve Polyack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA28503.4080903>