From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 11:02:34 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 130A795D for ; Tue, 5 Aug 2014 11:02:34 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 930FC269C for ; Tue, 5 Aug 2014 11:02:33 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id f8so7722444wiw.1 for ; Tue, 05 Aug 2014 04:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=7UgJSmxBn2wAPLhYkZmnGJ9W6xP5ISYjq+USFcCN+fU=; b=IU8tLz4Ra9EGjA42GNZZsgc3GwMpNHlnw5KgYJl4mfnmQ2njzX9DoMBn4rczu5DlEw v1T9hZ5J3bNYbt+/QowJ3uorMWardceoPQhdoK9kCIrqbTcJw3bzIG0HNL2B8s70WY3T mBrOgmgQu821yw0y0or0wb/Sb/Z8xOdkuUkrscGCZTVA0GaHWLh3JbHl87mdEWqIfT1P M+FKNuTu4r576VOPo7E0q2INQNxrZPwlZtQc3nhF8Q5sMc6P5RR58xu/esh0Btt9vwg8 CQE0XWENd7OB9quqpX39/J+bykXmqOIdlfTKKjYPODJMlloQl4mIZierOvNjIR24BxcM IOLA== X-Received: by 10.194.63.228 with SMTP id j4mr4752872wjs.7.1407236550588; Tue, 05 Aug 2014 04:02:30 -0700 (PDT) Received: from t510.bsoft-company.ro (remote.ezwim.com. [193.239.202.173]) by mx.google.com with ESMTPSA id 10sm3419335wjx.26.2014.08.05.04.02.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Aug 2014 04:02:29 -0700 (PDT) Message-ID: <53E0B9C5.4090403@gmail.com> Date: Tue, 05 Aug 2014 13:02:29 +0200 From: Andrei Brezan User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: questions@freebsd.org Subject: Identify disk on HighPoint RocketRaid HBA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 11:02:34 -0000 Hello list, I have a HPT HBA (Rocket 2720SGL) with 7 disks attached to it. One of the disk is experiencing issues, I can see it as da6. My problem is that I can't tell which disk this one is via smartctl. I'm running 10.0-RELEASE-p4, this is the output from dmesg: % dmesg | grep hpt | grep -v probe hpt27xx0: mem 0xf7d40000-0xf7d5ffff,0xf7d00000-0xf7d3ffff irq 16 at device 0.0 on pci1 hpt27xx: adapter at PCI 1:0:0, IRQ 16 hpt27xx: Attached device index 00 (Path 00 | Target 00 | E0/Sff) 00000000 hpt27xx: Attached device index 01 (Path 01 | Target 00 | E0/Sff) 00000000 hpt27xx: Attached device index 02 (Path 02 | Target 00 | E0/Sff) 00000000 hpt27xx: Attached device index 40 (Path 04 | Target 00 | E0/Sff) 00000000 hpt27xx: Attached device index 41 (Path 05 | Target 00 | E0/Sff) 00000000 hpt27xx: Attached device index 42 (Path 06 | Target 00 | E0/Sff) 00000000 hpt27xx: Attached device index 43 (Path 07 | Target 00 | E0/Sff) 00000000 hpt27xx0: [GIANT-LOCKED] da0 at hpt27xx0 bus 0 scbus0 target 0 lun 0 da1 at hpt27xx0 bus 0 scbus0 target 1 lun 0 da2 at hpt27xx0 bus 0 scbus0 target 2 lun 0 da3 at hpt27xx0 bus 0 scbus0 target 3 lun 0 da4 at hpt27xx0 bus 0 scbus0 target 4 lun 0 da5 at hpt27xx0 bus 0 scbus0 target 5 lun 0 da6 at hpt27xx0 bus 0 scbus0 target 6 lun 0 (da6:hpt27xx0:0:6:0): READ(10). CDB: 28 00 01 12 90 1a 00 00 01 00 (da6:hpt27xx0:0:6:0): CAM status: SCSI Status Error (da6:hpt27xx0:0:6:0): SCSI status: OK hpt27xx: Device error information 0x1000000 hpt27xx: Task file error, StatusReg=0x51, ErrReg=0x40, LBA[0-3]=0x12d8987,LBA[4-7]=0x0. (da6:hpt27xx0:0:6:0): READ(10). CDB: 28 00 01 2d 89 80 00 00 0d 00 (da6:hpt27xx0:0:6:0): CAM status: SCSI Status Error (da6:hpt27xx0:0:6:0): SCSI status: OK I can do: % sudo smartctl -i -d hpt,1/n/1 /dev/hpt27xx for n=1,2,3,5,6,7,8 I also tried: % sudo camcontrol devlist at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus0 target 2 lun 0 (pass2,da2) at scbus0 target 3 lun 0 (pass3,da3) at scbus0 target 4 lun 0 (pass4,da4) at scbus0 target 5 lun 0 (pass5,da5) at scbus0 target 6 lun 0 (pass6,da6) Still no clue what disk da6 actually is. The server does not have led indicators for disks so I can't identify it with dd. % pciconf -lv | grep hpt hpt27xx0@pci0:1:0:0: class=0x010400 card=0x00001103 chip=0x27201103 rev=0x01 hdr=0x00 vendor = 'HighPoint Technologies, Inc.' class = mass storage subclass = RAID Any ideas how to find out which disk is causing these errors? Thanks, -- Andrei