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!).