TRIM considerations when repartitioning a SSD
jmc-freebsd2 at milibyte.co.uk
Thu Aug 28 21:55:06 UTC 2014
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?
If not then I expect I'll need some or all of the following steps in
rm -rf <filesystem>
zfs destroy -r <zfs_filesystem>
zpool destroy <pool>
gpart delete -i <index> <geom>
How far down that list would be the best point to start?
More information about the freebsd-questions