This document describes the Cisco Adaptive Security Appliance (ASA) disk0 error message with resolutions for the problem.
There are no specific requirements for this document.
The information in this document is based on the Cisco 5500 Adaptive Security Appliance (ASA) with software version 7.x.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
The disk0 directory displays this error message:
Directory of disk0:/%Error calling getdents for disk0:/ (File not found in Inode table)
255426560 bytes total (227303424 bytes free)
When the wr mem command is issued, this error appears:
%Error writing disk0:/.private/startup-config (I/O error)Error executing command[FAILED]
Note: You can see the same error message even when you attempt to copy the ASA software image to disk0: via TFTP.
Tip: Before you implement the solutions in this document, make sure that the logging flash-bufferwrap command is not in your configuration. If it is, remove it with this command:
ASA(config)#no logging flash-bufferwrap
Use the solutions in this section to solve the problem.
Run a file system check on disk0 by issuing the fsck disk0: command.
Note: If this solution does not resolve the issue, contact TAC (registered customers only) .
Warning: Perform this step only if the issue still persists, re-format the Flash and copy the image as this output shows:
Format operation may take a while. Continue? [confirm] y
ASA(config)#copy tftp disk0:
Note: The format command erases your configuration. Be sure you have a backup first. Refer to Use the copy Command to Backup and Restore a Configuration on PIX 7.x in order to learn more about how to backup and restore your configuration.
Refer to Cisco Security Appliance Command Reference in order to learn more about the various commands supported by the ASA.