SD cards have fairly limited read/ write cycles compared to ssd/hdd drives. How can we prolong the life of SD card in pyra ?
I was reading about this and found two things, to reduce read/write
1. Use noatime as mounting parameter in /etc/fstab
2. Do not create "swap" partition on SD card.
3. ? avoid journaling file systems like ext3/4 and use ext2 instead ( I am not sure if this is advisable )
EDIT: ext3 can be created without journal,
source https://unix.stackexchange.com/questions/259211/write-once-archive-ext2-vs-ext4has-journal-vs
EDIT2:
4. Large number of read/writes comes from log files and temporary files. Less essential logs can be cutdown, while temporary files can be kept in rem (tmpfs). Arch does that, I don't know about debian.
EDIT3:
5. Use large capacity cards, they last longer. ( I forgot where I read this, but basically larger capacity means less overwriting in same areas, which prolongs the life )
I was reading about this and found two things, to reduce read/write
1. Use noatime as mounting parameter in /etc/fstab
2. Do not create "swap" partition on SD card.
3. ? avoid journaling file systems like ext3/4 and use ext2 instead ( I am not sure if this is advisable )
EDIT: ext3 can be created without journal,
Code:
mke2fs -t ext3 -O ^has_journal /dev/whatever
EDIT2:
4. Large number of read/writes comes from log files and temporary files. Less essential logs can be cutdown, while temporary files can be kept in rem (tmpfs). Arch does that, I don't know about debian.
EDIT3:
5. Use large capacity cards, they last longer. ( I forgot where I read this, but basically larger capacity means less overwriting in same areas, which prolongs the life )
Last edited: