7

For a project I'm using a 16GB class 10 Sandisk micro SD card (in an Adafruit micro SD card adaptor). I've got a Model B Raspberry Pi that's not overclocked, nor has it ever been. Since I'm running it headless I have assigned 48M to the GPU (lower than that and the Pi refuses to boot). I use a 2A USB charger to power the Pi.

I've read a lot about SD card corruption and people having issues in general with different types of SD cards or power supplies. Having never run into any of these problems before myself, I wonder if SD card corruption is still an issue or if it is something that will, no matter what, creep up over time because the SD card simply deteriorates.

Anyone who could shed a light on this?

If indeed this is still a problem, an solution could apparently be to boot from and SD card and have the root partition (and any other partitioins) on a USB stick. Why then would the partition on the USB stick not get corrupted?

Matijs
  • 173
  • 1
  • 6

1 Answers1

6

Yes. SD cards are volatile, and, as all memory does, will deteriorate over time. Nothing you really can do about it besides not use the device. This is because of the need to be small, the technology isn't quite as long lasting as a Hard Drive or SSD/RAM. Basically, all memory will deteriorate eventually, it just depends on the use it is put through.

More Read/Write cycles will break your SD card faster than less Read/Write, which might be rather obvious to some. Thus, if you are using the Pi for data gathering or serving up a web page, or anything that read/writes a lot, you should probably use USB data storage, to protect your Pi's SD card.

That said, your solution of booting from the SD card and then having all the other partitions on USB should extend your SD card life. If you want to find more about corruption and how to prevent it, check here. It has a very good answer on how to avoid corruption, as well as a few lesser ones (still with valid points.)

RPiAwesomeness
  • 3,021
  • 4
  • 31
  • 52