Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 17:24:04 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: TRIM considerations when repartitioning a SSD
Message-ID:  <CA%2BtpaK0UpDCvBuMpnOkDXNfcnkuBfB-6tv2cMuyRjah5Z3xPRQ@mail.gmail.com>
In-Reply-To: <3415139.ffIAe6AYm2@curlew.lan>
References:  <3415139.ffIAe6AYm2@curlew.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 28, 2014 at 4:54 PM, Mike Clarke <jmc-freebsd2@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK0UpDCvBuMpnOkDXNfcnkuBfB-6tv2cMuyRjah5Z3xPRQ>