< Home

fixdisk

Function

The fixdisk command fixes the abnormal file system in the storage; however, whether the file system can be restored successfully is not ensured.

Format

fixdisk device-name

Parameters

Parameter Description Value

device-name

Specifies the device name.

hda1:, usb0: or usb1:

Views

User view

Default Level

3: Management level

Usage Guidelines

Modifying the file system may damage files on the storage device or deletes damaged files. Therefore, exercise caution before performing the action.

This command is used to rectify problems. If no problem has occurred in the system, running this command is not recommended. Note that this command cannot rectify device-level problems.

When the ENTEXT_1.3.6.1.4.1.2011.5.25.31.1.1.25.1 HDA1ERROR alarm is generated, you need to run this command. Repairing the hda1: will cause the device to be restarted.

Example

# Repair storage media hda1: of the USG6000E
<sysname> fixdisk hda1:
Info: You are advised to back up key data before repairing the file system in the hda1 directory. 
The file system will be repaired after the device reboot. The process takes a comparatively long time, 
and do not interrupt it. The device will reboot. Continue? [Y/N]Y
Info: The device will reboot, and the file system will be repaired.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >