We help IT Professionals succeed at work.

Ubuntu 10.04 LTS upgraded EXT4 requires recovery every boot

Since upgrading several machines to Ubuntu 10.04 LTS, I find one of them is checking its EXT4 on every boot.  I've checked the syslog but can find no obvious reason why it could be occured (naturally, the syslog stops before the EXT4 & starts after the EXT4, so I'm not surprised hints aren't there).

I'm looking for a method of trying to diagnose this myself (learning exercise) and also pointers as to why.
Relevant EXT4 entries during boot-up:
Jun 10 08:48:47 mycomputer kernel: [    2.272229] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
Jun 10 08:48:47 mycomputer kernel: [    2.272234] EXT4-fs (sda1): write access will be enabled during recovery
Jun 10 08:48:47 mycomputer kernel: [    2.524268] EXT4-fs (sda1): recovery complete
Jun 10 08:48:47 mycomputer kernel: [    2.524571] EXT4-fs (sda1): mounted filesystem with ordered data mode

The syslog at the end of one boot & the start of another:
Jun  9 17:22:21 mycomputer kernel: Kernel logging (proc) stopped.
Jun  9 17:22:21 mycomputer rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="796" x-info="http://www.rsyslog.com"] exiting on signal 15.
Jun 10 08:48:47 mycomputer kernel: imklog 4.2.0, log source = /proc/kmsg started.
Jun 10 08:48:47 mycomputer rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="783" x-info="http://www.rsyslog.com"] (re)start
Jun 10 08:48:47 mycomputer rsyslogd: rsyslogd's groupid changed to 103
Jun 10 08:48:47 mycomputer rsyslogd: rsyslogd's userid changed to 101
Jun 10 08:48:47 mycomputer kernel: [    0.000000] Initializing cgroup subsys cpuset
Jun 10 08:48:47 mycomputer kernel: [    0.000000] Initializing cgroup subsys cpu

NB: computer name changed.

Open in new window

Comment
Watch Question

(I've no idea how zone "Encryption for Network Security" got in there...)
Hi!

One solution is to save all files in a TAR archive, recreate/format the partition and unpack the files from the TAR archive back to the partition.

Regards, Tobias
TAR archives have limitations on file size but the idea is sound.