What I have here is Crucial M4 SSD which has an / ext4 partition and some data partitions. It seems to be a good time to refresh it with new firmware and complete TRIM (last partition was used to store a backup in a hurry, which following deletion was not followed by TRIM, so now SSD may think that space still has some data)
My current choices are:
- Acronis True Image (which I have) is a nice tool, but it introduces some costs of rolling back a complete ext4 image onto fresh SSD, also I'm afraid it will take lots of writes of "unoccupied" space to disk. Not to mention alignment issues.
- cpio archiving is an itchy thing that can result in messed up /dev, symlinks and chattr's. However, it is native and will introduce less noise to SSD when allocating space.
- copy all files to another harddrive, then restore back: lesser pain than cpio archiving. (
cp -avis enough, I guess)
The question is: does the second/third way (file-by-file restoration) is really better for SSD health when talking of a 10 gb / partition restore?