[CentOS] Errors on an SSD drive

Robert Moskowitz rgm at htt-consult.com
Thu Aug 10 12:53:04 UTC 2017



On 08/09/2017 01:48 PM, hw wrote:
> Robert Moskowitz wrote:
>> I am building a new system using an Kingston 240GB SSD drive I pulled 
>> from my notebook (when I had to upgrade to a 500GB SSD drive).  
>> Centos install went fine and ran for a couple days then got errors on 
>> the console.  Here is an example:
>>
>> [168176.995064] sd 0:0:0:0: [sda] tag#14 FAILED Result: 
>> hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
>> [168177.004050] sd 0:0:0:0: [sda] tag#14 CDB: Read(10) 28 00 01 04 68 
>> b0 00 00 08 00
>> [168177.011615] blk_update_request: I/O error, dev sda, sector 17066160
>> [168487.534510] sd 0:0:0:0: [sda] tag#17 FAILED Result: 
>> hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
>> [168487.543576] sd 0:0:0:0: [sda] tag#17 CDB: Read(10) 28 00 01 04 68 
>> b0 00 00 08 00
>> [168487.551206] blk_update_request: I/O error, dev sda, sector 17066160
>> [168787.813941] sd 0:0:0:0: [sda] tag#20 FAILED Result: 
>> hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
>> [168787.822951] sd 0:0:0:0: [sda] tag#20 CDB: Read(10) 28 00 01 04 68 
>> b0 00 00 08 00
>> [168787.830544] blk_update_request: I/O error, dev sda, sector 17066160
>>
>> Eventually, I could not do anything on the system.  Not even a 
>> 'reboot'.  I had to do a cold power cycle to bring things back.
>>
>> Is there anything to do about this or trash the drive and start anew?
>
> Make sure the cables and power supply are ok.  Try the drive in 
> another machine
> that has a different controller to see if there is an incompatibility 
> between
> the drive and the controller.
>
> You could make a btrfs file system on the whole device: that should 
> say that
> a trim operation is performed for the whole device.  Maybe that helps.

This is a Centos7-armv7hl install which is done by dd the provided image 
onto a drive, so really can't alter the provided file systems much other 
than to resize them.  What I have is:

Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system     Flags
  1      1049kB  1075MB  1074MB  primary  ext3
  2      1075MB  2149MB  1074MB  primary  linux-swap(v1)
  3      2149MB  240GB   238GB   primary  ext4




>
> If the errors persist, replace the drive.  I´d use Intel SSDs because 
> they
> seam to have the least problems with broken firmwares.  Do not use 
> SSDs with
> hardware RAID controllers unless the SSDs were designed for this 
> application.





More information about the CentOS mailing list