101
<Sysname> system-view
[Sysname] file prompt alert
fixdisk
Use
fixdisk
to examine a storage medium for damage and repair any damage.
Syntax
fixdisk
device
Views
User view
Default command level
3: Manage level
Parameters
device
: Specifies the storage medium name.
Usage guidelines
Use this command to fix a storage medium when the medium becomes unavailable or cannot operate
normally.
Examples
# Examine the Flash for damage and repair any damage.
<Sysname> fixdisk flash:
Fixdisk flash: may take some time to complete...
%Fixdisk flash: completed.
format
Use
format
to format a storage medium.
Syntax
format
device
Views
User view
Default command level
3: Manage level
Parameters
device
: Specifies the name of a storage medium, for example,
flash
.
Usage guidelines
Formatting a storage medium results in loss of all files on the storage medium and these files cannot be
restored. In particular, if a startup configuration file exists on a storage medium, formatting the storage
medium results in loss of the startup configuration file.
Examples
# Format the Flash.
<Sysname> format flash: