A-11
Catalyst 3560 Switch Command Reference
78-16405-05
Appendix A Catalyst 3560 Switch Boot Loader Commands
fsck
fsck
Use the
fsck
boot loader command to check the file system for consistency.
fsck
[
-test
|
-f
]
filesystem
:
Syntax Description
Defaults
No file system check is performed.
Command Modes
Boot loader
Command History
Usage Guidelines
To stop an in-progress file system consistency check, disconnect the switch power and then reconnect
the power.
Examples
This example shows how to perform an extensive file system check on flash memory:
switch: fsck -test flash:
-test
(Optional) Initialize the file system code and perform extra POST on flash memory.
An extensive, nondestructive memory test is performed on every byte that makes up
the file system.
-f
(Optional) Initialize the file system code and perform a fast file consistency check.
Cyclic redundancy checks (CRCs) in the flashfs sectors are not checked.
filesystem
:
Alias for a flash file system. Use
flash:
for the system board flash device.
Release
Modification
12.1(19)EA1
This command was introduced.