Customer wanted to upgrade Quidway S2700-52P-PWR-EI from the S2700-52P-EI-V100R006C03.CC to the newest image S2700-52P-EI-V100R006C05.CC and couldn't perform the upgrade because they would need firstly to store the cc file in to switch's flash and free space was not enough for it.
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
Info: Deleting file flash:/S2700-52P-EI-V100R006C03.CC...
Error: Invalid operation, this is system startup file.
Error: Deleting file flash:/S2700-52P-EI-V100R006C03.CC failed.
Solution in this case is to delete the current software file but you will need to access diagnose mode for achieving this. Guide as below:
Enter diagnosis view, return user view with Ctrl+Z.
Info: The diagnosis view is used to debug system hardware and software. Misuse o
f certain commands in this view may affect system performance. Therefore, use th
ese commands with the guidance of Huawei engineers.
[huawei-diagnose]undo startup system-software
<huawei> delete /unreserved S2700-52P-EI-V100R006C03.CC
Warning: The contents of file flash:/S2700-52P-EI-V100R006C03.CC cannot be recycled. Continue? [Y/N]:y
Info: Deleting file flash:/S2700-52P-EI-V100R006C03.CC...........................