Centos

在 CentOS 5.8 64 位上一段時間後,Ext4 出現自我錯誤

  • July 29, 2014

我在 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。它糾正了所有 tje 錯誤,然後它又開始發生,但伺服器根本沒有重新啟動。

有什麼需要擔心的嗎?

核心:

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

我必須升級到核心 3.XX,其中 ext4 工作得很好;)

是的,這是值得擔心的事情。這意味著要麼有什麼東西破壞了你的文件系統,要麼有什麼東西正在破壞你的文件系統。

主要嫌疑人將是您的磁碟本身。檢查它們smartctl

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

下一個嫌疑人將是驅動控制器和電纜。

引用自:https://serverfault.com/questions/420932