Lately I've been running several of our drives through read scans, as I've noticed a few with sectors on some disks that simply will not read. I'm doing this with a simple
However, while performing these scans, I've noticed some drives do not cause dd to stop, but generate some interesting dmesgs, e.g.:
This particular machine is the only one using a SAS HBA. My understanding of all of this is, based on the fact that dd did not exit prematurely, the error is specific to the HBA/backplane or wiring between, and not a problem with the drive itself. Is this safe to assume, or could the HBA in this particular machine be masking problems reading the disk?
dd if=/dev/(a)daX of=/dev/null bs=1m
. 'dd' has died on some machines when it hits something that can't be read, triggering me to replace the drive.However, while performing these scans, I've noticed some drives do not cause dd to stop, but generate some interesting dmesgs, e.g.:
Code:
(da6:mps0:0:60:0): READ(10). CDB: 28 00 ba 74 66 00 00 01 00 00
(da6:mps0:0:60:0): CAM status: SCSI Status Error
(da6:mps0:0:60:0): SCSI status: Check Condition
(da6:mps0:0:60:0): SCSI sense: ABORTED COMMAND asc:47,3 (Information unit iuCRC error detected)
(da6:mps0:0:60:0): Retrying command (per sense data)
...or alternatively (and far more rare), the SCSI sense line is:
(da6:mps0:0:60:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)