fsck always fails (superblock last write time in future) on ext4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: util-linux
I have installed ubuntu 9.10 alpha 3 with the kernel 2.6.31-4-generic and I converted my partitions from ext3 to ext 4 following this manual: http://
"/dev/sda1: Superblock last write time is in the future. FIXED." when I rebooted. Then the system restarted. But during this restart the error occurs again, so I am not able to boot ubuntu anymore, because it always reboots.
When I run fsck.ext4 from a ubuntu 8.10 live cd it tells me that the filesystem is clean.
There are some similar bugs concerning UTC and the local time zone (I have UTC+2) but I don't think that it's this bug because I tried to set the time to a point in the future (one month) using the bios, which didn't change anything.
The version of util-linux-ng which fsck is part of is 2.16.
On Tue, 2009-07-28 at 14:16 +0000, Alexander Hartl wrote:
> I have installed ubuntu 9.10 alpha 3 with the kernel 2.6.31-4-generic and I converted my partitions from ext3 to ext 4 following this manual: http:// biete.com/ ?p=182. With my home partition this worked without any trouble, but when I tried it with my root partition I got the error
> "/dev/sda1: Superblock last write time is in the future. FIXED." when I rebooted. Then the system restarted. But during this restart the error occurs again, so I am not able to boot ubuntu anymore, because it always reboots.
>
> When I run fsck.ext4 from a ubuntu 8.10 live cd it tells me that the
> filesystem is clean.
>
From the sound of it, you don't have a UTC/localtime issue (in any case
they always affected people WEST of UTC), but let's just verify that.
Before AND after you run fsck.ext4 on the Live CD, please run the
following two commands and provide the output:
date
sudo hwclock --show
Then reboot the full system and press ESCAPE at the GRUB menu, highlight
the "(recovery mode)" option, *EDIT* it (don't boot), *EDIT* the
"linux"/"kernel" line and add " init=/bin/bash" to the end.
Boot that, it'll drop you into a shell fairly quickly.
Run those two commands again, also provide the output of
grep UTC /etc/default/rcS
Now "reboot -f", select recovery mode again (boot it this time) and
allow the fsck to run. After it completes, before rebooting, run the
three commands again and provide the output.
Scott
--
Scott James Remnant
<email address hidden>