1

Do linux filesystems retain a count of how many times they have been fsck'd?

ext2 and ext3 are of particular interest

I have hundreds of systems and I would like to know how many times each filesystem has been:

a) mounted b) fsck'd c) modified as a result of an fsck

Thanks,

Chris.

fadedbee
  • 1,988
  • 4
  • 22
  • 33

1 Answers1

4

For ext2 and ext3: dumpe2fs /path/to/device or tune2fs -l /path/to/device will show you the mount information.

But no, they only keep track of the number of mounts since the last check.

They do not keep track of fsck-related info.

MikeyB
  • 38,725
  • 10
  • 102
  • 186