This may be in part duplicate . However my installation is 15.04 64 bit desktop. And no one has answered on that question. It seems to be a basic query albeit very important one .
sudo tune2fs -l /dev/sda7 (I am assuming this is a safe command which can be executed while the disk is still mounted)
Following are some of the values
Filesystem created: Fri Sep 18 05:48:19 2015 Last mount time: Thu Oct 1 21:01:39 2015 Last write time: Thu Oct 1 21:01:39 2015 Mount count: 12 Maximum mount count: -1 Last checked: Sat Sep 19 03:27:50 2015 Check interval: 0 (<none>) Lifetime writes: 1037 GB
I also checked across other laptops. Everywhere I found that Maximum mount count and check interval is -1 and 0, thereby disabling any file checking.
Quoting from man tune2fs " You should strongly consider the consequences of disabling mount-count-dependent checking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error. If you are using journaling on your filesystem, your filesystem will never be marked dirty, so it will not normally be checked. A filesystem error detected by the ker‐ nel will still force an fsck on the next reboot, but it may already be too late to prevent data loss at that point."
Am I missing some thing here? Some thing this important would it not be automatically set during the installation.
Please guide as to whether I should panic and force fsck on all my machines/external disks (some of them are couple of years old.
And also should I explicitly set these parameters.