
132
Predefined user roles
network-admin
Parameters
archive-file fileurl
-
dest
: Specifies the archive file name. The suffix can be
.tar
or
.tar.gz
.
Examples
# Display the names of archived files and folders.
<Sysname> tar list archive-file a.tar.gz
a.cfg
Related commands
•
tar
create
•
tar
extract
umount
Use
umount
to unmount a hot swappable storage medium.
Syntax
umount medium-name
Default
A storage medium is automatically mounted and placed in mounted state.
Views
User view
Predefined user roles
network-admin
Parameters
medium-name
: Specifies the name of a storage medium. The value varies by device model.
Usage guidelines
Before you remove a mounted storage medium from the system, first unmount it to avoid damaging
the medium.
Before you unmount a storage medium, make sure no other users are accessing the medium.
Otherwise, the unmount operation fails.
When a storage medium is connected to a lower version system, the system might not be able to
automatically recognize the device. In this case, you must first execute the
mount
command for the
storage medium to function correctly.
To avoid file system corruption, do not perform the following tasks while the system is mounting or
unmounting a storage medium:
•
Install or remove storage media.
•
perform a master/subordinate switchover.
Examples
# Unmount a USB disk from the master.
<Sysname> umount usba0:
# Unmount a USB disk from the subordinate member with the member ID 2.
<Sysname> umount slot2#usba0: