< Home

reset sd-card

Function

The reset sd-card command formats an SD card.

Format

reset sd-card

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E support this command.

The device requires that the SD card file system must be in ext4 format. Incorrect format will cause the SD card file system to fail to be mounted. You can run the display sd-card information command to check whether the SD card file system is mounted. If not, run the reset sd-card command to format the SD card.

After the SD card is formatted, all files on the SD card are lost and cannot be recovered. When the file system is well mounted, exercise caution on using this command.

Example

# Format the SD card.

<sysname> system-view
[sysname] reset sd-card
Warning: Resetting the SD card deletes the log files stored in the SD card. Are you sure to reset the SD card? [Y/N]: y
Resetting...
Info: Resetting the SD card succeeded.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >