grs Asked: 2011-05-09 13:28:22 +0800 CST2011-05-09 13:28:22 +0800 CST 2011-05-09 13:28:22 +0800 CST How to check fsck results, ran at boot, on remote machine? 772 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 linux ubuntu fsck 3 Answers Voted Best Answer Erik 2011-05-10T11:21:08+08:002011-05-10T11:21:08+08:00 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. zyx3nzh7 2015-10-01T13:49:24+08:002015-10-01T13:49:24+08:00 I was lucky with: grep fsck /var/log/*|less hio 2015-08-16T03:09:16+08:002015-08-16T03:09:16+08:00 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
I think it might be in
/var/log/boot.log
. At least there appears to be something in mine relating to a successful fsck:This is on Ubuntu 10.04.2 LTS.
I was lucky with:
grep fsck /var/log/*|less
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:
... and after some rows like these ...