smartctl / mpt on 9.0-RC1

Alex Samorukov ml at os2.kiev.ua
Sun Nov 6 20:37:43 UTC 2011


>>
> it doesn't work :( sata drives are accessible, but for sas all we have:
>
> # smartctl -d 3ware,0 -a /dev/twa0
> smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-RELEASE amd64] (local build)
> Copyright (C) 2002-10 by Bruce Allen, 
> http://smartmontools.sourceforge.net
>
> Command failed, ata.status=(0x00), ata.command=(0xec), ata.flags=(0x01)
> 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.
>

Ok, looking in the code i found that on "3ware" device only 
"ata_command_interface" is implemented (with 
TW_OSL_IOCTL_FIRMWARE_PASS_THROUGH). The question is if that interface 
actually supports SAS drives at all. From the quick view of the sources 
i found  TWE_Command_ATA packet description, but nothing related to 
SCSI/SATA packets. So i am not sure that it is possible at all. If you 
know any tool which able to get health information for SAS drives we can 
try to debug ioctl it using to find the way to talk with disk.


More information about the freebsd-stable mailing list