MegaRAID » История » Редакция 4
Редакция 3 (Рамиль Абдулбяров, 2015-04-29 17:53) → Редакция 4/21 (Рамиль Абдулбяров, 2015-04-29 17:54)
h1. MegaRAID
h3. Посмотреть информацию о контроллере
h3. Посмотреть информацию о дисках, подключенных к контроллеру
h3. Смотрим журнал контроллера (Читать снизу вверх.)
*megacli -AdpEventLog -GetLatest 100 -f events.log -aALL -nolog*
*megacli -AdpEventLog -GetLatest 10 -f /dev/stdout -aALL -nolog*
h3. Изъятие диска из массива
h3. [[recovery-raid-megaraid|Восстановление массива]]
h2. Работы по восстановлению массива
h3. Скидываем конфигурацию с диска:
*megacli -CfgForeign -Clear -a0*
<pre>
Foreign configuration 0 is cleared on controller 0.
Exit Code: 0x00
</pre>
h3. Смотрим, что изменилось:
*megacli pdinfo -PhysDrv \[32:16\] -a0 nolog*
<pre>
1
2 Enclosure Device ID: 32
3 Slot Number: 16
4 Enclosure position: 1
5 Device Id: 16
6 WWN: 5000C50071CAF938
7 Sequence Number: 1
8 Media Error Count: 0
9 Other Error Count: 0
10 Predictive Failure Count: 0
11 Last Predictive Failure Event Seq Number: 0
12 PD Type: SAS
13
14 Raw Size: 279.396 GB [0x22ecb25c Sectors]
15 Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
16 Coerced Size: 278.875 GB [0x22dc0000 Sectors]
17 Sector Size: 0
18 Firmware state: Unconfigured(good), Spun Up
19 Device Firmware Level: YS0A
20 Shield Counter: 0
21 Successful diagnostics completion on : N/A
22 SAS Address(0): 0x5000c50071caf939
23 SAS Address(1): 0x0
24 Connected Port Number: 0(path0)
25 Inquiry Data: SEAGATE ST9300653SS YS0A6XN62C41
26 FDE Capable: Not Capable
27 FDE Enable: Disable
28 Secured: Unsecured
29 Locked: Unlocked
30 Needs EKM Attention: No
31-Foreign State: Foreign
32-Foreign Secure: Drive is not secured by a foreign lock key
33+Foreign State: None
34 Device Speed: 6.0Gb/s
35 Link Speed: 6.0Gb/s
36 Media Type: Hard Disk Device
37 Drive Temperature :30C (86.00 F)
38 PI Eligibility: No
39 Drive is formatted for PI information: No
40 PI: No PI
41 Port-0 :
42 Port status: Active
43 Port's Linkspeed: 6.0Gb/s
44 Port-1 :
45 Port status: Active
46 Port's Linkspeed: Unknown
47 Drive has flagged a S.M.A.R.T alert : No
48
49 Exit Code: 0x00
</pre>