Salut,
De vreo doi ani am functional pe un server un software raid 1 pe 2 discuri
identice de 250 gb care a functionat fara probleme pana acum cateva zile
cand am inceput sa primesc mail-uri de la mdadm cum ca /dev/md3 este
degradat:
mail:~# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb5[1] sda5[0]
4883648 blocks [2/2] [UU]
md2 : active raid1 sdb6[1] sda6[0]
9767424 blocks [2/2] [UU]
md3 : active raid1 sdb7[1]
228516480 blocks [2/1] [_U]
md0 : active raid1 sdb1[1] sda1[0]
192640 blocks [2/2] [UU]
mail:~# mdadm --detail /dev/md3
/dev/md3:
Version : 00.90.03
Creation Time : Fri Jun 23 00:05:45 2006
Raid Level : raid1
Array Size : 228516480 (217.93 GiB 234.00 GB)
Device Size : 228516480 (217.93 GiB 234.00 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 3
Persistence : Superblock is persistent
Update Time : Sun Sep 21 16:07:06 2008
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
UUID : 580a4472:e1b846eb:508f0419:546a7bfe
Events : 0.14091308
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 23 1 active sync /dev/sdb7
De aici am tras concluzia ca problema este la /dev/sda7
mail:~# cat /proc/partitions
major minor #blocks name
8 0 244198584 sda
8 1 192748 sda1
8 2 1 sda2
8 5 4883728 sda5
8 6 9767488 sda6
8 7 208788741 sda7
8 8 835348 sda8
8 16 244198584 sdb
8 17 192748 sdb1
8 18 1 sdb2
8 21 4883728 sdb5
8 22 9767488 sdb6
8 23 228516561 sdb7
8 24 835348 sdb8
9 0 192640 md0
9 3 228516480 md3
9 2 9767424 md2
9 1 4883648 md1
Aici se observa ca sda7 are mai putine blocuri decat sdb7.
mail:~# e2fsck -v /dev/sda7
e2fsck 1.40-WIP (14-Nov-2006)
The filesystem size (according to the superblock) is 54493184 blocks
The physical size of the device is 52197185 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes
Intrebarea mea este cum ar trebui sa procedez sa rezolv problema avand in
vedere ca respectivul server ar trebui sa fie in picioare cel putin in
cursul saptamanii pana la ora 18 si nu ma pot deplasa sub nici o forma in
locatia in care este acum server-ul in cazul unei eventuale reinstalari.
Evident, orice informatie suplimentara o furnizez cu placere.
Multumesc anticipat.
Alexban
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug