Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Użytkownik
Witam - podczas pracy RAID 5 wypiął się jeden dysk z macierzy (nie fizycznie - po prostu nagle było UU_ )
po dodaniu go mdadm zaczął synchronizować, ale niestety napotkał na nieoczekiwany pad prądu...
Teraz wygląda to tak:
B-Serwer:/# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : inactive sdc1[0](S) sdb1[3](S) sdd1[1](S)
2930279808 blocks
unused devices: <none>B-Serwer:/# mdadm --assemble --scan mdadm: /dev/md0 assembled from 1 drive and 1 spare - not enough to start the array.
B-Serwer:/# fsck /dev/md0
fsck 1.41.3 (12-Oct-2008)
e2fsck 1.41.3 (12-Oct-2008)
fsck.ext3: Zły argument podczas próby otworzenia /dev/md0
superblok nie mógł być odczytany lub nie opisuje prawidłowego systemu
plików ext2. Jeżeli urządzenie jest prawidłowe i naprawdę zawiera
system plików ext2 (nie jest swapem, ufs-em ani niczym innym),
to superblok jest uszkodzony - można próbować uruchomić e2fsck z innym
superblokiem:
e2fsck -b 8193 <urządzenie>jeszcze może to się przyda:
B-Serwer:/# mdadm -E /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 00.90.00
UUID : 1f8a1285:d6003c4f:e1beec66:df4db585
Creation Time : Tue Jan 18 16:27:39 2011
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 1953519872 (1863.02 GiB 2000.40 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Update Time : Sun Jun 12 13:16:29 2011
State : clean
Internal Bitmap : present
Active Devices : 1
Working Devices : 2
Failed Devices : 2
Spare Devices : 1
Checksum : 353b41e8 - correct
Events : 704766
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 17 3 spare /dev/sdb1
0 0 8 33 0 active sync /dev/sdc1
1 1 0 0 1 faulty removed
2 2 0 0 2 faulty removed
3 3 8 17 3 spare /dev/sdb1B-Serwer:/# mdadm -E /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : 1f8a1285:d6003c4f:e1beec66:df4db585
Creation Time : Tue Jan 18 16:27:39 2011
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 1953519872 (1863.02 GiB 2000.40 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Update Time : Sun Jun 12 13:16:29 2011
State : clean
Internal Bitmap : present
Active Devices : 1
Working Devices : 2
Failed Devices : 2
Spare Devices : 1
Checksum : 353b41f8 - correct
Events : 704766
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 33 0 active sync /dev/sdc1
0 0 8 33 0 active sync /dev/sdc1
1 1 0 0 1 faulty removed
2 2 0 0 2 faulty removed
3 3 8 17 3 spare /dev/sdb1B-Serwer:/# mdadm -E /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 00.90.00
UUID : 1f8a1285:d6003c4f:e1beec66:df4db585
Creation Time : Tue Jan 18 16:27:39 2011
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 1953519872 (1863.02 GiB 2000.40 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Update Time : Sun Jun 12 13:16:01 2011
State : active
Internal Bitmap : present
Active Devices : 2
Working Devices : 3
Failed Devices : 1
Spare Devices : 1
Checksum : 353080d7 - correct
Events : 704753
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 49 1 active sync /dev/sdd1
0 0 8 33 0 active sync /dev/sdc1
1 1 8 49 1 active sync /dev/sdd1
2 2 0 0 2 faulty removed
3 3 8 17 3 spare /dev/sdb1Jakieś pomysły jak to poskładać do kupy aby dane były ?
Co oznaczają te literki S prze napędach ? Pamiętam że przy normalnej pracy tego nie było
OK - już się składa do kupy :) Niezły ze mnie panikarz :P
ok - może komu się przyda na przyszłość:
1. u mnie zadziałało
mdadm --assemble --scan -fv
ważne - bez F nie szło
2. literka przy składowej RAID oznacza stan dysku - F- Faulty - uszkodzony, S-Spare - dodatkowy. Pewno są i inne ale nie powinno być żadnej aby działało :)
Pozdrawiam ekipę DUG
Ostatnio edytowany przez badgerman (2011-06-12 18:21:54)
Offline
Strony: 1