- 论坛徽章:
- 0
|
今天我对我试验平台的硬盘进行微码升级,在这里将我的操作方法和步骤写下来与大家共勉;由于水平有限,不当之处请多包涵!
硬盘微码升级步骤
注: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 |
|