分类: 服务器与存储
2016-08-10 15:11:15
一、通过串口(使用180-0055转接头)接入node的MFG口,3paradm用户登录系统,使用showpd -c命令查看硬盘状态,确认状态为failed.
SS7400 cli% showpd -c
--------- Normal Chunklets --------- ---- Spare Chunklets ----
-- Used -- -------- Unused --------- - Used - ---- Unused ----
Id CagePos Type State Total OK Fail Free Uninit Unavail Fail OK Fail Free Uninit Fail
0 0:0:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
1 0:1:0 FC normal 408 100 0 290 0 0 0 2 0 16 0 0
2 0:2:0 FC normal 408 106 0 284 0 0 0 0 0 18 0 0
3 0:3:0 FC normal 408 103 0 287 0 0 0 1 0 17 0 0
4 0:4:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
5 0:5:0 FC normal 408 102 0 288 0 0 0 1 0 17 0 0
7 0:7:0 FC normal 408 108 0 282 0 0 0 0 0 18 0 0
8 0:8:0 FC normal 408 109 0 281 0 0 0 0 0 18 0 0
9 0:9:0 FC normal 408 103 0 287 0 0 0 0 0 18 0 0
10 0:10:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
11 0:11:0 FC normal 408 101 0 289 0 0 0 2 0 16 0 0
12 0:12:0 FC normal 408 104 0 286 0 0 0 0 0 18 0 0
13 0:13:0 FC normal 408 104 0 286 0 0 0 0 0 18 0 0
14 0:14:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
15 0:15:0 FC normal 408 102 0 288 0 0 0 1 0 17 0 0
16 0:16:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
17 0:17:0 FC normal 408 104 0 286 0 0 0 0 0 18 0 0
18 0:18:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
19 0:19:0 FC normal 408 111 0 279 0 0 0 0 0 18 0 0
20 0:20:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
21 0:21:0 FC normal 408 100 0 290 0 0 0 2 0 16 0 0
22 0:22:0 FC normal 408 99 0 291 0 0 0 0 0 18 0 0
23 0:23:0 FC normal 408 101 0 289 0 0 0 2 0 16 0 0
114 5:0:0 FC normal 408 105 0 285 0 0 0 0 0 18 0 0
115 5:1:0 FC normal 408 103 0 287 0 0 0 1 0 17 0 0
116 5:2:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
117 5:3:0 FC normal 408 102 0 288 0 0 0 3 0 15 0 0
118 5:4:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
119 5:5:0 FC normal 408 101 0 289 0 0 0 2 0 16 0 0
120 5:6:0 FC normal 408 99 0 291 0 0 0 0 0 18 0 0
121 5:7:0 FC normal 408 98 0 292 0 0 0 4 0 14 0 0
122 5:8:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
123 5:9:0 FC normal 408 98 0 292 0 0 0 3 0 15 0 0
124 5:10:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
125 5:11:0 FC normal 408 101 0 289 0 0 0 2 0 16 0 0
126 5:12:0 FC normal 408 109 0 281 0 0 0 0 0 18 0 0
127 5:13:0 FC normal 408 103 0 287 0 0 0 2 0 16 0 0
128 5:14:0 FC normal 408 99 0 291 0 0 0 0 0 18 0 0
129 5:15:0 FC normal 408 100 0 290 0 0 0 3 0 15 0 0
130 5:16:0 FC normal 408 103 0 287 0 0 0 0 0 18 0 0
131 5:17:0 FC failed 408 0 0 0 0 96 294 0 0 0 0 18
132 5:18:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
133 5:19:0 FC normal 408 102 0 288 0 0 0 1 0 17 0 0
134 5:20:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
135 5:21:0 FC normal 408 103 0 287 0 0 0 3 0 15 0 0
136 0:6:0 FC normal 408 105 0 285 0 0 0 0 0 18 0 0
--------------------------------------------------------------------------------------------
136 total 55488 13771 0 38879 0 96 294 96 0 2334 0 18
SS7400 cli%
二、使用servicemag status -d命令确认servicemag start操作已经完成。
SS7400 cli% servicemag status -d
Cage 5, magazine 17:
The magazine was successfully brought offline by a servicemag start command.
The command completed Sat Aug 16 21:13:33 2014.
The output of the servicemag start was:
servicemag start -pdid 131
... servicing disks in mag: 5 17
... normal disks:
... not normal disks: WWN [5000CCA0224BCD63] Id [131] diskpos [0]
... relocating chunklets to spare space...
... spinning down disk WWN [5000CCA0224BCD63] Id [131]
... bypassing mag 5 17
... bypassed mag 5 17
servicemag start -pdid 131 -- Succeeded
SS7400 cli%
三、换盘,等待几分钟后,系统自动执行servicemag resume操作,可以看到chunklet迁移耗时。
SS7400 cli% servicemag status -d
Cage 5, magazine 17:
The magazine is being brought online due to a servicemag resume.
The last status update was at Thu Aug 21 15:29:38 2014.
Chunklets relocated: 10 in 7 minutes and 3 seconds
Chunklets remaining: 258
Chunklets marked for moving: 258
Estimated time for relocation completion based on 42 seconds per chunklet is: 3 hours and 36 seconds
The cumulative output so far is:
servicemag resume 5 17
... mag 5 17 already onlooped
... firmware is current on pd WWN [5000CCA02263CCBB]
... firmware is current on pd WWN [5000CCA0224BCD63] Id [131]
... checking for valid disks...
... checking for valid disks...
... disks in mag : 5 17
... normal disks: WWN [5000CCA02263CCBB] Id [ 6] diskpos [0]
... not normal disks: WWN [5000CCA0224BCD63] Id [131]
... verifying spare space for disks 131 and 6
... playback chunklets from pd WWN [5000CCA02263CCBB] Id [ 6]
... All chunklets played back / relocated.
... cleared logging mode for cage 5 mag 17
... relocating chunklets from spare space
SS7400 cli%
四、确认新盘状态为degraded,需要等到chunklets迁移完成,盘的状态才会变normal,旧盘标记会自动消失。
SS7400 cli% showpd -c
--------- Normal Chunklets --------- ---- Spare Chunklets ----
-- Used -- -------- Unused --------- - Used - ---- Unused ----
Id CagePos Type State Total OK Fail Free Uninit Unavail Fail OK Fail Free Uninit Fail
0 0:0:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
1 0:1:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
2 0:2:0 FC normal 408 106 0 284 0 0 0 0 0 18 0 0
3 0:3:0 FC normal 408 103 0 287 0 0 0 0 0 18 0 0
4 0:4:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
5 0:5:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
6 5:17:0 FC degraded 408 96 0 0 0 312 0 0 0 0 0 0
7 0:7:0 FC normal 408 108 0 282 0 0 0 0 0 18 0 0
8 0:8:0 FC normal 408 109 0 281 0 0 0 0 0 18 0 0
9 0:9:0 FC normal 408 103 0 287 0 0 0 0 0 18 0 0
10 0:10:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
11 0:11:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
12 0:12:0 FC normal 408 104 0 286 0 0 0 0 0 18 0 0
13 0:13:0 FC normal 408 104 0 286 0 0 0 0 0 18 0 0
14 0:14:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
15 0:15:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
16 0:16:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
17 0:17:0 FC normal 408 104 0 286 0 0 0 0 0 18 0 0
18 0:18:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
19 0:19:0 FC normal 408 111 0 279 0 0 0 0 0 18 0 0
20 0:20:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
21 0:21:0 FC normal 408 100 0 290 0 0 0 1 0 16 1 0
22 0:22:0 FC normal 408 99 0 291 0 0 0 0 0 18 0 0
23 0:23:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
114 5:0:0 FC normal 408 105 0 285 0 0 0 0 0 18 0 0
115 5:1:0 FC normal 408 103 0 287 0 0 0 1 0 17 0 0
116 5:2:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
117 5:3:0 FC normal 408 102 0 288 0 0 0 3 0 15 0 0
118 5:4:0 FC normal 408 100 0 290 0 0 0 0 0 18 0 0
119 5:5:0 FC normal 408 101 0 289 0 0 0 2 0 16 0 0
120 5:6:0 FC normal 408 99 0 291 0 0 0 0 0 18 0 0
121 5:7:0 FC normal 408 98 0 292 0 0 0 4 0 14 0 0
122 5:8:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
123 5:9:0 FC normal 408 98 0 292 0 0 0 3 0 15 0 0
124 5:10:0 FC normal 408 101 0 289 0 0 0 0 0 18 0 0
125 5:11:0 FC normal 408 101 0 289 0 0 0 2 0 16 0 0
126 5:12:0 FC normal 408 109 0 281 0 0 0 0 0 18 0 0
127 5:13:0 FC normal 408 103 0 287 0 0 0 2 0 16 0 0
128 5:14:0 FC normal 408 99 0 291 0 0 0 0 0 18 0 0
129 5:15:0 FC normal 408 100 0 290 0 0 0 3 0 15 0 0
130 5:16:0 FC normal 408 103 0 287 0 0 0 0 0 18 0 0
131 5:17:0? FC failed 408 0 0 0 0 96 312 0 0 0 0 0
132 5:18:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
133 5:19:0 FC normal 408 102 0 288 0 0 0 1 0 17 0 0
134 5:20:0 FC normal 408 102 0 288 0 0 0 0 0 18 0 0
135 5:21:0 FC normal 408 103 0 287 0 0 0 3 0 15 0 0
136 0:6:0 FC normal 408 105 0 285 0 0 0 0 0 18 0 0
----------------------------------------------------------------------------------------------
137 total 55896 13867 0 38879 0 408 312 78 0 2344 8 0