improve ext4 file system

tune2fs -o journal_data_writeback /dev/partinio_name

vi /etc/fstab
/dev/partinio_name /home ext4 noatime,data=writeback,barrier=0,nobh,errors=remount-ro

Where data=writeback means that metadata for files can be written lazily after the file is written. That not cause file system corruption, but it may cause the most recent changes to be lost in the event of a crash.

Leave a Reply

Your email address will not be published. Required fields are marked *