R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

103
Parameters
device: Name of a storage medium, for example, cfa0.
Usage guidelines
This command applies only when the device is in mounted state.
When mounting or unmounting a storage medium, or performing file operations on it, do not unplug or
switchover the storage medium or the card where the storage medium resides. Otherwise, the file system
could be damaged.
When a storage medium is connected to a lower version system, the system might not be able to
recognize the device automatically, and you must use the mount command for the storage medium to
function correctly.
Before removing a mounted storage medium from the system, unmount it to avoid damaging the storage
medium.
Examples
# On the 6602/HSR6602 router, unmount a CF card.
<Sysname> umount cfa0:
% Umount cfa0: successfully.
%Apr 23 01:49:20:929 2008 Sysname VFS/5/LOG:
cfa0: umounted from slot 0.
# On the 6604/6608/6616 router, unmount a CF card of the active MPU.
<Sysname> umount cfa0:
% Umount cfa0: successfully.
%Apr 23 01:49:20:929 2008 Sysname VFS/5/LOG:
cfa0: umounted from slot 0.
# On the 6604/6608/6616 router, unmount a CF card of the standby MPU (in slot 1).
<Sysname> umount slot1#cfa0:
% Umount slot1#cfa0: successfully.
%Apr 23 01:49:20:929 2008 Sysname VFS/5/LOG:
cfa0: umounted from slot 1.
Related commands
mount
undelete
Use undelete to restore a file from the recycle bin.
Syntax
undelete file-url
Views
User view
Default command level
3: Manage level
Parameters
file-url: Name of the file to be restored.