UFS Unable to determine if C400 SSD supports TRIM: safe to try it out?

The system I am working on is equipped with a "Micron C400 RealSSD mSATA 64GB 07MH" SSD, which I believe is a cousin of the Crucial M4 SSD. I have found contradictory information on TRIM support in this drive. TRIM is not listed in camcontrol but like I said, I have seen contradictory user reports.

Is this output authoritative? Is it safe to tunefs -t enable and try it out?

Code:
# camcontrol identify /dev/ada0
pass0: <Micron C400 RealSSD mSATA 64GB 07MH> ACS-2 ATA SATA 3.x device
pass0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes)

protocol              ATA/ATAPI-9 SATA 3.x
device model          Micron C400 RealSSD mSATA 64GB
firmware revision     07MH
serial number         1252037ADA88
WWN                   500a0751037ada88
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         125045424 sectors
LBA48 supported       125045424 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA5
media RPM             non-rotating

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes      yes
write cache                    yes      yes
flush cache                    yes      yes
overlap                        no
Tagged Command Queuing (TCQ)   no       no
Native Command Queuing (NCQ)   yes              32 tags
NCQ Queue Management           no
NCQ Streaming                  no
Receive & Send FPDMA Queued    no
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      yes     254/0xFE
automatic acoustic management  no       no
media status notification      no       no
power-up in Standby            no       no
write-read-verify              yes      no      0/0x0
unload                         yes      yes
general purpose logging        yes      yes
free-fall                      no       no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              8
DSM - deterministic read       yes              any value
Host Protected Area (HPA)      yes      no      125045424/125045424
HPA - Security                 no
 
For me it wasn't safe.
I have a Samsung SM841 256GB mSATA SDD in my laptop, and I was running a fresh FreeSBD 11.0-RELEASE-p3.
From the moment I enabled trim on it, it took about 1 or 2 minutes before the system froze and from that point the whole partitioning, data, everything was gone.

The SDD was completely inaccessable and unusable until i ran gpart destroy -F ada0 on it. Than it was back healthy and alive.
I tried about 10 times with new install of FreeBSD with different allingments, with and without softupdates/journaling and whatever just to see if anything would made a difference.
....it didn't. I even used FreeBSD without trim enabled for several days and than enabled trim... meh. dead after few minutes.
So, no, not safe to try at least for me. The Samsung SSD are a little more bitchy than other brands I think.
 
That's a great cautionary tale. I think I will leave TRIM alone until I am ready to test my restore strategy!
 
Back
Top