Memory space management, File system prompt mode setting, File system operations example – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 524: 4 file system operations example, File system operations

Advertising
background image

56-4

Currently, the storage device on an H3C WX6103 access controller switch interface board is the Flash
only, which is named flash:.

Memory space management

You can use the fixdisk command to restore the space of a storage device or the format command to
format a specified storage device as shown in the following table:

To do…

Use the command…

Remarks

Restore the space of a storage
device

fixdisk device

Optional
Available in user view

Format a storage device

format

device

Optional
Available in user view

You may use the two commands when some space of a storage device becomes inaccessible due to
abnormal operations for example.

When you format a storage device, all the files stored on it are erased and cannot be restored. In
particular, if there is a startup configuration file on the storage device, formatting the storage device
results in loss of the startup configuration file.

File System Prompt Mode Setting

The file system provides the following two prompt modes:

z

alert

: where the system warns you about operations that may bring undesirable consequence such

as file corruption or data loss.

z

quiet

: where the system does not do that in any cases.

To prevent undesirable consequence resulted from misoperations, the alert mode is preferred.

To do…

Use the command…

Remarks

Enter system view

system-view

Set the operation prompt mode of
the file system

file prompt

{ alert | quiet }

Optional
The default is alert.

File System Operations Example

# Display the files and the subdirectory under the current directory.

<Sysname> dir

Advertising