免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1371 | 回复: 0
打印 上一主题 下一主题

[存储备份] 硬盘进行微码升级 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-24 19:22 |只看该作者 |倒序浏览
今天我对我试验平台的硬盘进行微码升级,在这里将我的操作方法和步骤写下来与大家共勉;由于水平有限,不当之处请多包涵!
硬盘微码升级步骤
注:AIX 4.3只支持在线升级非rootvg的硬盘,rootvg的硬盘只能在维护模式升级微码;AIX 5.1支持在线升级rootvg的硬盘。另微码升级具有一定的危险性,除非是非常必要,一般不要升级微码(个人意见)。
环境:IBM 140主机;OS:AIX 5.1 硬盘:DDYS-T18350N (18.2GB SCSI硬盘)
1、 查看硬盘微码级别:
#lscfg –vl hdisk2 (我要升级的目标盘为hdisk2)
hdisk2 04-C0-00-4,0 16 Bit LVD SCSI Disk Drive (18200
MB)
Manufacturer................IBM
Machine Type and Model......DDYS-T18350N
FRU Number..................07N3776
ROS Level and ID............53395241
Serial Number...............9EGV3203
EC Level....................F79924
Part Number.................07N3811
Device Specific.(Z0)........000003029F00013A
Device Specific.(Z1)........07N4921
Device Specific.(Z2)........0933
Device Specific.(Z3)........01320
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
Device Specific.(Z6)........F79924
确认:Machine Type and Model......DDYS-T18350N;Device Specific.(Z1)........07N4921和下载的微码型号相同;
下载微码到本地PC,
在IBM 140主机上建立/tmp/microcode目录
#mkdir /tmp/microcode
用FTP通过二进制模式将微码传到/tmp/microcode目录中,
#ls
ddys18G.bin(下载时我改了文件名,便于区别)
[IBM140-v5][/tmp/microcode]#chmod +x ddys18G.bin (添加可执行权限)
[IBM140-v5][/tmp/microcode]#ls -l
total 3128
-rwxr-x--x 1 root system 1599988 Mar 21 14:11 ddys18G.bin
[IBM140-v5][/tmp/microcode]#./ddys18G.bin (执行解压)
UnZipSFX 5.32 of 3 November 1997, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: ddys/DDYS-T0.415A3030.53423041
inflating: ddys/DDYS-T0.415A3033.53423041
inflating: ddys/DDYS-T0.415A3034.53423041
inflating: ddys/DDYS-T0.415A3035.53423041
inflating: ddys/DDYS-T1.415A3030.53423041
inflating: ddys/DDYS-T1.415A3033.53423041
inflating: ddys/DDYS-T1.415A3034.53423041
inflating: ddys/DDYS-T1.415A3035.53423041
inflating: ddys/DDYS-T1.415A3036.53423041
inflating: ddys/DDYS-T3.415A3030.53423041
inflating: ddys/DDYS-T3.415A3033.53423041
inflating: ddys/DDYS-T3.415A3034.53423041
inflating: ddys/DDYS-T3.415A3035.53423041
inflating: ddys/DDYS-T3.415A3036.53423041
inflating: ddys/ddys.txt
[IBM140-v5][/tmp/microcode]#ls
ddys ddys18G.bin
解压生成ddys目录,进入该目录,可以看到需要得微码文件DDYS-T1.415A3030.53423041。
[IBM140-v5][/tmp/microcode]#cd ddys
[IBM140-v5][/tmp/microcode/ddys]#ls
DDYS-T0.415A3030.53423041 DDYS-T1.415A3036.53423041
DDYS-T0.415A3033.53423041 DDYS-T3.415A3030.53423041
DDYS-T0.415A3034.53423041 DDYS-T3.415A3033.53423041
DDYS-T0.415A3035.53423041 DDYS-T3.415A3034.53423041
DDYS-T1.415A3030.53423041 DDYS-T3.415A3035.53423041
DDYS-T1.415A3033.53423041 DDYS-T3.415A3036.53423041
DDYS-T1.415A3034.53423041 ddys.txt
DDYS-T1.415A3035.53423041
执行升级步骤:
1. #diag.
2. Select the "Task Selection" from diagnostics menu.
3. Select "Microcode Download" from "Task Selection" menu.
4. Select resource that microcode will be applied to(hdisk?) and press ENTER, then press "F7" to commit.. (终端仿真登陆,执行esc+7)
5- A small screen displays the message " *** NOTICE*** The microcode installation occurs while the attached drives are avilable for use..... "
Press enter to continue
6. Select the source for microcode, use arrow key to go up/down, Enter to continue.
/etc/microcode (选择该项,回车)
diskette
- Use /etc/microcode if "restore" command is used to copy files from diskette onto the disk
- Use diskette if using diskette as the source for download
NOTE: A prompt will ask you to insert the microcode diskette in diskette drive(if Diskette is selected above). Insert the diskette and press ENTER
7- Display shows a list of microcodes avilable for the selected drive, highlight option "M ST3xxx...", the latest microcode for the drive listed below and press ENTER. A message may warn you that current level of microcode is not available on the media, press ENTER to continue.
8. You will receive a msg. "Current Microcode is...." and "Download has completed successfully" (this may take a few minutes)
9. Return to the Tasks Selection menu and repeat this procedure for each hard disk that requires this microcode.
10. Exit diagnostic(and reboot if needed).
检验新微码:
[IBM140-v5][/]#lscfg -vl hdisk2
DEVICE LOCATION DESCRIPTION
hdisk2 04-C0-00-4,0 16 Bit LVD SCSI Disk Drive (18200 MB)
Manufacturer................IBM
Machine Type and Model......DDYS-T18350N
FRU Number..................07N3776
ROS Level and ID............53423041(新微码级别)
Serial Number...............9EGV3203
EC Level....................F79924
Part Number.................07N3811
Device Specific.(Z0)........000003029F00013A
Device Specific.(Z1)........07N4921
Device Specific.(Z2)........0933
Device Specific.(Z3)........01320
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
注意:一定要确认,下载的微码一定要适合目标硬盘的型号。否则后果将是很严重的。

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19495/showart_132201.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP