You can execute the fixdisk command for the storage medium on the active MPU, but you cannot execute
the command for the storage medium on the standby MPU.
Examples
# Restore the space of the flash.
<Sysname> fixdisk flash:
Fixdisk flash: may take some time to complete.
%Fixdisk flash: completed.
format
Syntax
format device [ FAT16 | FAT32 ]
View
User view
Default level
3: Manage level
Parameters
device: Name of a storage medium, for example, cf0 or cf1.
FAT16: Formats a storage medium by using the FAT16 format. FAT16 does not support Tab matching but
needs to be entered completely if used, and is not applicable to a flash card.
FAT32: Formats a storage medium by using the FAT32 format. FAT32 does not support Tab matching but
needs to be entered completely if used, and is not applicable to a flash card.
Description
Use format to format a storage medium.
CAUTION:
Formatting a storage medium results in loss of all the files on the storage medium and these files cannot
•
be restored. In particular, if there is a startup configuration file on a storage medium, formatting the
storage medium results in loss of the startup configuration file.
•
To format a storage medium, format each partition of the storage medium. For example, to format a CF
card that has been partitioned, you need to format each partition, instead of formatting the CF card.
Examples
# Format the flash.
<Sysname> format flash:
All data on flash: will be lost, proceed with format? [Y/N]:y
%Format flash: completed.
# Format the third partition on the CF card.
<Sysname> format cf2:
All data on cf2: will be lost, proceed with format? [Y/N]:y
%Format cf2: completed.
86