You are not logged in.
I keep getting "filesystem check failed", In the past I rebooted and on the second boot Arch used to autmatically repair the filesystem and minor issues like 'superblock last mount time was in the future' and continued booting. Now it stops with the message "filesystem check failed' and expects a manual check. How do I reenable filesystem repair during boot?
# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
LABEL=swap swap swap defaults 0 0
LABEL=root / ext3 relatime,barrier=1 0 1
LABEL=home /home ext3 relatime,barrier=1 0 1
Last edited by aniruddha (2009-10-25 09:58:15)
Offline
I'm guessing you don't have your HARDWARECLOCK="localtime" in your /etc/rc.conf which probably caused this problem.
Just give it your root password, then type
# umount /
# fsck -f -v /dev/sdxY
Where sdxY is the location of your root partition (for example sda1 or sdb2 etc.) That'll fix the time errors and when you reboot the system (type reboot) everything should be fine.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'm guessing you don't have your HARDWARECLOCK="localtime" in your /etc/rc.conf which probably caused this problem.
I like my BIOS clock set to UTC. I got that yesterday after rebooting from running kubuntu 9.10. The fix was as you said (umount / and force a file check).
Offline
I'm guessing you don't have your HARDWARECLOCK="localtime" in your /etc/rc.conf which probably caused this problem.
Just give it your root password, then type
# umount / # fsck -f -v /dev/sdxY
Where sdxY is the location of your root partition (for example sda1 or sdb2 etc.) That'll fix the time errors and when you reboot the system (type reboot) everything should be fine.
Thanks, the problem is that this is a lengthy process. And I don't want to do this manually for each disk. Normally small problems such as 'superblock last mount time was in the future' are fixed during boot without requiring manual intervention. I wonder how I turn on this option to fix small problem automatically during boot.
Last edited by aniruddha (2009-10-25 11:25:57)
Offline
graysky wrote:I'm guessing you don't have your HARDWARECLOCK="localtime" in your /etc/rc.conf which probably caused this problem.
I like my BIOS clock set to UTC. I got that yesterday after rebooting from running kubuntu 9.10. The fix was as you said (umount / and force a file check).
I am dual booting with windows therefor my system clock is set to localtime. Unfortunately each time after I boot into windows I get this superblock error, which is no problem if it is fixed automatically.
$ grep CLOCK /etc/rc.conf
# HARDWARECLOCK: set to "UTC" or "localtime"
HARDWARECLOCK="localtime"
Last edited by aniruddha (2009-10-25 11:30:23)
Offline
It is indeed a regression. Seems to work okay with e2fsprogs 1.41.8 - 1.41.9 made that "mounted in the future" message more verbose, maybe that's the reason it "breaks".
-edit-
https://bugs.launchpad.net/ubuntu/+sour … bug/373409
http://launchpadlibrarian.net/29173837/ … f-bu.patch
That's apparently the change which causes the regression (the regression being that it used to fix those "wrong mount time" without demanding manual check). I'm too sleepy to debug that stuff right now.
Last edited by lucke (2009-10-25 11:46:05)
Offline
It is indeed a regression. Seems to work okay with e2fsprogs 1.41.8 - 1.41.9 made that "mounted in the future" message more verbose, maybe that's the reason it "breaks".
-edit-
https://bugs.launchpad.net/ubuntu/+sour … bug/373409
http://launchpadlibrarian.net/29173837/ … f-bu.patchThat's apparently the change which causes the regression (the regression being that it used to fix those "wrong mount time" without demanding manual check). I'm too sleepy to debug that stuff right now.
Thanks I can confirm it's a regression, I installed e2fsprogs 1.41.8, uncommented 2 hard drives in fstab and rebooted. I got the following message:
/dev/sda1 contains a file system with errors, check forced
I filed a bugreport here:
http://bugs.archlinux.org/task/16838?pr … pened=5337
Last edited by aniruddha (2009-10-25 12:37:39)
Offline
Same issue here
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
Thank you for this Solved my problem after installing OpenNTPD.
Birger
Offline
I was also having the problem of being force to do manual file system checks with the "superblock last mount time was in the future" error. (I actually get this error surprisingly frequently. The last update of the tzdata package set my clock ahead eight hours for some reason.)
Downgrading from e2fsprogs 1.41.9-1 to 1.41.8-2 also solved the problem for me.
Offline
Yeah.. I have also lost the ability to do automated filesystem checks.. Waiting for a fix for e2fxprogs..
Offline
looks like this issue is fixed when using 2.6.32 kernel
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
from man fstab:
The sixth field, (fs_passno), is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems
should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth
field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked.
Offline
skipio how does that help? did you just discover warm water?
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
But kernel 2.6.32 is neither in [core], nor in [testing].. Anyway, waiting for the update
Offline
But kernel 2.6.32 is neither in [core], nor in [testing].. Anyway, waiting for the update
please test yourself with a 2.6.32 kernel if you can, and tell us if it also fixed the issue for you - this way we will have a confirm of my findings
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
please test yourself with a 2.6.32 kernel if you can, and tell us if it also fixed the issue for you
- this way we will have a confirm of my findings
Oh! I'm sorry but i cannot risk running a RC Kernel
Offline
legolas558 wrote:please test yourself with a 2.6.32 kernel if you can, and tell us if it also fixed the issue for you
- this way we will have a confirm of my findings
Oh! I'm sorry but i cannot risk running a RC Kernel
If you are able to compile it, you could put it in your bootloader as second choice, so that if it does not work you can boot with the other one.
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline
2.6.32 indeed seems to fix it. A baffling issue - seemed to me that userspace was at fault.
Offline
I was having an issue with this due to some time problems with a Windows 7 dual boot. I managed to fix the time issue so I'm not seeing it, but a .32 kernel did not cause automatic checks to start happening.
Offline
it must have been something in the ext kernel modules, but I cannot track back what specific patch fixed it
.-. ,---,---.--.
| |__ \ \ \ \`//.
`----'`--'`--'`--'
Offline