在 CentOS 5.8 64 位上,一段时间后 ext4 出现自身错误

在 CentOS 5.8 64 位上,一段时间后 ext4 出现自身错误

我在 dmesg 中收到这样的警告:

EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619328(bit 15808 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619329(bit 15809 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619330(bit 15810 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619331(bit 15811 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619332(bit 15812 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619333(bit 15813 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619334(bit 15814 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619335(bit 15815 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619336(bit 15816 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619337(bit 15817 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619338(bit 15818 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619339(bit 15819 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619340(bit 15820 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619341(bit 15821 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619342(bit 15822 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619343(bit 15823 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619344(bit 15824 in group
EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619767(bit 16247 in group
JBD: Spotted dirty metadata buffer (dev = md2, blocknr = 0). There's a risk of filesystem corruption in
EXT4-fs error (device md2): ext4_mb_generate_buddy: EXT4-fs: group 18390: 7176 blocks in bitmap, 7211 in
JBD: Spotted dirty metadata buffer (dev = md2, blocknr = 0). There's a risk of filesystem corruption in

这种情况只是在一段时间后才发生的。服务器没有重新启动。所有磁盘都很好。我在两个 3TB 驱动器上使用软件 RAID1 设置。我没有看到任何问题、不稳定或其他问题。

有一次我在晚上运行了 e4fsck。它纠正了所有错误,然后又开始发生这种情况,但服务器根本没有重新启动。

有什么需要担心的吗?

核心:

2.6.18-308.4.1.el5 #1 SMP Tue Apr 17 17:08:00 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

答案1

是的,这确实值得担心。这意味着要么有什么东西正在破坏你的文件系统,要么有其他什么东西正在破坏你的文件系统。

首要怀疑的是你的磁盘本身。使用以下命令检查smartctl

smartctl -a /dev/sda
smartctl -a /dev/sdb

下一个怀疑对象是驱动器控制器和电缆。

答案2

我必须升级到内核 3.XX,这样 ext4 才能正常工作;)

相关内容