Share:
Notifications
Clear all

How to resolve not enough free space during upgrade in C9200

2 Posts
2 Users
0 Likes
10 Views
(@techie)
Posts: 9
Active Member
Topic starter
 

If you're encountering insufficient free space on your Cisco Catalyst 9200 switch to perform an OS upgrade, you'll need to free up space by removing unnecessary files from the flash filesystem. Here's a step-by-step guide to help you address this issue:

  • Identify Unnecessary Files: Use the commands mentioned earlier (show flash:, dir flash:, show file flash:filename) to identify files that can be safely removed. Focus on old software images, configuration backups, log files, and any other non-essential files taking up space.

# show flash:

# dir flash:images

# show file flash:config-backup.cfg
  • Delete Unnecessary Files: Once you've identified the files to remove, use the delete command to remove them from the flash filesystem. For example:

    delete flash:old_image.bin
    delete flash:config-backup.cfg

    Replace old_image.bin and config-backup.cfg with the filenames of the files you want to delete.

  • Confirm Deletion: The switch will prompt you to confirm the deletion of each file. Enter yes to confirm and proceed with the deletion.

  • Verify Free Space: After deleting the unnecessary files, use the show file systems command to verify that enough free space is available for the OS upgrade. Ensure that the free space is sufficient for the new OS image.

  • Perform OS Upgrade: Once you've freed up enough space, proceed with the OS upgrade using the appropriate procedure for your switch model.

  • Cleanup After Upgrade: After completing the upgrade, you can further clean up the filesystem by removing temporary files or any additional unnecessary files that may have been generated during the upgrade process.

By following these steps, you should be able to free up enough space on your Cisco Catalyst 9200 switch to perform the OS upgrade successfully. Always exercise caution when deleting files to avoid accidentally removing critical data.

 
Posted : 27/04/2024 12:39 pm
(@ronny)
Posts: 5
New Member
 
  1. Copy the BIN file into each stack member.  
  2. Change the boot variable string to point to the BIN file (instead of packages.conf). 
  3. Boot the switch into Bundle Mode. 
  4. If successfully boot into 17.3.4 (Bundle Mode), clean up the flash. 
  5. Invoke Install Mode. 
  6. Change the boot variable string to point to the packages.conf
  7. Boot the stack again. 
  8. Clean up the flash.
 
Posted : 27/04/2024 12:50 pm
Share: