How an SSD Saves a File
Change one bit in a recipe and save it again. Follow the change to a fresh page of flash memory and see how the drive finds the new version.
Watch a keystroke
Scroll or pinch on the model to move closer.
Read the steps
- Send a save to the drive
The operating system submits a four-byte teaching buffer, 52 65 63 69. Changing its selected low bit changes the first byte to 53. We follow that bit from logical address 42; the controller writes it as part of a full NAND page.
- Translate the logical address
A flash translation layer maps the stable logical address to a physical page. This table is what lets a rewritten file move inside the drive.
- Allocate an erased page
A rewrite uses a fresh erased page. The old page becomes stale only after the new data and mapping are safely committed in this teaching sequence.
- Program the selected cell
Programming changes stored charge and raises a cell’s threshold voltage for a 0. An erased SLC cell represents 1. Programming works in pages; it does not erase a single cell.
- Read the threshold
A read voltage tests whether the selected cell conducts. The lower-threshold erased state conducts here; the programmed high-threshold state does not.
- Commit the new mapping
The controller makes logical address 42 point at the new physical page. Reading the same logical address now returns the newly saved bit.
- Reclaim a whole block
Stale pages cannot simply be overwritten. When an already-used block is needed again, this tiny model erases that all-stale destination block before allocation. Real garbage collection first copies any still-live pages elsewhere.
- Return to your saved recipe
The updated page and mapping survive without power in the conceptual storage model. You can rewrite the same address and see its physical location change.