- 论坛徽章:
- 0
|
本帖最后由 linuxnature 于 2012-03-29 10:03 编辑
一台机器 ,访问/dev/sdc经常会出现 input/output error报错,读或写都会报错。另一个磁盘却没事儿
已查看磁盘有空间,inode才占1%
文件系统为xfs
我查看了dmesg,报错为:- xfs_force_shutdown(sdc,0x8) called from line 1151 of file fs/xfs/xfs_trans.c. Return address = 0xc01fbd86
- Filesystem "sdc": Corruption of in-memory data detected. Shutting down filesystem: sdc
- Please umount the filesystem, and rectify the problem(s)
- xfs_force_shutdown(sdc,0x1) called from line 338 of file fs/xfs/xfs_rw.c. Return address = 0xc01fbd86
- Filesystem "sdc": Disabling barriers, trial barrier write failed
复制代码 可以看出已经将xfs 格式的文件系统关掉了。这时不能卸载,也不能重新挂载,只能重起,有时候重起还会报input/output error这个错,但有时却能正常使用
使用xfs_repair -n /dev/sdc 查看,不知道这算不算有错误(看着不像有问题)
[root@S85 root]# xfs_repair -n /dev/sdc
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- scan filesystem freespace and inode maps...
block (0,857332) multiply claimed by bno space tree, state - 1
.........
block (0,85774 multiply claimed by bno space tree, state - 1
- found root inode chunk
Phase 3 - for each AG...
- scan (but don't clear) agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
data fork in ino 1840493 claims free block 698625
............
data fork in ino 11522178 claims free block 720082
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
- agno = 11
- agno = 12
- agno = 13
- agno = 14
- agno = 15
No modify flag set, skipping phase 5
Phase 6 - check inode connectivity...
- traversing filesystem starting at / ...
- traversal finished ...
- traversing all unattached subtrees ...
- traversals finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify link counts...
11No modify flag set, skipping filesystem flush and exiting.
请问大家这个怎么处理呢?
十分感谢 |
|