R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
21
CAUTION:
Execution of a batch file does not
g
uarantee 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
fails to be executed, and the system skips to the next one.
Performing storage medium operations
Managing the space of a storage medium
When the space of a storage medium becomes inaccessible, you can use the fixdisk command to restore
the space of the storage medium. The format command formats the storage medium, and all the data on
the storage medium is 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
Available in user view
CAUTION:
W
hen you format a storage medium, all the files stored on it are erased and cannot be restored. If a
startup configuration file exists on the storage medium, formatting the storage medium results in loss of the
startup configuration file.
Mounting/unmounting a storage medium
For a hot swappable storage medium, such as CF card, you can use the mount and umount commands
to mount or unmount it.
• By default, a storage medium is automatically mounted when connected to the device. However,
when a storage medium is connected to a lower version system, the system cannot recognize the
storage medium. To perform read and write operations to the storage medium, you must mount it.
• An unmounted device is in the disconnected state, and can be removed safely. If you unplug a
storage medium without unmounting it, files on the storage medium or even the storage medium
may be damaged.
• An unmounted storage medium can be used only when it is mounted again.
Follow the steps below to mount or unmount a storage medium:
To do… Use the command…
Remarks
Mount a storage
medium
mount device
Optional
By default, a storage medium is automatically mounted
and in mounted state when connected to the system.