H3C LS-3100-52P-OVS-H3 Operation Manual - page 1632
1-6
Execution of a batch file does not guarantee the successful execution of every command in the batch
file. If a command has error settings or the conditions for executing the command are not satisfied, the
system will skip the command to the next one.
Storage Medium Operations
Managing space of the storage medium
When some space of a storage medium becomes inaccessible due to abnormal operations for example,
you can use the fixdisk command to restore the space of the storage medium. The execution of the
format command will format the storage medium, and all the data on the storage medium will be
deleted.
Use the following commands to manage the storage medium space:
To do…
Use the command…
Remarks
Restore the space of a storage
medium
fixdisk device
Optional
Available in user view
Format a storage medium
format device
Optional
Available in user view
z
When you format a storage medium, all the files stored on it are erased and cannot be restored. In
particular, if there is a startup configuration file on the storage medium, formatting the storage
medium results in loss of the startup configuration file.
z
You can execute the fixdisk command for the storage medium on the master, but you cannot
execute the command for a storage medium on the slave.
Setting File System Prompt Modes
The file system provides the following two prompt modes:
z
alert: In this mode, the system warns you about operations that may bring undesirable
consequences such as file corruption or data loss.
z
quiet: In this mode, the system does not prompt confirmation for any operation.