0

How does SSD wear leveling work when I have 2 partitions?

If I trim the first partition can't I run the risk that writes to my second partition will end up overwriting the data on the first, since parts of it have been marked as good for writing? If not, how can the SSD know about partitions?

Thanks for any help in clearing this up, I must be missing something.

Marian
  • 1
  • 1
  • Sure it will write to blocks originally from whatever partition. They’re marked as deleted after all, using TRIM. – Daniel B Aug 16 '21 at 16:20
  • @DanielB But it can't lead to corruption, right? This was the main point of my question. – Marian Aug 16 '21 at 17:18
  • @Marian it will not lead to corruption. It is all handled by the drive controller. – Mokubai Aug 16 '21 at 17:36
  • It won’t lead to corruption because the FTL (see linked Q) will know where in the “outer view” of the storage device it belongs. – Daniel B Aug 16 '21 at 18:34

0 Answers0