侧边栏壁纸
  • 累计撰写 24 篇文章
  • 累计创建 69 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

3Par换盘步骤

余上
2022-01-14 / 0 评论 / 0 点赞 / 166 阅读 / 0 字 / 正在检测是否收录...

1. 登录

登录方式:串口登录

串口信息:

Userid:3paradm

Password:3pardata

登录成功后样式:HP3par7400 cli%

2. 查看报错,确定故障硬盘位置

showalert

目前以下报错满足插拔盘条件

Magazine 4:13:0, Physical Disk 109 Failed (Replace Drive {0x46}, Vacated {0x45}, Invalid Media {0x98}, Smart Threshold Exceeded {0x9a})

# 4号柜,13号盘 (注意硬件插槽编号是否从0开始),物理硬盘编号109

 

Magazine 6:8:0, Physical Disk 152 Failed (Replace Drive {0x46}, Vacated {0x45}, Prolonged Missing {0xa0})

# 6号柜,8号盘 (注意硬件插槽编号是否从0开始),物理硬盘编号152

 

Magazine 4:5:0, Physical Disk 101 Failed (Replace Drive {0x46}, Vacated {0x45}, Invalid Media {0x98}, Multiple Chunklets Media Bad {0x9b})

#4号柜,5号盘(注意硬件插槽编号是否从0开始),物理硬盘编号101

3. 确认硬盘状态为failed

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 #16

0 0:0:0    FC   normal   272   260    0    0      0       0    0   0    0   12      0    0

1 0:1:0    FC   normal   272   260    0    0      0       0    0   1    0   11      0    0

……

108 4:12:0   FC   normal   272   261    0    0      0       0    0   0    0   11      0   0

109 4:13:0   FC   failed   272     0    0    0    257       0    4   0    0    0      4    7

110 5:2:0    FC   normal   272   259    0    2      0       0    0   0    0   11      0   0

111 2:3:0    FC   normal   272   260    0    0      0       0    0  12    0    0      0   0

113 0:21:0   FC   normal   272   255    0    5      0       0    0   6    0    6      0   0

……

313 6:22:0   FC   normal   272   255    0    6      0       0    0   0    0   11     0    0

--------------------------------------------------------------------------------------------

313 total                85136 79651    0 1141    253     533   28 537    0 2985     0    8

4. 查看数据迁移、同步任务是否完成,与监控需要的WWN

servicemag status -d

Cage 4, magazine 13:

The magazine was successfully brought offline by a servicemag start command.

The command completed at Sat Apr  9 23:07:08 2022.

The output of the servicemag start was:

servicemag start -wait -pdid 109

... servicing disks in mag: 4 13

...      normal disks:

...  not normal disks:  WWN [5000C5007792321C] Id [109]  diskpos [0]

... relocating chunklets to spare space...

... spinning down disk WWN [5000C5007792321C] Id [109]

... bypassing mag 4 13

... bypassed mag 4 13

servicemag start -wait -pdid 109 – Succeeded

#Succeeded表示已完成,可以插拔换盘

注意硬盘位置故障硬盘黄灯应亮起,且从串口看到的位置与故障硬盘位置一致

5. 拔出故障硬盘,换上备件

6. 查看硬盘状态

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 #16

0 0:0:0    FC   normal   272   260    0    0      0       0    0   0    0   12      0    0

1 0:1:0    FC   normal   272   260    0    0      0       0    0   1    0   11      0    0

……

108 4:12:0   FC   normal   272   261    0    0      0       0    0   0    0   11      0   0

109 4:13:0?   FC   failed   272     0    0    0    257       0    4   0    0    0      4    7

110 5:2:0    FC   normal   272   259    0    2      0       0    0   0    0   11      0   0

111 2:3:0    FC   normal   272   260    0    0      0       0    0  12    0    0      0   0

112 4:13:0   FC   normal   272     0    0    0      0     272    0   0    0    0      0   0

113 0:21:0   FC   normal   272   255    0    5      0       0    0   6    0    6      0   0

……

313 6:22:0   FC   normal   272   255    0    6      0       0    0   0    0   11     0    0

--------------------------------------------------------------------------------------------

313 total                85136 79651    0 1141    253     533   28 537    0 2985     0    8

更换的109盘,CagePos列标明109盘位置的值会带一个问号

7. 查看数据迁移、同步任务是否正常进行

不会立即刷新状态,需等待一会

servicemag status -d

Cage 4, magazine 13:

The magazine is being brought online due to a servicemag resume.

The last status update was at Mon Apr 11 15:37:18 2022.

The cumulative output so far is:

servicemag resume 4 13

... mag 4 13 already onlooped

... upgrading firmware on pd WWN [5000C5005F076AA8]...

#开始进行同步任务

#不会立即刷新状态,需等待

#如果未出现以下输出,请查看步骤9

servicemag status -d

Cage 4, magazine 13:

A servicemag resume command failed on this magazine.

The command completed at Mon Apr 11 15:41:52 2022.

The output of the servicemag resume was:

servicemag resume 4 13

... mag 4 13 already onlooped

... upgrading firmware on pd WWN [5000C5005F076AA8]...

... firmware is current on pd WWN [5000C5007792321C] Id [109]

... checking for valid disks...

...   disks in mag  : 4 13

...      normal disks:  WWN [5000C5005F076AA8] Id [112]  diskpos [0]

...  not normal disks:  WWN [5000C5007792321C] Id [109]

... verifying spare space for disks 109 and 112

... playback chunklets from pd WWN [5000C5005F076AA8] Id [112]

... All chunklets played back / relocated.

