cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
2
Helpful
4
Replies

How to empty disk space for NCS5501-SE during upgrade?

RahmaSallm
Level 1
Level 1

We have been having problems with upgrading one of out NCS 5501-SE to version IOS-XR 7.7.21 from version 7.5.2.

We have followed the guide to upgrade by doing a "Classic Upgrade". We get the following error message when we do an "install activate id < id#> noprompt" in the "install log"

2024-02-29 16:39:41 Install operation 97 started by manne:
2024-02-29 16:39:41 install activate id 96 noprompt
2024-02-29 16:39:44 No install operation in progress at this moment
2024-02-29 16:39:44 Checking system is ready for install operation
2024-02-29 16:39:45 'install activate' in progress
2024-02-29 16:39:45 ISO ncs5500-mini-x-7.7.21 in input package list. Going to upgrade the system to version 7.7.21.
2024-02-29 16:39:49 Optimized list to prepare after sanitizing input list for superseded packages:
ncs5500-mpls-2.1.0.0-r7721.x86_64
ncs5500-eigrp-1.0.0.0-r7721.x86_64
ncs5500-lictrl-1.0.0.0-r7721.x86_64
ncs5500-isis-2.1.0.0-r7721.x86_64
ncs5500-ospf-2.0.0.0-r7721.x86_64
ncs5500-mgbl-3.0.0.0-r7721.x86_64
ncs5500-k9sec-3.1.0.0-r7721.x86_64
ncs5500-li-1.0.0.0-r7721.x86_64
ncs5500-mcast-3.0.0.0-r7721.x86_64
ncs5500-mini-x-7.7.21
ncs5500-mpls-te-rsvp-3.1.0.0-r7721.x86_64
2024-02-29 16:39:49 Package list:
2024-02-29 16:39:49 ncs5500-mpls-2.1.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-eigrp-1.0.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-lictrl-1.0.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-isis-2.1.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-ospf-2.0.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-mgbl-3.0.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-k9sec-3.1.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-li-1.0.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-mcast-3.0.0.0-r7721.x86_64
2024-02-29 16:39:49 ncs5500-mini-x-7.7.21
2024-02-29 16:39:49 ncs5500-mpls-te-rsvp-3.1.0.0-r7721.x86_64
2024-02-29 16:39:49 The operation is past point-of-no-return and can no longer be stopped!
2024-02-29 16:39:49 Action 1: install prepare action started
2024-02-29 16:39:49 Triggering prepare operation.
This may take a while...
2024-02-29 16:40:44 Following error(s) occurred in sysadmin vm(s) during install operation:
2024-02-29 16:40:44 Preparation failed with the error:
Error CMD=python /opt/cisco/calvados/bin/lvutils.py system --staging_loc /misc/disk1 --initrd /media/install_tmpfs/tmp.wAb5xjack3/boot/initrd.img returned --->
2024-02-29 16:40:44

Error stack for 0/RP0 :
#1 Insufficient space for /media/install_tmpfs/tmp.wAb5xjack3/boot/initrd.img extraction in staging location /misc/disk1. Staging Free Space : 1575 MB, initrd Size : 1824 MB, Estimated uncompressed initrd size : 2371 MB

Please collect 'show tech-support install one-showtech' from XR and
'show tech-support ctrace' from Admin and pass this information to
your TAC representative for support.

2024-02-29 16:40:48 Ending operation 97
2024-02-29 16:40:48 Install operation 97 aborted

We can see that there is not much space on the disk after running "install add source":

RP/0/RP0/CPU0:wan-kantorn01#sh media location all
Mon Mar 4 13:58:08.722 CET

Media Info for Location: node0_RP0_CPU0
Partition Size Used Percent Avail
-------------------------------------------------- ------------------
rootfs: 3.9G 1.9G 50% 1.9G
apphost: 3.7G 133M 4% 3.4G
/dev/sde 969M 520M 58% 383M
hard disk: 5.6G 2.0G 38% 3.3G
log: 459M 138M 33% 287M
config: 459M 3.1M 1% 422M
disk0: 2.0G 49M 3% 1.8G

Media Info for Location: node0_0_CPU0
Partition Size Used Percent Avail
-------------------------------------------------- ------------------
rootfs: 3.9G 2.9G 79% 805M
apphost: 3.7G 133M 4% 3.4G
/dev/sde 969M 520M 58% 383M
hard disk: 5.6G 2.0G 38% 3.3G
log: 459M 79M 19% 346M
config: 459M 800K 1% 424M
disk0: 2.0G 5.1M 1% 1.9G

There seems to be a bug regarding this, but there is no workaround.
https://bst.cisco.com/bugsearch/bug/CSCwc78463

How can we free up the disk space and proceed with the upgrade?

1 Accepted Solution

Accepted Solutions

f00z
Level 3
Level 3

Ran into this before, takes too long to figure out.  Save config off of the device somewhere.  Get USB stick and use USB boot image and reformat and install the entire thing.  Make GISO for what you want or install SMU after it's up.  

 

 

View solution in original post

4 Replies 4

f00z
Level 3
Level 3

Ran into this before, takes too long to figure out.  Save config off of the device somewhere.  Get USB stick and use USB boot image and reformat and install the entire thing.  Make GISO for what you want or install SMU after it's up.  

 

 

Is there any detailed guide for "reformating/factory resetting" and installation through USB?

Just a regular USB install.. Normally the issue you are having is because you don't have bridge SMUs installed (which you have to install, then reboot, then try the upgrade again).. but sometimes it fails, sometimes it sits there for hours and does nothing.. I just find it easier to reinstall the whole thing. 

There are various guides, like https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/system-setup/73x/b-system-setup-cg-ncs5500-73x/perform-disaster-recovery.html

anpetit
Cisco Employee
Cisco Employee

Hello @RahmaSallm , @f00z , 
Hope you are doing well. 
Just a top of mind but "install remove inactive all" from both XR and admin VM could help in this case. 

Have a nice day. 

Kind Regards,

Review Cisco Networking for a $25 gift card