How do I free up space on the flash disk?
search cancel

How do I free up space on the flash disk?

book

Article ID: 166097

calendar_today

Updated On:

Products

PacketShaper

Issue/Introduction

The PacketShaper flash disk, 9.256/, is used to store PacketShaper configuration files as well as the software image.

Free space can be checked with the version CLI command.

If the flash disk has insufficient free space available, it may prevent software upgrades or writing of configuration changes to the startup configuration file. Note that the flash disk cannot be upgraded to a larger capacity.

Resolution

To free up space on the flash disk:

1. At the CLI prompt, use the pwd command to verify that you are currently in the flash root directory:

PacketShaper# pwd
9.256/

2.Use the ls -l command to list the contents of the 9.256/ directory:

PacketShaper# ls -l
total 20
drwxrwxrwx 1 root root 2048 Jan 12 13:38 BIN
drwxrwxrwx 1 root root 2048 Jan 12 13:38 CFG
drwxrwxrwx 1 root root 2048 Jan 12 13:38 CMD
drwxrwxrwx 1 root root 2048 Jan 12 13:38 LOG
drwxrwxrwx 1 root root 2048 Jan 12 13:42 PLG

3. No essential files are located in the root; all essential files are located within directories of their own.

Any files in the root can be downloaded to a local workstation, then deleted from the PacketShaper using the command rm filename

4. The 9.256/CMD directory contains backup configuration files that were created with the setup capture command.

If multiple backup files are stored in this directory, it may deplete much of the available flash space. These are not essential for the day-to-day operation of PacketShaper.

All files in the 9.256/CMD directory can be downloaded, then safely deleted from the PacketShaper using the command rm filename

Note: You can use the File Browser to check disk space, download files from your PacketShaper to your PC, and delete PacketShaper files. See Use the File Browser in PacketGuide for details.