On 3/14/2024 3:48 PM, Frank Leonhardt wrote:
"CAM status: SCSI Status Error" suggests to me that the drive was just too busy
when asked. I'm not saying it's nothing to worry about, but neither am I saying it is.
Given enough of them it does cause checksum errors on the test pool
unfortunately. Could a buggy TRIM play a role here too ? I noticed a
commit the other day for a Segate SSD that had a broken NCQ TRIM. Could
these units suffer from that ?
https://cgit.freebsd.org/src/commit/?h=stable/14&id=47fff7407c22c2c4b36b4f9f27ddfa70bb8f3fee
Is there a way to turn that off via camcontrol ? Or perhaps instrument
some other settings ? I am not wedded to this hardware, but it would be
good to know if they can be made workable without too much effort.
kern.cam.da.2.delete_max: 17179607040
kern.cam.da.2.delete_method: ATA_TRIM
kern.cam.da.6.delete_max: 17179607040
kern.cam.da.6.delete_method: ATA_TRIM
kern.cam.da.0.delete_max: 17179607040
kern.cam.da.0.delete_method: ATA_TRIM
kern.cam.da.8.delete_max: 17179607040
kern.cam.da.8.delete_method: ATA_TRIM
kern.cam.da.3.delete_max: 17179607040
kern.cam.da.3.delete_method: ATA_TRIM
kern.cam.da.7.delete_max: 17179607040
kern.cam.da.7.delete_method: ATA_TRIM
kern.cam.da.5.delete_max: 17179607040
kern.cam.da.5.delete_method: ATA_TRIM
kern.cam.da.4.delete_max: 17179607040
kern.cam.da.4.delete_method: ATA_TRIM
kern.cam.da.1.delete_max: 17179607040
kern.cam.da.1.delete_method: ATA_TRIM
kern.cam.ada.0.delete_method: DSM_TRIM
# camcontrol iden da3
pass3: <WD Blue SA510 2.5 1000GB 52046100> ACS-4 ATA SATA 3.x device
pass3: 600.000MB/s transfers, Command Queueing Enabled
protocol ACS-4 ATA SATA 3.x
device model WD Blue SA510 2.5 1000GB
firmware revision 52046100
serial number 23261Y800771
WWN 5001b448bf6521a5
additional product id
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 512, offset 0
LBA supported 268435455 sectors
LBA48 supported 1953525168 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM non-rotating
Zoned-Device Commands no
Feature Support Enabled Value Vendor
read ahead yes yes
write cache yes yes
flush cache yes yes
Native Command Queuing (NCQ) yes 32 tags
NCQ Priority Information no
NCQ Non-Data Command no
NCQ Streaming no
Receive & Send FPDMA Queued no
NCQ Autosense no
SMART yes yes
security yes no
power management yes yes
microcode download yes yes
advanced power management yes no 0/0x00
automatic acoustic management no no
media status notification no no
power-up in Standby no no
write-read-verify no no
unload no no
general purpose logging yes yes
free-fall no no
sense data reporting no no
extended power conditions no no
device statistics notification no no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks yes 8
DSM - deterministic read yes any value
Trusted Computing no
encrypts all user data no
Sanitize yes block,
Sanitize - commands allowed yes
Sanitize - antifreeze lock yes
Host Protected Area (HPA) no
Accessible Max Address Config yes no 1953525168/1953525168