How to tell when filesystem was last checked
8:00 PMHow to tell when a ext2,3,4 filesystem was last checked ( fsck) ?
The tune2fs command can list the contents of the superblock and provide information on the filesystem, one parameter is when the last time an 'fsck' was run on the filesytem.tune2fs -l /dev/mapper/mpatha |grep "Last checked"
Last checked: Sun May 26 07:42:25 2013
-l List the contents of the filesystem superblock, including the
current values of the parameters that can be set via this pro-
gram.
0 comments