[NTLUG:Discuss] 3ware 9xxx + smartctl = :( *SOLVED*

Richard Geoffrion ntlug at rain4us.net
Thu Mar 16 18:24:31 CST 2006


Richard Geoffrion wrote:

> So as not to cause feelings of another out of context answer and at 
> the risk of seeming to request to be spoonfed,  How can I  use 
> smartctl to query the SMART values of any one of my 16 SATA drives 
> that are hooked up to my two 8-channel  3Ware-9xxx controllers? ( 
> Slackware 10.0.0, kernel 2.6.14.5, udev-081, lvm2-2.00.15)
>
>
> Yes I've googled, yes I've manpaged, yes "tw_cli info c3 p0 smart" 
> does show me a screen of hex numbers for Port0 of Controller3.   "c3 
> p0" is known as  /dev/sde(/dev/sde1 - LVM partition), /dev/dm-3, and 
> /dev/bugs/bunny. I have no idea which /dev/twaX device "c3 p0" might 
> happen to be.
>
> None of the smartctl commands that I've tried have worked....some of 
> which include
> smartctl -a -d 3ware,0 /dev/sde
> smartctl -a --device=3ware,0 sde
> smartctl -a --device=3ware,0 twa8
> smartctl -a --device=3ware,3 sde
> smartctl -a --device=3ware,3 /dev/sde
> smartctl -a --device=3ware,3 /dev/bugs/bunny
> smartctl -a --device=3ware,0 /dev/bugs/bunny
>
> at this point I'm banging my fingers against the keyboard at random.   
> The tw_cli utility can specify controller and port.  With smartctl it 
> only wants port and device.  I have TWO SETS OF PORTS!  Granted, c2 
> only has one 6disk set that is  /dev/sdc (non-LVM), but there are 
> ports 0-6 active on that controller (c2, p0-6)
>
> Mostly I get these errors.
>
> ---
> WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0)
> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
> A mandatory SMART command failed: exiting. To continue, add one or 
> more '-T permissive' options.
> ---
> if I add -T permissive then I get...
>
> ---
> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
>
> === START OF INFORMATION SECTION ===
> Device Model:     [No Information Found]
> Serial Number:    [No Information Found]
> Firmware Version: [No Information Found]
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   1
> ATA Standard is:  Exact ATA specification draft version not indicated
> Local Time is:    Thu Mar 16 17:17:13 2006 CST
> SMART is only available in ATA Version 3 Revision 3 or greater.
> We will try to proceed in spite of this.
> SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't 
> show if SMART supported.
> A mandatory SMART command failed: exiting. To continue, add one or 
> more '-T permissive' options.
> ---
>
>
Either the list is down or my last message failed to go out.   At any 
rate, I downloaded smartmontoos-5.33 and compiled them from source.   
MUCH better.  Now I can...

for CONTROLLER in 0 1 ; do
        for PORT in 0 1 2 3 4 5 6 7; do
         smartctl -a -s on --device=3ware,$PORT /dev/twa$CONTROLLER > 
/tmp/c$CONTROLLER-p$PORT
        done
done

Now I'll just have to redo that so I can get one file...or at least 
something more managable.

-- 
Richard



More information about the Discuss mailing list