Проект

Общее

Профиль

MegaRAID » История » Версия 3

Рамиль Абдулбяров, 2015-04-29 17:53

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