Greetings from an "ubuntu newbie" ...
Questions:
Is fsck being run every time I boot ubuntu? If so, isn't this overkill, and what should I do about it?
Mine is a dual-boot system (win7, ubuntu 10.10 64-bit), and during every boot of ubuntu the following two-line message shows briefly on the screen (and in /var/log/boot.log):
fsck from util-linux-ng 2.17.2
/dev/sda5: clean, 159106/5513216 files, 1743352/22023936 blocks
(These two lines are usually followed by others that seem okay and unrelated to my questions; e.g., stuff about "Starting AppArmor profiles" and "Setting sensors limits".)
However, after booting, the command
now displays the following info:Code:sudo tune2fs -l /dev/sda5
...
Mount count: <less than 31, increasing by 1 after each boot>
Maximum mount count: 31
Last checked: Wed Feb 2 10:38:56 2011 <---- this remains the same before/after booting
Check interval: 15552000 (6 months)
Next check after: Mon Aug 1 11:38:56 2011
...
(The "Last checked" time is yesterday when the Mount count reached the Maximum count, presumably causing fsck to be run, and the count was reset to 1.)
So, is fsck *not* being run now at every boot, in spite of the two-line boot-time message that seems to say otherwise?
btw, DO NOT attempt to run fsck for a mounted partition (e.g. "fsck /dev/sda5" in my case), as doing so results in the following ...
WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage.



Adv Reply





Bookmarks