< Home

format ssd

Function

The format ssd command formats the SSD card.

Format

format ssd [ slot slot-id ]

Only the S5730-HI, S5731-H, S5731-S, S5731S-H, and S5731S-S supports this command.

Parameters

Parameter Description Value
slot slot-id Specifies the slot ID. The value depends on the device configuration.

Views

User view

Default Level

3: Management level

Usage Guidelines

Application Scenario

When the file system fault cannot be rectified or all data on the SSD card is unnecessary, the SSD card can be formatted. When this command is run, all files and directories are cleared from the SSD card.

Configuration Impact

If the SSD card contains the configuration file and software package required for the next startup, do not format the card because formatting the SSD card will cause all data on the card to be cleared. As a result, the configuration file for the next startup is deleted, and configurations are lost after the device is restarted; the software package for the next startup is deleted, and the device cannot be started.

Precautions

After this command is run, all files and directories are cleared from the SSD card and cannot be restored. Therefore, exercise caution when running this command.

If the SSD card is still unavailable after this command is run, a physical exception may have occurred.

Example

# Format the SSD card.

<HUAWEI> format ssd
Warning: The format requires a long time. All data on SSD will be lost, proceed 
with format, Continue? [Y/N]:y
Info: Operating, please wait for a moment.......................................
....                                                                            
Info: Succeed in formating the SSD.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >