Linux ‚/etc/fstab‘ – add commit=600 to the mounts options for the SD card

Linux will normally write out changes to the filesystem every 5 seconds that’s a lot of writes with commit=600 caches writes for 10 minutes and does one write very easy change  greatly increases SD card life

vi /etc/fstab
# PARTUUID=cc5f3ffe-02 / ext4 defaults,noatime 0 1
PARTUUID=cc5f3ffe-02 / ext4 defaults,noatime,commit=600 0 1

Leave a Reply

You must be logged in to post a comment.