CentOS 用挂了dev/sda1:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY .

dev/sda1:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY .
(i.e. ,without -a or -p options)
fsck died with exit status 4 

在命令行输入
#mount | grep ''on /''
得到你root用户所在分区/dev/your_partition,然后输入
fsck -y /dev/your_partition
即,检测并修复磁盘/dev/your_partition,-y 选项指定检测每个文件是自动输入yes
系统提示重启,重启后还是不行
在命令行输入
fsck -y /dev/sda1
重启ok。

时间: 2024-09-27 13:28:25

CentOS 用挂了dev/sda1:UNEXPECTED INCONSISTENCY;RUN fsck MANUALLY .的相关文章

linux启动系统时UNEXPECTED INCONSISTENCY报错

启动系统时,出现以下错误. 这意味着确认文件系统时发现了问题,在这里介绍一下修复文件系统错误的方法. Checking filesystems /12: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.             (i.e., without -a or -p options) *** An error occurred during the file system check. *** Dropping you to a shell; th

Linux/Centos启动出现 UNEXPECTED INCONSISTENCY 错误如何解决

  1. 首先在命令行输入(可选) mount | grep ''on /'' 得到root用户所在分区/dev/your_partition 2. 然后在命令行输入 fsck -y /dev/root #fsck -y /dev/your_partition #检测并修复磁盘/dev/root,-y 选项指定检测每个文件是自动输入yes   4. 继续在命令行输入修复命令 fsck -y /dev/sda1 5. 重启后,继续报错Starting auditd: FAILED   网上搜索的解

磁盘-C语言 读取大小 /dev/sda1

问题描述 C语言 读取大小 /dev/sda1 如何用C语言获取/dev/sda1磁盘的大小?用stat貌似不行哦. 解决方案 http://www.linuxidc.com/Linux/2014-11/109305.htmhttp://blog.csdn.net/blaider/article/details/40896867 解决方案二: 用lstat来获取大小. 解决方案三: 有时候,也可以直接用bash来获取,然后用system来运行这个bash, 比如 df -sh | grep ".

linux系统启动报错:[contains a file system with errors, check forced]的解决方法

  linux系统启动报错:[contains a file system with errors, check forced]的解决方法参考 1.解决参考一Press enter for maintenance(or type Control-D to continue):/dev/sda3 contains a file system with errors, check forced./dev/sda3: Inodes that were part of a corrupted orpha

oracle ORA-09925错误:Unable to create audit trail file

今天一台数据库登录报ORA-09925错误 oracle@linux-37:~/oradata> sqlplus / as sysdba SQL*Plus: Release 11.1.0.6.0 - Production on Tue Nov 22 18:04:21 2011 Copyright (c) 1982, 2007, Oracle. All rights reserved. ERROR: ORA-09925: Unable to create audit trail file Linu

Suse系统磁盘文件损坏恢复

  Suse系统磁盘文件损坏恢复 今天早上过来,发现开发机连不了,原因可能是周末物业断电导致的.开机,可是发现机器启不来的. www.pcjsh.com 进入救援(failSafe)模式检测问题,发现是因为/dev/sda4分区出现文件系统损坏. /dev/sda4: UNEXPECTED INCONSISTENCY: run fsck manually.(i.e. without -a or -p option) OK,找到原因了就好办法了. 1. 在救援模式中输入root密码登录系统. 2.

使用fsck修复文件系统错误

原文地址:http://blog.itpub.net/7351078/viewspace-697520/ 1.问题描述 服务器maint_samba   由于服务器maint_samba (debian操作系统)没有正常关机,在重新启动过程中/dev/sdb1出现文件系统错误,需要手动使用fsck进行扫描和修复.出现如下情况: -... Checking file systems ...fsck 1.41.3(12-OCT-2008) /dev/sdb1 contains a file syst

contains a file system with errors, check forced解决方法

Press enter for maintenance (or type Control-D to continue): /dev/sda3 contains a file system with errors, check forced. /dev/sda3: Inodes that were part of a corrupted orphan linked list found. /dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

记一次 superblock 损坏导致服务器无法启动的故障修复

原文地址:http://www.cppblog.com/dancefire/archive/2011/03/09/fix-bad-superblock-in-linux.html 前几天接到朋友联系,说他的服务器坏了,启动不起来了.这是一个RHEL 4的服务器,而且是那种盗版RHEL 4,也就是说没有售后服务的,联系我问问能不能帮帮忙.我也很久没有弄过Linux系统上的东西了.只好尝试一下,庆幸的是,修好了,并帮朋友维护了一段时间,在此记录一些修复和维护中碰到的问题.修复 superblock