From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 00:14:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F4BF106566B for ; Wed, 29 Sep 2010 00:14:45 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2738FC15 for ; Wed, 29 Sep 2010 00:14:44 +0000 (UTC) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta05.westchester.pa.mail.comcast.net with comcast id CBFl1f0070QuhwU55QElfH; Wed, 29 Sep 2010 00:14:45 +0000 Received: from [10.0.0.51] ([71.199.122.142]) by omta02.westchester.pa.mail.comcast.net with comcast id CQEl1f00234Sj4f3NQElqu; Wed, 29 Sep 2010 00:14:45 +0000 Message-ID: <4CA28503.4080903@comcast.net> Date: Tue, 28 Sep 2010 20:14:59 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: DJ References: <476891.22114.qm@web50007.mail.re2.yahoo.com> In-Reply-To: <476891.22114.qm@web50007.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: smartctl/ada/FreeBSD 8.1 more than 10 devices? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 00:14:45 -0000 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