Skip to content

Image File Fragmentation

Eric Helgeson edited this page Nov 21, 2022 · 4 revisions

What?

If the image file on your SD card is fragmented it can impact the performance. You will see a warning like:

 - file is fragmented, see https://scsi.blue/frag

which leads you to this page.

Solution

  • Copy all files off your SD Card.
  • Delete all files off the SD card or do a Full format of ExFat
  • Copy all the files over to your SD Card one at a time.
  • The files should no longer be fragmented on the SD card.

Technical details

https://github.com/greiman/SdFat/issues/256#issuecomment-778795554