检查并列出任何磁盘问题命令

 

命令:
fsck -n

 


举例:

[root@linux115 etc]# fsck -n
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
警告! /dev/mapper/vg_linux115-lv_root已挂载.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/mapper/vg_linux115-lv_root contains a file system with errors, 强制检查.
第一步: 检查inode,块,和大小
Inodes that were part of a corrupted orphan linked list found.  处理? 否

Inode 11291 was part of the  inode list.  已忽略.
Inode 11291 is in use, but has dtime set.  处理? 否

Inode 11291, i_size is 4096, 应为 40960.  处理? 否

第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息
Free 块s count wrong (3863063, counted=3845638).
处理? 否

Free inodes count wrong (1134202, counted=1132152).
处理? 否


/dev/mapper/vg_linux115-lv_root: ********** 警告: 文件系统上仍有错误 **********

/dev/mapper/vg_linux115-lv_root: 214838/1349040 files (0.1% non-contiguous), 1529321/5392384 blocks
[root@linux115 etc]#

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值