S3700交换机存储空间不足导致无法加载升级版本文件

发布时间:  2016-12-07 浏览次数:  557 下载次数:  0
问题描述

某局点S3700交换机需由V100R006C03升级至V100R006C05版本,升级模式为S3700作为FTP clint端,从FTP服务器侧下载V100R006C05版本文件。

登录FTP服务器后,当执行get S3700-28TP-EI-V100R006C05.cc命令后,系统提示存储空间不足。

[ftp] get S3700-28TP-EI-V100R006C05.cc
Error: Failed to run this command because of insufficient storage space.

通过dir 查看存储空间,发现系统空间不足,只能删除现有V100R006C03版本文件,才有足够空间存放V100R006C05版本文件。

<Quidway>dir
Directory of flash:/

  Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName
    0  -rw-             28  Jan 01 2008 00:01:19   private-data.txt
    1  drw-              -  Jan 01 2008 00:03:30   resetinfo
    2  -rw-      1,338,775  Jan 01 2008 00:17:18   S3700-28TP-EI-V100R006C03.web.zip
    3  -rw-      8,789,100  Jan 01 2008 00:02:36   S3700-28TP-EI-V100R006C03.CC
    4  -rw-      1,322,282  Jan 01 2008 00:27:40   s3700_v100r006sph027.pat

14,632 KB total (3,412 KB free)

尝试删除现有V100R006C03版本文件,系统提示该文件为当前系统启动文件,无法删除。

<Quidway>delete S3700-28TP-EI-V100R006C03.CC
Info:This is Next startup system software.If you delete it,there is no software to reboot successfully!Confirm to delete the file? [Y/N]:y
Delete flash:/S3700-28TP-EI-V100R006C03.CC?[Y/N]:y
Info: Deleting file flash:/S3700-28TP-EI-V100R006C03.CC...
Error: Invalid operation, this is system startup file.
Error: Deleting file flash:/S3700-28TP-EI-V100R006C03.CC failed.



处理过程

在系统视图下无法删除当前启动文件,需进入诊断视图删除当前启动文件,才能在系统视图删除。相关操作如下

[Quidway]diagnose
Enter diagnose view, return user view with Ctrl+Z.
Warning: The diagnosis view is used to debug system hardware and software. Misuse of certain commands in this view may affect system performance. Therefore, use these commands with the guidance of Huawei engineers.
[Quidway-diagnose]undo startup system-software                            
[Quidway-diagnose]
[Quidway-diagnose]return
<Quidway>delete /unreserved  S3700-28TP-EI-V100R006C03.CC
Warning: The contents of file flash:/S3700-28TP-EI-V100R006C03.CC cannot be recycled. Continue? [Y/N]:y
Info: Deleting file flash:/S3700-28TP-EI-V100R006C03.CC...........succeeded.

成功删除V100R006C03版本文件后,存储空间充足,再次访问FTP服务器下载V100R006C05版本文件即可完成升级。



根因
在系统视图下无法删除当前启动文件,需进入诊断视图删除当前启动文件,才能在系统视图下删除。

END