Storage medium operations, Storage, Medium operations – H3C Technologies H3C S7500E Series Switches User Manual
Page 129: Managing the space of a storage medium
8-8
To do…
Use the command…
Remarks
Execute a batch file
execute filename
Required
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, this
command will fail to be executed, and the system will skip the command to the next one.
Storage Medium Operations
Managing the Space of a 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 [ FAT16 | FAT32 ]
Optional
FAT16 and FAT32 are not
applicable to a flash card.
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 a storage medium on the active main board (AMB), but
you cannot execute the command for a storage medium on the SMB (distributed device).