[CentOS] SSD for Centos SWAP /tmp & /var/ partition

Mon May 23 20:01:00 UTC 2011
John R Pierce <pierce at hogranch.com>

On 05/23/11 12:45 PM, Keith Roberts wrote:
> Would a defrag program work on a SSD?

for some values of 'work'.    as its completely unaware of the internal 
block remapping of the SSD, all it would really do would be to churn the 
data around.

I've read the only way to reset the block remapping on most consumer 
SSDs is to write all zeros on them, some vendors say twice.   so, make a 
full file system backup, zero the disk (maybe zero it again), then 
restore that backup.  NOW your data is all contiguous both in file 
system logical space AND in remapped SSD block space.


john r pierce                            N 37, W 123
santa cruz ca                         mid-left coast