Date: Mon, 07 Nov 2011 15:24:03 +0400 From: "Marat N.Afanasyev" <amarat@ksu.ru> To: Alex Samorukov <ml@os2.kiev.ua> Cc: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: smartctl / mpt on 9.0-RC1 Message-ID: <4EB7BFD3.3040606@ksu.ru> In-Reply-To: <4EB6FABF.6060401@os2.kiev.ua> References: <4EB1BCAD.7080206@zzattack.org> <20111102233807.GA67112@icarus.home.lan> <4EB1D6F9.3060008@zzattack.org> <20111103000124.GA67550@icarus.home.lan> <4EB1DD51.4080808@zzattack.org> <20111103002352.GA67904@icarus.home.lan> <4EB2538D.3090108@zzattack.org> <4EB2CB75.6070003@os2.kiev.ua> <CAD4099km0FcvUMSw=sY7HB73dtvfQgcVE16VJdGpGK96V%2B4hhA@mail.gmail.com> <4EB2E2D7.2050809@os2.kiev.ua> <CAD4099nogWP5q1GpHyuyWH%2BHUZYmW1xp9BFTdndL7nNLf6vFSw@mail.gmail.com> <4EB2F510.5070804@os2.kiev.ua> <CAD4099nNx7mkyUc2G7Z5W1Y%2B5BOBnP00mfA=F0x17kVoT76Peg@mail.gmail.com> <4EB307CC.8000705@os2.kiev.ua> <4EB6AD22.4080408@ksu.ru> <4EB6B20A.9090104@os2.kiev.ua> <4EB6B530.9000901@ksu.ru> <4EB6F004.9060501@os2.kiev.ua> <4EB6FABF.6060401@os2.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms090109030204080509090904 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Alex Samorukov wrote: > On 11/06/2011 09:37 PM, Alex Samorukov wrote: >>> Command failed, ata.status=3D(0x00), ata.command=3D(0xec), ata.flags=3D= (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. >> > One more update - there is TWA_FW_CMD_EXECUTE_SCSI command in the twa > driver, so it should be possible to get required data. I have no access= > to such hardware, but if anyone if going to provide it - i could try at= > least. > this is an output on mfi controller with mfip loaded: # smartctl -a /dev/pass1 smartctl 5.41 2011-06-09 r3365 [FreeBSD 8.2-RELEASE amd64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.ne= t Vendor: SEAGATE Product: ST3146356SS Revision: 0007 User Capacity: 146,815,737,856 bytes [146 GB] Logical block size: 512 bytes Logical Unit id: 0x5000c50028f8a56f Serial number: 3QN4PWHS00009130JLKB Device type: <31> Transport protocol: SAS Local Time is: Mon Nov 7 15:20:27 2011 MSK Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 26 C Drive Trip Temperature: 68 C Error counter log: Errors Corrected by Total Correction=20 Gigabytes Total ECC rereads/ errors algorithm=20 processed uncorrected fast | delayed rewrites corrected invocations [10^9=20 bytes] errors read: 9382124 0 0 9382124 9382124 3436.782=20 0 write: 0 0 0 0 0 8978.360=20 0 verify: 663433 0 0 663433 663433 332.651=20 0 Non-medium error count: 7 [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'= ] No self-tests have been logged Long (extended) Self Test duration: 1740 seconds [29.0 minutes] btw, 3dm can tell about reallocated sector count on sas somehow, while=20 smartctl cannot, even on supported controller :( --=20 SY, Marat --------------ms090109030204080509090904--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EB7BFD3.3040606>