... cleared logging mode for cage 4 mag 13

... relocating chunklets from spare space

... Chunklets not in proper state for relocation, will wait 30 seconds and try again

... Retrying... relocating chunklets from spare space

... Chunklets not in proper state for relocation, will wait 30 seconds and try again

... Retrying... relocating chunklets from spare space

... Chunklets not in proper state for relocation, will wait 30 seconds and try again

... Retrying... relocating chunklets from spare space

... Chunklets not in proper state for relocation, will wait 30 seconds and try again

... Retrying... relocating chunklets from spare space

... Chunklets not in proper state for relocation, will wait 30 seconds and try again

... Retrying... relocating chunklets from spare space

... Chunklets not in proper state for relocation, will wait 30 seconds and try again

... Retrying... relocating chunklets from spare space

Failed --

Could not find a destination for chunklet 61:258

All chunklets from the target drive 112 are in use

Please also check for unclean or media failed chunklets

Use the -partial flag to move as many of the rest as possible

 

servicemag resume 4 13 -- Failed

#换上的新硬盘没有继承编号109,改为编号112,WWN从 [5000C5007792321C] 变为
[
5000C5005F076AA8],最后的Failed说明任务失败

8. 尝试清除备件(需指定备件物理位置)上的数据后再次开始数据迁移、同步任务

不会立即刷新状态,需等待一会

servicemag resume -partial 4 13

Are you sure you want to run servicemag?

select q=quit y=yes n=no: y 

servicemag resume -partial 4 13

... mag 4 13 already onlooped

... firmware is current on pd WWN [5000C5005F076AA8] Id [112]

... firmware is current on pd WWN [5000C5007792321C] Id [109]

... checking for valid disks...

...   disks in mag  : 4 13

...      normal disks:  WWN [5000C5005F076AA8] Id [112]  diskpos [0]

...  not normal disks:  WWN [5000C5007792321C] Id [109]

... verifying spare space for disks 112 and 112

... playback chunklets from pd WWN [5000C5005F076AA8] Id [112]

 

The servicemag resume operation will continue in the background.

#有一次互动,按y继续

#清除成功,同步任务再次开始

 

9. 查看任务进度

不会立即刷新状态,需等待一会

servicemag status -d

Cage 4, magazine 13:

The magazine is being brought online due to a servicemag resume.

The last status update was at Mon Apr 11 15:59:51 2022.

Unable to provide a relocation estimate until at least one chunklet has fully completed relocation.

The cumulative output so far is:

servicemag resume -partial 4 13

... mag 4 13 already onlooped

... firmware is current on pd WWN [5000C5005F076AA8] Id [112]

... firmware is current on pd WWN [5000C5007792321C] Id [109]

... checking for valid disks...

...   disks in mag  : 4 13

...      normal disks:  WWN [5000C5005F076AA8] Id [112]  diskpos [0]

...  not normal disks:  WWN [5000C5007792321C] Id [109]

... verifying spare space for disks 112 and 112

... playback chunklets from pd WWN [5000C5005F076AA8] Id [112]

... All chunklets played back / relocated.

... cleared logging mode for cage 4 mag 13

... relocating chunklets from spare space

#开始同步

servicemag status -d

Cage 4, magazine 13:

The magazine is being brought online due to a servicemag resume.

The last status update was at Mon Apr 11 15:59:51 2022.

Chunklets relocated: 14 in 8 minutes and 19 seconds

Chunklets remaining: 739

Chunklets marked for moving: 738

Estimated time for relocation completion based on 35 seconds per chunklet is: 7 hours, 10 minutes and 30 seconds

The cumulative output so far is:

servicemag resume -partial 4 13

... mag 4 13 already onlooped

... firmware is current on pd WWN [5000C5005F076AA8] Id [112]

... firmware is current on pd WWN [5000C5007792321C] Id [109]

... checking for valid disks...

...   disks in mag  : 4 13

...      normal disks:  WWN [5000C5005F076AA8] Id [112]  diskpos [0]

...  not normal disks:  WWN [5000C5007792321C] Id [109]

... verifying spare space for disks 112 and 112

... playback chunklets from pd WWN [5000C5005F076AA8] Id [112]

... All chunklets played back / relocated.

... cleared logging mode for cage 4 mag 13

... relocating chunklets from spare space

#预计任务完成需7小时10分30秒

servicemag status -d

No servicemag operations logged.

#无任务,数据同步已完成

10.         查看硬盘状态

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 #16

0 0:0:0    FC   normal   272   260    0    0      0       0    0   0    0   12      0    0

1 0:1:0    FC   normal   272   260    0    0      0       0    0   1    0   11      0    0

……

108 4:12:0   FC   normal   272   261    0    0      0       0    0   0    0   11      0   0

110 5:2:0    FC   normal   272   259    0    2      0       0    0   0    0   11      0   0

111 2:3:0    FC   normal   272   260    0    0      0       0    0  12    0    0      0   0

112 4:13:0   FC   normal   272   261    0    0      0       0    0   0    0   11      0   0

113 0:21:0   FC   normal   272   255    0    5      0       0    0   6    0    6      0   0

……

313 6:22:0   FC   normal   272   255    0    6      0       0    0   0    0   11     0    0

--------------------------------------------------------------------------------------------

313 total                85136 79651    0 1141    253     533   28 537    0 2985     0    8

#编号109消失,编号102与其他盘状态一致

11.         查看告警

showalert

no alerts

#告警消失

硬件告警灯熄灭,更换完成

 

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin
    1. 支付宝打赏

      qrcode alipay
    2. 微信打赏

      qrcode weixin

评论区