The fixdisk command restores a storage device in which the file system fails to run properly.
Usage Scenario
In a stack system, devicename can be set as follows:
For example, slot2#flash: indicates the flash memory in slot 2.
If the file system does not run properly, the system prompts you to restore it. You can run the fixdisk command to attempt to restore the file system. You can run the fixdisk command to release the space whose usage status is unknown from the storage device.
You can run the dir command to display information about a specified file or directory on the storage device. If the command output contains unknown, for example, 30,000 KB total (672 KB free, 25,560 KB used, 3,616 KB unknown), you can run the fixdisk command to release the space whose usage status is unknown.
Precautions
The fixdisk command is not recommended when the system works properly. This command cannot rectify device-level faults.
If you are still prompted to restore the storage device after running the fixdisk command, the physical medium may have been damaged.
Running the fixdisk command to restore a flash memory requires high CPU usage. Therefore, do not run this command when the CPU usage in the system is high.