Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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