故障现象
近日,对一些H3C V7路由器进行系统软件升级时,按以往的操作上传ipe文件后直接升级,但升级失败,出现如下错误提示:
<RT01>boot-loader file flash:/MSR830EI-CMW710-R6749P43.ipe main
Verifying the file flash:/MSR830EI-CMW710-R6749P43.ipe on the device............Done.
H3C MSR830 images in IPE:
msr830ei-cmw710-boot-r6749p43.bin
msr830ei-cmw710-system-r6749p43.bin
msr830ei-cmw710-wifidog-r6749p43.bin
msr830ei-cmw710-wwd-r6749p43.bin
msr830ei-cmw710-security-r6749p43.bin
msr830ei-cmw710-voice-r6749p43.bin
msr830ei-cmw710-data-r6749p43.bin
This command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y
Add images to the device.
No sufficient storage space on the device.
无论是从WEB还是CLI,都无法正常完成升级。
故障原因及解决方法
究其原因,这批遇到问题的路由器,都是使用256MB小容量闪存的设备。因为最新版本的系统软件(7.1.0 R6749P43)体积太大,即使彻底删除了闪存上旧版系统软件,也无法将ipe文件全部解压的闪存空间。
H3C提供的升级包中,除了打包好的ipe文件外,也提供全部独立的bin文件。因此可以采取变通的方法,将这些bin文件分别上传至路由器的闪存,并用命令依次指定这些bin文件的用途。命令如下:
<RT01>boot-loader file boot ++flash:/msr830ei-cmw710-boot-r6749p43.bin++ system ++flash:/msr830ei-cmw710-system-r6749p43.bin++ feature ++flash:/msr
830ei-cmw710-data-r6749p43.bin++ ++flash:/msr830ei-cmw710-security-r6749p43.bin++ ++flash:/msr830ei-cmw710-voice-r6749p43.bin++ ++flash:/msr830ei-cmw710-wifidog
-r6749p43.bin++ ++flash:/msr830ei-cmw710-wwd-r6749p43.bin++ mainThis command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y
Verifying the file flash:/msr830ei-cmw710-data-r6749p43.bin on the device...Done.
Verifying the file flash:/msr830ei-cmw710-security-r6749p43.bin on the device...Done.
Verifying the file flash:/msr830ei-cmw710-voice-r6749p43.bin on the device...Done.
Verifying the file flash:/msr830ei-cmw710-wifidog-r6749p43.bin on the device...Done.
Verifying the file flash:/msr830ei-cmw710-wwd-r6749p43.bin on the device...Done.
Verifying the file flash:/msr830ei-cmw710-boot-r6749p43.bin on the device...Done.
Verifying the file flash:/msr830ei-cmw710-system-r6749p43.bin on the device..........Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.
最后使用dis boot-loader命令检查,确定无误后重启设备。