Cisco Cisco ASA 5525-X Adaptive Security Appliance - No Payload Encryption Guide De Dépannage

Page de 6
Background Information
Cisco ASA maintains its filesystem in an internal flash memory and stores all the files in flash memory. This
is a memory card inserted into a slot in the ASA. The capacity of this depends on the ASA hardware model.
Refer to the Technical Specifications section in Table 8 of Cisco ASA Data Sheet for more information. This
memory is referred to as 
flash
 or 
disk0
.
When additional flash memory is needed, you could use an external flash card. Except for the ASA 5505
model, all other ASA models in 5500 series have an external compact flash card slot on the rear end of the
device, which can be accessed by the user easily without the need to open the device. This flash card is also
used to save the configuration files and referred to as 
disk1
.
If the flash filesystem is properly accessed by the device and works properly, the device indicates this with a
Solid Green
 on the Flash LED on the front panel of the device.
The contents of this filesystem can be verified with any of these commands:
dir Displays the contents of the current directory.
Note: The default current directory is 
flash:/
.
• 
show flash: Displays the contents of the internal flash memory.
• 
show disk0 Displays the contents of the internal flash memory.
• 
show disk1 Displays the contents of the external flash memory.
• 
Mitigate Cisco ASA Flash Corruption Issues
When there are issues with the access of the flash filesystem, you can complete these steps that explain
troubleshooting procedures.
Run the "fsck" utility
The term fsck is an acronym for filesystem check. This utility usually runs automatically at the start−up of the
device and verifies for any anomalies within the filesystem in case of any abnormal events. It fixes the
problem within the filesystem and save that as a recovery file. You can execute the fsck utility with the fsck
flash:
 command.
The fsck utility repairs a corrupt filesystem. A successful fsck operation results in this output:
CiscoASA# fsck flash:
Checking the boot sector and partition table...
Checking FAT, Files and Directories...
Reclaiming unused space...
Updating FAT...
Destroying old disk cache...
Initializing disk0: cache, please wait......Done.
fsck of flash: complete
In case of any filesystem corruption issues, the fsck utility generates recovery files namely 
fsck00??.rec
.