linux:Superblock mount time is in the future

来源:互联网 发布:java自学视频教程 编辑:程序博客网 时间:2024/05/16 08:06

看上面这一行“Superblock mount time is in the future”的时间,可以看见两个时间明显冲突了,mount 时间是2013年,now时间是2012年。

解决办法:

参考:http://www.cnblogs.com/ellisonDon/archive/2012/10/04/2711302.html

我使用的是centOS6.3,使用虚拟机重启的时候显示错误信息如下/dev/mapper/root: Superblock last mount time (Mon Mar  5 17:40:11 2012,         now = Sat Mar  5 18:46:53 2011) is in the future./dev/mapper/root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.         (i.e., without -a or -p options)                                                                                                 [FAILED]*** An error occurred during the file system check.*** Dropping you to a shell; the system will reboot*** when you leave the shell.Given root password for maintenance(or type Control-D to continue):后来找到了解决的办法:在“(or type Control-D to continue):”处直接输入密码,进入修复模式,按照fsck <partition name>的形式运行修复,你的就运行fsck  /dev/mapper/root,然后reboot,重启后可能还会提示其他盘出现相同的错误,按照fsck <partition name>的形式再次运行,然后reboot,在虚拟机上测试可以启动了

说明 : 在Linux系统中,为了增加系统性能,通常系统默认一些数据写在内存中,并不会直接将数据写入硬盘,这是因为内存速度要比硬盘快若干倍。但是有个问题,万一由于“断电”或者其他未知原因,造成系统死机,怎么办?系统就崩溃了。所以,我们需要在特定的时候让数据直接回存到硬盘中。这里提供几个常用的命令,其中,fsck命令最重要. 当文件系统发生错误时,可用fsck命令尝试加以修复.直接采用分区编号(如/dev/had3),或使用挂载点(Mount Point,如/、/usr等)指定文件系统皆可。假设一次指定多个文件系统,而这些系统分别位于不同的物理磁盘上,则fsck将会尝试同步的方式去检查他们,以节省操作时间。


1 0
原创粉丝点击