Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2014 13:02:29 +0200
From:      Andrei Brezan <andrei693@gmail.com>
To:        questions@freebsd.org
Subject:   Identify disk on HighPoint RocketRaid HBA
Message-ID:  <53E0B9C5.4090403@gmail.com>

next in thread | raw e-mail | index | archive | help
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: <odin> 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
<HPT DISK 0_0 4.00>                at scbus0 target 0 lun 0 (pass0,da0)
<HPT DISK 0_1 4.00>                at scbus0 target 1 lun 0 (pass1,da1)
<HPT DISK 0_2 4.00>                at scbus0 target 2 lun 0 (pass2,da2)
<HPT DISK 0_3 4.00>                at scbus0 target 3 lun 0 (pass3,da3)
<HPT DISK 0_4 4.00>                at scbus0 target 4 lun 0 (pass4,da4)
<HPT DISK 0_5 4.00>                at scbus0 target 5 lun 0 (pass5,da5)
<HPT DISK 0_6 4.00>                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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E0B9C5.4090403>