4

We've developed an app for embedded Linux clients (similar to raspberry Pi) and we are using 64 GB MLC Nand for storage. On our tests devices we see significant failure rate of 1/3 approximately. The SSDs reach max capacity of R/W after 6-8 months (instead of 3-5 years). Journaling has been enabled, because in production power loss can happen and it seems likely to be the culprit. Could the journaling be responsible? Our app does not write that much data each day. If we disable it how to deal with data corruption in case of power loss?

Gerry
  • 41

1 Answers1

3

Using default mount options, ext4 only journals metadata updates, rather than user data. This means the wear on your disk is going to only marginally decrease, but you expose the device to filesystem corruption in case of power loss (with the obligatoryfsck to recover).

I would investigate what is writing so much data, and why. Then, I would consider if something can be moved to a tmpfs mount (but remember that tmpfs is volatile!)

shodanshok
  • 52,255