- 論壇徽章:
- 0
|
我是12塊硬盤做了一個Raid5,其中有一塊備份盤,從mdadm統(tǒng)計的信息看,硬盤都是正常的。
# mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Thu Dec 19 11:11:52 2013
Raid Level : raid5
Array Size : 19529656320 (18624.93 GiB 19998.37 GB)
Used Dev Size : 1952965632 (1862.49 GiB 1999.84 GB)
Raid Devices : 11
Total Devices : 12
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Fri Sep 12 15:10:05 2014
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
UUID : 08efbba0:fd4373ba:ac22bbd0:c519d0f8 (local to host GNOP011-CT-GDDG-229-75)
Events : 0.786
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
2 8 49 2 active sync /dev/sdd1
3 8 65 3 active sync /dev/sde1
4 8 81 4 active sync /dev/sdf1
5 8 97 5 active sync /dev/sdg1
6 8 113 6 active sync /dev/sdh1
7 8 129 7 active sync /dev/sdi1
8 8 145 8 active sync /dev/sdj1
9 8 161 9 active sync /dev/sdk1
10 8 177 10 active sync /dev/sdl1
11 8 193 - spare /dev/sdm1
但是今天發(fā)現(xiàn)這個服務器有很多inode信息的錯誤。
EXT4-fs error (device md0): ext4_lookup: deleted inode referenced: 2241567
EXT4-fs error (device md0): ext4_ext_get_blocks: inode #2240545: (comm nginx) bad extent address iblock: 0, depth: 1 pblock 0
EXT4-fs error (device md0): ext4_ext_get_blocks: inode #2240545: (comm nginx) bad extent address iblock: 0, depth: 1 pblock 0
經(jīng)過檢查,發(fā)現(xiàn)部分目錄無法讀取。
ls: cannot access data/2014/02: Input/output error
出現(xiàn)這種問題的原因是什么呢,如果是硬盤有io錯誤,Raid5不會自行通過校驗將數(shù)據(jù)恢復到備盤上嗎?
另外:這種io錯誤如何才能恢復數(shù)據(jù)呢,有什么方法么? |
|