File System Overview
When upgraded to PIX 7.0, PIX Flash memory is reformatted. The contents of the files are different than in the older versions. Table 3-1 shows the different files that go into Flash on PIX Firewall Version 6.3 and earlier, and on PIX Firewall Version 7.0 and later.
Release 6.3 and Earlier | Release 7.0 and Later |
---|---|
SW Image | SW Image |
Config File | Config File |
Private Data File | Private Data |
PDM Image | ASDM Image |
Crash Information | Backup Image (If disk and flash space are available) Backup config file (if disk and flash space are available) Virtual Firewall Config File Crash Info (Internal Only) 1M/ASA, 128K/PIX |
The Flash file system can be viewed with either the dir or show flash command as shown in Example 3-1.
Example 3-1. Flash File System on PIX 7.0
PIX# dir |
Table 3-2 shows the commands available to work with the Flash File System CLI.
Command | Meaning |
---|---|
cd | Change the current working directory to the one specified. |
delete | Deletes a file. If a path is not specified, the file would be deleted from the current working directory. When deleting files the user would be prompted with the filename and asked to confirm the delete. The /recursive option would delete files recursively. |
dir | Displays the content of the current directory. |
format | Formats the disk using File Allocation Table (FAT). |
mkdir | Creates a new directory. |
more | Displays the contents of a specified file. more [/ascii] [/binary][disk:][ |
rename | Renames a specified file. |
rmdir | Removes a specified directory. Use will be prompted. |
pwd | Shows the present working directory. |
copy | Copies a file from flash: ftp, http, https, running and startup config tftp, system. |
Example 3-2 shows the debug command available for troubleshooting the Flash file system.
Example 3-2. debug Command For Troubleshooting File System
PIX# debug disk ? |
You might receive the following warnings and errors related to file system misbehavior: Out of space, run fsck, filename too long, no such file. The solution for these is self evident.