Description

While upgrading from 17.2R1-S6.3 to 20.4R3-S7.2 we might encounter the below error.

lab> request system software add jinstall-host-qfx-10-f-flex-x86-64-20.4R3-S7.2-secure-signed.tgz no-validate    
ERROR: estimate of space required: 1548491 Kbytes, available: 1539515 Kbytes

Symptoms

If the space in /.mount is less than 3G then we would be hitting the storage issue. The issue is seen even after using "unlink" or "no-copy" knobs with "request system software add".

Scenario 1:

lab@qfx> show system storage no-forwarding

Filesystem       Size    Used   Avail Capacity  Mounted on

/dev/md0.uzip      21M    21M     0B   100% /

devfs          1.0K    1.0K     0B   100% /dev

/dev/gpt/junos     4.0G    739M    2.9G    20% /.mount >>>>>>>less than 3G, upgrade fails

 

lab> request system software add jinstall-host-qfx-10-f-flex-x86-64-20.4R3-S7.2-secure-signed.tgz no-validate reboot     

ERROR: estimate of space required: 1548054 Kbytes, available: 1519553 Kbytes


Scenario 2:

lab@:/.mount/temp # df -h .

Filesystem    Size  Used  Avail Capacity Mounted on

/dev/gpt/junos  4.0G  652M  3.0G  17%  /.mount>>>>>>>>>>>>>>> more than or equal to 3G, then upgrade is success

 

lab> request system software add jinstall-host-qfx-10-f-flex-x86-64-20.4R3-S7.2-secure-signed.tgz no-validate reboot     

Verified jinstall-host-qfx-10-f-flex-x86-64-20.4R3-S7.2-secure-signed signed by PackageProductionECP256_2021 method ECDSA256+SHA256

 

Solution

  1. Check if there are any pending install or any upgrade staged on the device. This will print the above message on the terminal as the filesystem storage is checked before reporting any staged upgrades.
  2. Check for the system storage and remove any unwanted files to clear up the storage space.
  3. If the above two doesn't work, please try to do a step upgrade to 17.3x or later and then to 20.4x version.17.2R1-S6.3 release has Junos partition of 4G and 17.3 onwards, Junos partition size has been increased to 6G

 

17.2R1-S6.3

/dev/gpt/junos     4.0G    739M    2.9G    20% /.mount

 

17.3R3-S12.3

/dev/gpt/junos     6.0G    869M    4. 7G    15% /.mount

 

Moving to 17.3R3 or later, has the Junos Partition at 6G which will avoid any storage issues while we are upgrading the devices.

 

4. If none of the above steps remove the error seen while attempting to upgrade, proceed to perform a format install directly into the desired version following this KB: [QFX10K] Format Install procedure .

NOTE: If unfamiliar with Format Installs for Dual Routing Engine platforms (such as the QFX10008), note that there isn't a special procedure to follow, simply the difference is that you will need to upgrade them separately. Start by connecting to the console of the backup RE, perform the format install procedure there; then move your console connection and bootable USB to the master RE and run through the same process again (each RE will have its own dedicated USB port).

To create the Bootable USB any online available tools such as Rufus can be used, the JunOS install media image to use can be found within our software downloads page for this platform as "QFX 10K Modular Series Switch (USB) 21.4R3-S7".

 

Modification History

2023-12-01 : Initial Publication
​​​​​​​2024-07-29 - Visibility modified