What is the difference between nointegrity, noatime and relatime? And what is the best option for a SSD? I am using ext4 as my filesystem. And why disabling journaling on my system, data loss can occur? Can I use for example nointergrity & noatime together in fstab, or only one option is accepted? Thank you!


The nointegrity option has no direct relation with atime, noatime, relatime or nodirtime. You could choose only one of the time options for files. Using noatime imply nodirtime. So, noatime will make all files and directories noatime.

In my system I can not find the option nointegrity for ext4. Please check the man mount in the section for ext4 to find available options for it. The only options ext4 allows for journaling are journal, ordered and writeback. If you don't want possible filesystem corruption on a crash, do not use writeback.

So, for an SSD, make sure the discard option is enabled (it is by default). It will probably be safer to use relatime. The noatime may be infinitesimally faster but there is some risk of some programs failing to work correctly.

In ext4 there is no nointegrity option, but, in any case, do not use it if you care about having reliable data (you have been warned!).

| improve this answer | |
  • wiki.archlinux.org/index.php/… I understood that I should not disable journaling so data loss doesn't occur. But why relatime is safer than noatime? – Dankata Jun 18 '17 at 16:54
  • @Dankata Safer: not with your data but with the ability to run some programs that need an ordered (in time) list of files – Isaac Jun 18 '17 at 17:50
  • So if I mount my drive with noatime, data loss cannot occur, just some programs might not work? – Dankata Jun 19 '17 at 14:16
  • @Dankata Yes, no data loss should occur in the data written to the disk. However, if the application that use the data fails due to the times being out of sync, the data such application will write to the disk could be incorrect and some data loss (of that application) may still occur. This is mainly an issue for mail servers IIRC. – Isaac Jun 19 '17 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.