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.

I did touch /forcefsck && reboot on remote machine, using Ubuntu 9.10.

How I can find out if there were any errors corrected? How I can find out what the result of the fsck was?

Thanks

share|improve this question
2  
Have a look in /var/log/fsck/ –  boehj May 8 '11 at 22:50
    
Unfortunately nothing there - time stamps don't match and both files contain this: (Nothing has been logged yet.) –  grs May 8 '11 at 23:33
    
These clowns think it's a wishlist bug: bugs.launchpad.net/ubuntu/+source/mountall/+bug/513644 –  dan3 Dec 3 '13 at 7:10

2 Answers 2

up vote 5 down vote accepted

I think it might be in /var/log/boot.log. At least there appears to be something in mine relating to a successful fsck:

fsck from util-linux-ng 2.17.2
/dev/sda1: clean, 300236/4358144 files, 6740064/17401600 blocks

This is on Ubuntu 10.04.2 LTS.

share|improve this answer
    
Nope, same as above. In fact, I checked the whole /var/log and can't see anything to make sense. Now, few days are passed, but still... Thanks! –  grs May 10 '11 at 0:24
    
to confirm: on CentOS 6.5 restarted with shutdown -rF now you can find lines in /var/log/boot.log (same as on Ubuntu), such as: Checking filesystems sys: clean, 119622/5931008 files, 4238482/23716355 blocks... –  woohoo Jul 16 '14 at 14:14

I had the same problem.

My distro is Ubuntu 12.04.5 LTS x86_64

I found the log you and I need in /var/log/kern.log.

After a black-out during a storm I rebooted my pc with /forcefsck. My root partition is /dev/sda5. My /var/log/kern.log below:

Aug 15 10:34:40 utopia kernel: [ 12.383204] EXT3-fs (sda5): orphan cleanup on readonly fs Aug 15 10:34:40 utopia kernel: [ 12.383209] ext3_orphan_cleanup: deleting unreferenced inode 3720218 Aug 15 10:34:40 utopia kernel: [ 12.383232] ext3_orphan_cleanup: deleting unreferenced inode 3720217

... and after some rows like these ...

Aug 15 10:34:40 utopia kernel: [ 12.441253] EXT3-fs (sda5): 54 orphan inodes deleted Aug 15 10:34:40 utopia kernel: [ 12.441314] EXT3-fs (sda5): recovery complete Aug 15 10:34:40 utopia kernel: [ 12.596464] EXT3-fs (sda5): mounted filesystem with ordered data mode

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.