File System Check and Repair for PCMCIA ATA Disks


First Published: July 22, 2002
Last Updated: March 24, 2010

The File System Check and Repair for PCMCIA ATA Disks feature introduces a File-System-Check (fsck) utility in Cisco IOS software for File Allocation Table (FAT) filesystems on (Personal Computer Memory Card International Association) PCMCIA disks. The utility performs functions such as checking the boot sector and partition table, checking the file and directory structure, reclaiming unused disk space, and updating the FAT file structure.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for File System Check and Repair for PCMCIA ATA Disks" section.

Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Contents

This document contains the following sections:

Information About File System Check and Repair for PCMCIA ATA Disks

How to Use the File System Check and Repair for PCMCIA ATA Disks

Additional References

Feature Information for File System Check and Repair for PCMCIA ATA Disks

Information About File System Check and Repair for PCMCIA ATA Disks

This section describes the following topic:

File System Check and Repair for PCMCIA ATA Disks Overview

File System Check and Repair for PCMCIA ATA Disks Overview

Prior to the introduction of the file system check (fsck) utility in Cisco IOS Release 12.2(13)T, corrupt files could not be removed from Advanced Technology Attachment (ATA) disks using the Cisco IOS command-line interface (CLI).

Files (or file metadata) in an ATA disk can be corrupted by a variety of events, from power failures or system crashes to simple TFTP copy failures. Prior to the introduction of the file system check (fsck) utility, corrupted files could not be deleted from a usable ATA disk without removing, reformatting, and reinstalling the disk.

The fsck privileged EXEC command allows you to conveniently recover wasted disk space directly from the CLI.


Note A FAT16 formatted disk can have only 512 root directory entries. This limits the maximum number of files stored under the root directory. The number of root directory entries stored by a file is in proportion to the filename length. A FAT32 formatted disk does not have this root directory entry limitation. A subdirectory of a FAT16 or FAT32 formatted disk also does not have any limitation on the maximum number of files stored in it.


How to Use the File System Check and Repair for PCMCIA ATA Disks

The fsck utility is enabled by default. No configuration is necessary. For more information, see the fsck command page.

Additional References

The following sections provide references related to the File System Check and Repair for PCMCIA ATA Disks feature.

Related Documents

Related Topic
Document Title

Cisco IOS commands

Cisco IOS Master Commands List, All Releases

Configuration fundamental commands

Cisco IOS Configuration Fundamentals Command Reference


Technical Assistance

Description
Link

The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.

To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.

Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.

http://www.cisco.com/cisco/web/support/index.html


Feature Information for File System Check and Repair for PCMCIA ATA Disks

Table 1 lists the features in this module and provides links to specific configuration information.

Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.


Note Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.


Table 1 Feature Information for File System Check and Repair for PCMCIA ATA Disks 

Feature Name
Releases
Feature Information

File System Check and Repair for PCMCIA ATA Disks

12.0(22)S
12.2(13)T

This feature introduces a File-System-Check (fsck) utility in Cisco IOS software for FAT filesystems on PCMCIA disks. The utility performs functions such as checking the boot sector and partition table, checking the file and directory structure, reclaiming unused disk space, and updating the FAT file structure.

The following command was introduced or modified: fsck.