R3303-HP HSR6800 Routers Fundamentals Configuration Guide
100
Task Command
Remove a directory. rmdir directory
Managing storage media
Storage media management includes space assignment, storage medium mounting, and storage
medium unmounting.
Managing storage medium space
CAUTION:
A
fter a storage medium is formatted, all files 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.
If part of a storage medium is inaccessible, use the fixdisk command to examine the medium for any
damage and repair the medium.
To manage the space of a storage medium, perform one of the following tasks in user view:
Task Command Remarks
Repair a storage medium. fixdisk device N/A
Format a storage medium. format device [ FAT16 | FAT32 ]
FAT16 and FAT32 are not
applicable to the Flash memory.
Mounting and unmounting a storage medium
You can use the mount or umount command to mount or unmount a hot-swappable storage medium,
such as a CF card.
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 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 itself might be
damaged.
An unmounted storage medium can be used only when it is mounted again.
Restrictions and guidelines
To avoid file system corruption, do not plug in or unplug storage media or perform active/standby
switchover while the system is mounting or unmounting the storage media.
Before removing a mounted storage medium from the system, unmount it to avoid damaging the storage
medium.