SCSI sense: HARDWARE FAILURE

Elliott

Dabbler
Joined
Sep 13, 2019
Messages
40
I'm running FreeNAS 11.2 U5. I was experimenting to see whether my disks are aligned properly to 4K boundaries.
I have a new disk that I just popped in, and it's not part of a pool yet. I created a partition table with gpart, added some partitions, then deleted it. It was working fine for awhile, but as soon as I destroyed the partitions, the drive is no longer working at all. It even disappeared from camcontrol after doing a rescan.

Code:
root@freenas[~]# gpart destroy -F da22     
da22 destroyed
root@freenas[~]# gpart create -s GPT da22  
gpart: provider: Operation not supported by device

root@freenas[~]# camcontrol inquiry da22
root@freenas[~]# camcontrol identify da22
camcontrol: ATA ATAPI_IDENTIFY via pass_16 failed
root@freenas[~]# camcontrol rescan all
root@freenas[~]# camcontrol devlist | grep da22


This appeared in dmesg right after I destroyed the partitions:
Code:
(da22:mpr0:0:22:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00
(da22:mpr0:0:22:0): CAM status: SCSI Status Error
(da22:mpr0:0:22:0): SCSI status: Check Condition
(da22:mpr0:0:22:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
(da22:mpr0:0:22:0): Error 5, Unretryable error
(da22:mpr0:0:22:0): READ(10). CDB: 28 00 74 70 6d af 00 00 01 00
(da22:mpr0:0:22:0): CAM status: SCSI Status Error
(da22:mpr0:0:22:0): SCSI status: Check Condition
(da22:mpr0:0:22:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
(da22:mpr0:0:22:0): Error 5, Unretryable error
 

Elliott

Dabbler
Joined
Sep 13, 2019
Messages
40
The disk comes back if I remove it and then put it back, but similar errors start happening soon after. Is it possible that gpart destroy damaged this disk? Or maybe it was just a coincidence that the disk was defective.
 
Top