TRIM considerations when repartitioning a SSD

Adam Vande More amvandemore at gmail.com
Thu Aug 28 22:24:05 UTC 2014


On Thu, Aug 28, 2014 at 4:54 PM, Mike Clarke <jmc-freebsd2 at milibyte.co.uk>
wrote:

>
> FreeBSD 9.3-RELEASE
>
> I may soon need to repartition a SSD which has a zpool on it and was
> wondering what is the best method of ensuring that all blocks get
> marked as no longer in use.
>
> Is gpart sufficiently TRIM aware to be able to just use gpart delete?


Extremely doubtful that it is.  You generally must reset the drive eg

camcontrol security da4 -s buhbyesweetdata -e buhbyesweetdata


-- 
Adam


More information about the freebsd-questions mailing list