Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What command can tell me the last time that a filesystem was fsck'd? A date would be nice, but I'd settle for the mount count since the last fsck.

I've looked all around for this in fsck*, lsattr, and stat, and I don't see it.


share|improve this question

tune2fs -l gives you that information for ex.

sudo tune2fs -l /dev/sda1 | grep "Last checked"

share|improve this answer
this will only work on ext2/ext3/ext4 filesystems. – Jens Timmerman Dec 20 '13 at 9:43

You can use tune2fs to get the information

tune2fs -l /dev/devicetocheck | grep "Last Checked"

Similarly you can get the mount count

tune2fs -l /dev/devicetocheck | grep "Mount Count"
share|improve this answer

Apart from tune2fs -l, dumpe2fs will also give you this information:

dumpe2fs /dev/sda1 | grep "Last Checked"
dumpe2fs /dev/sda1 | grep "Mount Count"
share|improve this answer

Thanks everyone! And for reiserfs I found that debugreiserfs shows the mount count and last fsck run date.

share|improve this answer

Your Answer


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.