Checking the Flash File System
Page 9-21

Checking the Flash File System

The fsck command performs a file system check of flash memory, which consists of the flash
file system. Image files are stored in flash memory and loaded into system memory when the
switch boots up. It also provides diagnostics in the case of file corruption. To perform a file
system check of flash memory, enter
fsck
at the system prompt. A screen similar to the following will be displayed.
Your bootroms support Flash File System Version 2 and greater.
Out of 16 file descriptors in use, 0 of these are opened on the /flash device.
Performing a file system check using manual mode. If a file is encountered
with a potential problem, you may wish to consider preserving it for technical
support analysis...
Flash file system check in progress...
Checking root file system... OK
Performing file consistency check...
Done.
There doesn't appear to be a system problem related to the Flash File
system or kernel file system data structures. If you are experiencing
problems with the flash file system, perhaps try using the "info",
"systat", or "memstat" commands. They may indicate some other condition
(such as low memory) which could prohibit correct operation of the
file system.
If the fsck command finds a problem with the flash file system, a message will be displayed
detailing the problems found and/or actions taken to correct those problems.

Checking the SIMM Files

Each logical file system (/flash and /simm) must be checked independently. If you have
installed the 32 or 56 Mb SIMM upgrade and you want to check the SIMM’s memory, enter
cd /simm
at the system prompt before you execute the fsck command.